Simulation-based Testing of Simulink Models with Test Sequence and Test Assessment Blocks

Federico Formica, Tony Fan, Akshay Rajhans, Vera Pantelic, Mark Lawford +1 more
12/22/2022
cs.SE

Official code: Hecate-SBST/Hecate (3 stars, MATLAB, MIT, last commit 2026-08-26).

Abstract

Simulation-based software testing supports engineers in finding faults in Simulink models. It typically relies on search algorithms that iteratively generate test inputs used to exercise models in simulation to detect design errors.

Show full abstract

While simulation-based software testing techniques are effective in many practical scenarios, they are typically not fully integrated within the Simulink environment and require additional manual effort. Many techniques require engineers to specify requirements using logical languages that are neither intuitive nor fully supported by Simulink, thereby limiting their adoption in industry. This work presents HECATE, a testing approach for Simulink models using Test Sequence and Test Assessment blocks from Simulink Test. Unlike existing testing techniques, HECATE uses information from Simulink models to guide the search-based exploration. Specifically, HECATE relies on information provided by the Test Sequence and Test Assessment blocks to guide the search procedure. Across a benchmark of 16 Simulink models from different domains and industries, our comparison of HECATE with the state-of-the-art testing tool S-TALIRO indicates that HECATE is both more effective (more failure-revealing test cases) and efficient (less iterations and computational time) than S-TALIRO for ~94% and ~81% of benchmark models respectively. Furthermore, HECATE successfully generated a failure-revealing test case for a representative case study from the automotive domain demonstrating its practical usefulness.

View on arXivView PDF

Code Implementations(1)

Hecate-SBST/HecateOfficial100%
MIT
33MATLABDec 21, 20223 months agoMIT

Similar Papers

Cite this paper

@article{formica2022simulationbased,
  title  = {Simulation-based Testing of Simulink Models with Test Sequence and Test Assessment Blocks},
  author = {Federico Formica and Tony Fan and Akshay Rajhans and Vera Pantelic and Mark Lawford and Claudio Menghi},
  year   = {2022},
  eprint = {2212.11589},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.11589}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2212.11589.svg)](https://codeofpaper.com/paper/2212.11589)

Discussion