Vibrations of the elasto-plastic pendulum