A nonlinear mechanical system, whose dynamics is described by a vector ordinary differential equation of the Lienard type, considered. It assumed that coefficients can switch from one set constant values to another, and total number these sets is, in general, infinite. Thus, piecewise functions with infinite break points on entire time axis, are used equation. method for constructing discontinu...