Skip to main content

Experiments in Formal Modelling of a Deadlock Avoidance Algorithm for a CBTC System

  • Conference paper
  • First Online:
Book cover Leveraging Applications of Formal Methods, Verification and Validation: Discussion, Dissemination, Applications (ISoLA 2016)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 9953))

Included in the following conference series:

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 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. 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

  1. Accellera, Property Specification Language - Reference Manual - Version 1.01, April 2003. http://www.eda.org/vfv/docs/psllrm-1.01.pdf

  2. 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

    Google Scholar 

  3. http://fmt.isti.cnr.it/kandisti

  4. 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)

    Article  MATH  Google Scholar 

  5. UMC home site. http://fmt.isti.cnr.it/umc

  6. 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)

    Article  Google Scholar 

  7. 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

    Chapter  Google Scholar 

  8. 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

    Google Scholar 

  9. 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

    Chapter  Google Scholar 

  10. 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

    Chapter  Google Scholar 

  11. Holzmann, G.H.: The SPIN Model Checker. Addison-Wesley Pearson Education (2003). ISBN 0-321-22862-6

    Google Scholar 

  12. Verifying Multi-threaded Software with Spin. http://spinroot.com

  13. 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)

    Google Scholar 

  14. NuSMV: a new symbolic model checker. http://nusmv.fbk.eu/

  15. Groote, J.F., Mousavi, M.R.: Modeling and Analysis of Communicating Systems. MIT Press, Cambridge (2014). ISBN: 9780262027717

    Google Scholar 

  16. MCRL2 analysing system behavior. http://www.mcrl2.org/

  17. 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)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Alessio Ferrari .

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics