Abstract
This paper presents a set of experiments in formal modelling and verification of a deadlock avoidance algorithm of an Automatic Train Supervision System (ATS). The algorithm is modelled and verified using four formal environment, namely UMC, Promela/SPIN, NuSMV, and mCRL2. The experience gained in this multiple modelling/verification experiments is described. We show that the algorithm design, structured as a set of concurrent activities cooperating through a shared memory, can be replicated in all the formal frameworks taken into consideration with relative effort. In addition, we highlight specific peculiarities of the various tools and languages, which emerged along our experience.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
All the verification experiments have been conducted on a Mac Pro (late 2013) workstation with Quad-core 3,7Ghz Intel Xeon E5, 64 GB RAM running OS X 10.11 (El Capitan). All the models referred in this paper can be retrieved from the URL http://fmt.isti.cnr.it/WEBPAPER/ISOLA2016data.zip.
- 2.
Each configuration corresponding to a point in Fig. 3, with associated verification time, is available at http://fmt.isti.cnr.it/WEBPAPER/ISOLA2016data.zip.
References
Accellera, Property Specification Language - Reference Manual - Version 1.01, April 2003. http://www.eda.org/vfv/docs/psllrm-1.01.pdf
ter Beek, M.H., Gnesi, S., Mazzanti, F.: From EU projects to a family of model checkers. In: Nicola, R., Hennicker, R. (eds.) Software, Services, and Systems. LNCS, vol. 8950, pp. 312–328. Springer, Heidelberg (2015). doi:10.1007/978-3-319-15545-6_20
ter Beek, M.H., Fantechi, A., Gnesi, S., Mazzanti, F.: A state/event-based model-checking approach for the analysis of abstract system properties. Sci. Comput. Program. 76(2), 119–135 (2011)
UMC home site. http://fmt.isti.cnr.it/umc
Fantechi, A., Gnesi, S., Lapadula, A., Mazzanti, F., Pugliese, R., Tiezzi, F.: A logical verification methodology for service-oriented computing. ACM Trans. Softw. Eng. Methodol. 21(3), 16:01–16:46 (2012)
Gnesi, S., Mazzanti, F.: An abstract, on the fly framework for the verification of service-oriented systems. In: Wirsing, M., Hölzl, M. (eds.) SENSORIA Project. LNCS, vol. 6582, pp. 390–407. Springer, Heidelberg (2011). doi:10.1007/978-3-642-20401-2_18
Mazzanti, F., Spagnolo, G.O., Della Longa, S., Ferrari, A.: Deadlock avoidance in train scheduling: a model checking approach. In: Lang, F., Flammini, F. (eds.) FMICS 2014. LNCS, vol. 8718, pp. 109–123. Springer, Heidelberg (2014). doi:10.1007/978-3-319-10702-8_8
Mazzanti, F., Spagnolo, G.O., Ferrari, A.: Designing a deadlock-free train scheduler: a model checking approach. In: Badger, J.M., Rozier, K.Y. (eds.) NFM 2014. LNCS, vol. 8430, pp. 264–269. Springer, Heidelberg (2014). doi:10.1007/978-3-319-06200-6_22
Mazzanti, F.: An experience in ada multicore programming: parallelisation of a model checking engine. In: Bertogna, M., Pinho, L.M., Quiñones, E. (eds.) Ada-Europe 2016. LNCS, vol. 9695, pp. 94–109. Springer, Heidelberg (2016). doi:10.1007/978-3-319-39083-3_7
Holzmann, G.H.: The SPIN Model Checker. Addison-Wesley Pearson Education (2003). ISBN 0-321-22862-6
Verifying Multi-threaded Software with Spin. http://spinroot.com
Cimatti, A., Clarke, E., Giunchiglia, E., Giunchiglia, F., Pistore, M., Roveri, M., Sebastiani, R., Tacchella, A.: NuSMV 2: an opensource tool for symbolic model checking. In: Proceedings of Computer Aided Verification (CAV 2002) (2002)
NuSMV: a new symbolic model checker. http://nusmv.fbk.eu/
Groote, J.F., Mousavi, M.R.: Modeling and Analysis of Communicating Systems. MIT Press, Cambridge (2014). ISBN: 9780262027717
MCRL2 analysing system behavior. http://www.mcrl2.org/
Ferrari, A., Spagnolo, G.O., Martelli, G., Menabeni, S.: From commercial documents to system requirements: an approach for the engineering of novel CBTC solutions. STTT 16(6), 647–667 (2014)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2016 Springer International Publishing AG
About this paper
Cite this paper
Mazzanti, F., Ferrari, A., Spagnolo, G.O. (2016). Experiments in Formal Modelling of a Deadlock Avoidance Algorithm for a CBTC System. In: Margaria, T., Steffen, B. (eds) Leveraging Applications of Formal Methods, Verification and Validation: Discussion, Dissemination, Applications. ISoLA 2016. Lecture Notes in Computer Science(), vol 9953. Springer, Cham. https://doi.org/10.1007/978-3-319-47169-3_22
Download citation
DOI: https://doi.org/10.1007/978-3-319-47169-3_22
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-47168-6
Online ISBN: 978-3-319-47169-3
eBook Packages: Computer ScienceComputer Science (R0)