https://www.mdu.se/

mdu.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Let's read the log: root cause analysis of railway test execution logs with large language models
Mälardalen University, Faculty of Engineering and Health Sciences, Department of Computer Science & Engineering.
Mälardalen University, Faculty of Engineering and Health Sciences, Department of Computer Science & Engineering.ORCID iD: 0000-0002-8027-0611
Mälardalen University, Faculty of Engineering and Health Sciences, Department of Computer Science & Engineering.ORCID iD: 0000-0003-2416-4205
Mälardalen University, Faculty of Engineering and Health Sciences, Department of Computer Science & Engineering.ORCID iD: 0000-0003-0611-2655
Show others and affiliations
2026 (English)In: Innovations in Systems and Software Engineering, ISSN 1614-5046, E-ISSN 1614-5054, Vol. 22, no 2, article id 33Article in journal (Refereed) Published
Abstract [en]

Software quality assurance is pivotal in safety-critical domains such as railway systems, where failures could have catastrophic consequences. In this context, the train control and management system, which enables communication and control across multiple subsystems (such as doors and information panels) within a modern train, and its software must undergo rigorous validation. Alstom Rail Sweden AB employs a digital twin infrastructure to simulate and validate train control and management system software. While this setup improves system-level testing, root-cause analysis of test failures remains a manual, time-consuming bottleneck. In this study, we explore the potential of large language models to automate root cause analysis by interpreting test execution logs generated during digital twin-based testing. We benchmark nine state-of-the-art large language models: Aion-1.0, DeepSeek R1, DeepSeek V3 0324, Mistral Small 3.1 24B, GPT o3-mini, Gemini 2.5 Pro Experimental, QwQ 32B, Gemini 2.0 Flash Experimental, and Amazon Nova 2 Lite using zero-shot chain-of-thought prompting to assess their ability to reason about fault patterns in real-world industrial test execution logs. The logs were sourced from Alstom's digital twin-based testing environment and captured complex operational behaviour typical of embedded, safety-critical systems. Our results showed that long-context LLMs tended to achieve higher accuracy than smaller models. Gemini 2.5 Pro Experimental achieved the best performance with 66.7% accuracy and produced coherent step-by-step explanations. However, coherent reasoning did not consistently translate into correct root-cause identification, suggesting that LLMs are currently better suited to support human-in-the-loop root cause analysis than to fully automate it, and motivating further work to improve prediction accuracy for log-based RCA.

Place, publisher, year, edition, pages
Springer Nature , 2026. Vol. 22, no 2, article id 33
Keywords [en]
Root cause analysis, Log analysis, Test log analysis, LLM
National Category
Computer Systems
Identifiers
URN: urn:nbn:se:mdh:diva-78916DOI: 10.1007/s11334-026-00657-1ISI: 001862226400001Scopus ID: 2-s2.0-105048829703OAI: oai:DiVA.org:mdh-78916DiVA, id: diva2:2098667
Available from: 2026-09-04 Created: 2026-09-04 Last updated: 2026-11-06Bibliographically approved

Open Access in DiVA

fulltext(832 kB)1 downloads
File information
File name FULLTEXT01.pdfFile size 832 kBChecksum SHA-512
065034e67c5ee3011268b7dff443173b27dc6829b094729d3f052363e6ee719b90d57edcd58ccb7b300dfcbc7e056eaf5ff1783a5ed9db542be5d1023a5cac78
Type fulltextMimetype application/pdf

Other links

Publisher's full textScopus

Authority records

Hermawan, RahmanuBucaioni, AlessioEnoiu, Eduard PaulAfzal, Wasif

Search in DiVA

By author/editor
Hermawan, RahmanuBucaioni, AlessioEnoiu, Eduard PaulAfzal, Wasif
By organisation
Department of Computer Science & Engineering
In the same journal
Innovations in Systems and Software Engineering
Computer Systems

Search outside of DiVA

GoogleGoogle Scholar
Total: 1 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

doi
urn-nbn

Altmetric score

doi
urn-nbn
Total: 157 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf