Given a rotating masses system with lagrangian
$$ L = \frac 12 J_1\omega_1^2+\frac 12 J_2\omega_2^2 -\frac 12 C(\theta_1-\theta_2)^2 $$
where $\omega_i = \dot\theta_i$ assuming the constraint $\omega_1 = A(t)\omega_2$. What is the nature of this constraint? If holonomic it can be integrated into the lagrangian as $L_{\lambda}=L+\lambda(\omega_1-A(t)\omega_2)$ but I am not quite sure about it's nature. Any help will be appreciated.