  Debugging Cyber-Physical System (CPS) models can be extremely complex.
Indeed, only the detection of a failure is insuffcient to know how to correct a
faulty model. Faults can propagate in time and in space producing observable
misbehaviours in locations completely different from the location of the fault.
Understanding the reason of an observed failure is typically a challenging and
laborious task left to the experience and domain knowledge of the designer. \n
In this paper, we propose CPSDebug, a novel approach that by combining testing,
specification mining, and failure analysis, can automatically explain failures
in Simulink/Stateflow models. We evaluate CPSDebug on two case studies,
involving two use scenarios and several classes of faults, demonstrating the
potential value of our approach.
