<mujoco>
  <custom>
    <numeric name="duration" data="2.0"/>
  </custom>

  <option>
    <flag sleep="enable"/>
  </option>

  <worldbody>
    <light pos="0 -1 3"/>
    <geom type="plane" size="1 1 .01"/>

    <replicate count="3" offset="0 0 .18" euler="0 0 20">
      <body name="asleep_init" pos="0 0 .08" sleep="init">
        <freejoint/>
        <geom type="box" size=".1 .1 .1"/>
      </body>
    </replicate>

    <!-- the free objects above are marked as sleep="init", but they are touching this object which
         is awake so sleep initialization should fail -->
    <body pos="0 0 .6" euler="10 20 30">
      <freejoint/>
      <geom type="box" size=".1 .1 .1"/>
    </body>
  </worldbody>
</mujoco>
