Trajectory sensitivity analysis of hybrid systems with sliding motion. (August 2022)