Synchronous systems provide a basic model of embedded systems and industrial systems are modeled as Simulink diagrams and/or Lustre programs. Although the test generation problem is critical in the development of safe systems, it often fails because of the spatial and temporal complexity of the system descriptions. This paper presents a compositional test generation method to address the complexity issue. We regard a test case as a counterexample in safety verification, and represent a test generation process as a deductive proof tree built with dedicated inference rules; we conduct both spatial- and temporal-compositional reasoning along with a modular system structure. A proof tree is generated using our semi-automated scheme involving manual effort on contract generation and automatic processes for counterexample search with SMT solvers. As case studies, the proposed method is applied to four industrial examples involving such features as enabled/triggered subsystems, multiple execution rates, filter components, and nested counters. In the experiments, we successfully generated test cases for target systems that were difficult to deal with using the existing tools.
翻译:同步系统提供了嵌入系统和工业系统的基本模型,以Simmlink图和/或Lustre程序为模型。虽然测试生成问题对安全系统的发展至关重要,但由于系统描述的空间和时间复杂性,它往往失败。本文介绍了一种组成性测试生成方法,以解决复杂问题。我们认为测试案例是安全核查的一个反例,并代表一个测试生成过程,是一种带有专门推理规则的推论;我们与模块化系统结构一起进行空间和时间组合推理。使用我们的半自动办法产生了一个证明树,涉及与SMT解答器进行合同生成和自动搜索的人工生成和自动过程。作为案例研究,拟议方法适用于四个工业实例,涉及以下特征:启用/触发子系统、多个执行率、过滤器部件和嵌套反。在实验中,我们成功地生成了难以使用现有工具处理的目标系统的测试案例。