Publication | Open Access
A Case in Point: Verification and Testing of a EULYNX Interface
15
Citations
14
References
2022
Year
EngineeringHardware Verification LanguageElectronic Design AutomationVerificationSoftware SystemsComputer ArchitectureCommunication InterfaceSoftware EngineeringSystem-level DesignInterface (Computing)Software AnalysisFormal VerificationModel-based TestingHardware SecurityMechanical VerificationEulynx InterfaceSystems EngineeringRailway DomainSemi-formal VerificationFormal SpecificationSystem TestingComputer EngineeringComputer ScienceMcrl2 ModelSoftware TestingFormal MethodsCase StudySystem SoftwareSystem Specification
We present a case study on the application of formal methods in the railway domain. The case study is part of the FormaSig project, which aims to support the development of EULYNX — a European standard defining generic interfaces for railway equipment — using formal methods. We translate the semi-formal SysML models created within EULYNX to formal mCRL2 models. By adopting a model-centric approach in which a formal model is used both for analyzing the quality of the EULYNX specification and for automated compliance testing, a high degree of traceability is achieved. The target of our case study is the EULYNX Point subsystem interface. We present a detailed catalog of the safety requirements, and provide counterexamples that show that some of them do not hold without specific fairness assumptions. We also use the mCRL2 model to generate both random and guided tests, which we apply to a third-party software simulator. We share metrics on the coverage and execution time of the tests, which show that guided testing outperforms random testing. The test results indicate several discrepancies between the model and the simulator. One of these discrepancies is caused by a fault in the simulator, the others are caused by false positives, i.e. an over-approximation of fail verdicts by our test setup.
| Year | Citations | |
|---|---|---|
Page 1
Page 1