mlsanityData to 7 Oct 2026

Multi-Agent Specification-based Metamorphic Testing of FMU-Based Simulations

arXiv 2605.25101 ↗First posted 24 May 2026cs.SE cs.AI cs.SYcited by 0

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

In many industrial domains, the Functional Mock-up Interface (FMI) is used to exchange simulation models as Functional Mock-up Units (FMUs) across different partners using various modelling tools. This opens up the possibilities for simulation-based verification and validation using FMUs for ensuring reliable system behaviour. However, deriving effective test oracles for these simulation models remains challenging due to the absence of explicit expected outputs. This limits the applicability of conventional testing approaches, which require access to the internal workings of the systems. Metamorphic testing (MT) addresses this limitation by leveraging metamorphic relations (MRs), but extracting such relations from specifications remains largely a manual and error-prone process. To address this challenge, we propose an LLM-powered multi-agent workflow for specification-based metamorphic testing of FMU-based simulation models. The approach takes functional and interface specifications as input and orchestrates multiple agents to extract requirements and derive MRs. These MRs are expressed using Given-When-Then patterns to structure input conditions (Given), transformations (When), and expected output behaviours (Then). These relations are then used to generate metamorphic test cases, execute simulations, and evaluate output consistency across multiple sessions. We evaluate the approach on a Lube Oil Cooling system FMU, demonstrating its ability to automatically generate meaningful MRs and corresponding test cases. Preliminary results indicate that the proposed workflow can effectively support the systematic verification and validation of dynamic simulation models by reducing manual effort and improving test generation.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 5 of its 25 references that are in the map. First posted on arXiv 24 May 2026.

Builds on

5 of 25 references.

References · 5

  1. 2024Non-Determinism of "Deterministic" LLM Settingscited by 84
  2. 2020Metamorphic Testing: A New Approach for Generating Next Test Casescited by 71
  3. 2024Towards Generating Executable Metamorphic Relations Using Large Language Modelscited by 7
  4. 2023Can ChatGPT advance software testing intelligence? An experience report on metamorphic testingcited by 6
  5. 2025AutoMT: A Multi-Agent LLM Framework for Automated Metamorphic Testing of Autonomous Driving Systemscited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Multi-Agent LLM-based Metamorphic Testing for REST APIs
  2. 2025LLM Assisted Coding with Metamorphic Specification Mutation Agent
  3. 2026Bidirectional Empowerment of Metamorphic Testing and Large Language Models: A Systematic Survey
  4. 2026Model-Driven Discipline for Multi-Agent LLMs: Requirement-to-Verification Generation of Traceable System Models
  5. 2026MAS-Lab: A Specification-Driven Validation Framework for Reliable Multi-Agent Systems
  6. 2026GoGoTB: Agentic RTL Verification with Specification-Grounded Coverage Closure
  7. 2026RefEvo: Agentic Design with Co-Evolutionary Verification for Agile Reference Model Generation
  8. 2025AutoFSM: A Multi-agent Framework for FSM Code Generation with IR and SystemC-Based Testing