Experiences from Large-Scale Model Checking: Verifying a Vehicle Control System with NuSMV

Jonas Fritzsch, Tobias Schmid, Stefan Wagner

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

3 Scopus citations

Abstract

In the age of autonomously driving vehicles, functionality and complexity of embedded systems are increasing tremendously. Safety aspects become more important and require such systems to operate with the highest possible level of fault tolerance. Simulation and systematic testing techniques often reach their limits in this regard. Here, formal verification as a long established technique can be an appropriate complement. However, the necessary preparatory work like adequately modeling a system and specifying properties in temporal logic are anything but trivial. In this paper, we report on our experiences applying model checking to verify the arbitration logic of a Vehicle Control System. We balance pros and cons of different model checking techniques and tools, and reason about our choice of the symbolic model checker NuSMV. We describe the process of modeling the architecture, resulting in ∼1500 LOC, 69 state variables and 38 LTL constraints. To handle this large-scale model, we automate and optimize the model checking procedure for use on multi-core CPUs and employ Bounded Model Checking to avoid the state explosion problem. We share our lessons learned and provide valuable insights for architects, developers, and test engineers involved in this highly present topic.

Original languageEnglish
Title of host publicationProceedings - 2021 IEEE 14th International Conference on Software Testing, Verification and Validation, ICST 2021
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages372-382
Number of pages11
ISBN (Electronic)9781728168364
DOIs
StatePublished - Apr 2021
Externally publishedYes
Event14th IEEE International Conference on Software Testing, Verification and Validation, ICST 2021 - Virtual, Porto de Galinhas, Brazil
Duration: 12 Apr 202116 Apr 2021

Publication series

NameProceedings - 2021 IEEE 14th International Conference on Software Testing, Verification and Validation, ICST 2021

Conference

Conference14th IEEE International Conference on Software Testing, Verification and Validation, ICST 2021
Country/TerritoryBrazil
CityVirtual, Porto de Galinhas
Period12/04/2116/04/21

Keywords

  • Bounded Model Checking
  • Driving Automation
  • Experience Report
  • Formal Verification
  • Model Checking
  • NuSMV
  • Vehicle Control System

Fingerprint

Dive into the research topics of 'Experiences from Large-Scale Model Checking: Verifying a Vehicle Control System with NuSMV'. Together they form a unique fingerprint.

Cite this