Spring-Rod system identification via differentiable physics engine