Multi-Requirement Testing Using Focused Falsification
Paper i proceeding, 2022

Testing of Cyber-Physical Systems (CPS) deals with the problem of finding input traces to the systems such that given requirements do not hold. Requirements can be formalized in many different ways; in this work requirements are modeled using Signal Temporal Logic (STL) for which a quantitative measure, or \emph{robustness value}, can be computed given a requirement together with input and output traces. This value is a measure of how far away the requirement is from not holding and is used to guide falsification procedures for deciding on new input traces to simulate one after the other. When the system under test has multiple requirements, standard approaches are to falsify them one-by-one, or as a conjunction of all requirements, but these approaches do not scale well for industrial-sized problems. In this work we consider testing of systems with multiple requirements by proposing focused multi-requirement falsification. This is a multi-stage approach where the solver tries to sequentially falsify the requirements one-by-one, but for every simulation also evaluate the robustness value for all requirements. After one requirement has been focused long enough, the next requirement to focus is selected by considering the robustness values and trajectory history calculated thus far. Each falsification attempt makes use of a prior sensitivity analysis, which for each requirement estimates the parameters that are unlikely to affect the robustness value, in order to reduce the number of parameters that are used by the optimization solver. The proposed approach is evaluated on a public benchmark example containing a large number of requirements, and includes a comparison of the proposed algorithm against a new suggested baseline method.


Formal Requirements




Johan Lidén Eddeland

Chalmers, Elektroteknik, System- och reglerteknik

Alexandre Donzé

Decyphir SAS

Knut Åkesson

Chalmers, Elektroteknik, System- och reglerteknik

HSCC 2022 : ACM International Conference on Hybrid Systems: Computation and Control
Online, ,

Systematisk testning av cyberfysiska system (SyTeC)

Vetenskapsrådet (VR) (2016-06204), 2017-01-01 -- 2022-12-31.

Modellbaserad Testning av Mekatroniska System (TESTRON)

VINNOVA (2015-04893), 2016-01-01 -- 2019-12-31.




Datavetenskap (datalogi)



Mer information