What is happening?
The double pendulum is a nonlinear system. Gravity and the coupling between the two arms transfer energy continuously; tiny changes in initial conditions can produce very different trajectories. The model integrates the coupled equations of motion with damping.