DyMoTest: Faster, Cleaner, and Simpler Bulk Testing for Dymola Models

Developing Modelica models is a complex and demanding process, from initial concept to full implementation. Even minor changes can introduce regressions that ripple through dependent libraries and models, making model verification a critical yet daunting task. With libraries often containing hundreds or thousands of models, manual testing quickly becomes impractical.

To address this challenge, we developed DyMoTest: a Windows application designed to automate and simplify the testing of Modelica models. By running multiple simulations in parallel and presenting results in a clear, digestible format, DyMoTest streamlines the verification process and helps developers maintain model integrity.

What is DyMoTest?

DyMoTest is a powerful bulk testing tool for Dymola models, enabling developers to:

  • Automate regression testing
  • Run multiple simulations in parallel
  • Generate detailed reports for quick analysis
  • Integrate with CI/CD pipelines for continuous testing

How DyMoTest Works

1. Generate Reference Data

Creating reference data, the baseline results used for future comparisons, is straightforward:

  • Load a Modelica Library (package.mo file)
  • Select the desired experiments
  • Click Start

DyMoTest launches multiple Dymola instances (user-defined, hardware-limited) to run simulations concurrently. Every selected model with simulation settings will be executed.

Once complete, DyMoTest generates a detailed report including:

  • Execution status (Successful, Failed, OutOfRange etc)
  • Simulation logs
  • Translation logs

2. Run Regression Tests

With reference data in place, initiate regression tests to compare current model behaviour against historical benchmarks. DyMoTest automatically:

  • Compares logs and variable data
  • Detects performance changes or failures

Highlights anomalies for quick resolution

3. Evaluate Your Report

DyMoTest’s built-in report viewer allows users to:

  • Inspect test outcomes in detail
  • Visualise model variables with plotting features
  • Identify anomalies quickly

Key Features of DyMoTest

  • Two Modes of Operation:
    • Individual: Local SQLite database for single-user workflows
    • Enterprise: MySQL support for multi-user access and collaboration
  • Version Control Integration:
    • Seamless integration with SVN
    • CLI version optimized for TeamCity
  • CI/CD Ready:
    • Automatic test execution on commit
    • Intelligent detection of modified models
  • Project Settings:
    • Manage multiple projects with separate configurations
    • Support for different Dymola versions

Why Choose DyMoTest?

  • Save Time: Parallel simulations reduce testing time significantly
  • Improve Accuracy: Automated comparisons detect regressions early
  • Scale Easily: Flexible licensing for individuals and enterprises
  • Enhance Workflow: Built for modern development practices with CI/CD support

Conclusion

As Modelica library development grows in complexity, DyMoTest provides a robust solution for automating and simplifying model testing. By enabling parallel simulations, intuitive result analysis, and seamless integration with version control and CI/CD pipelines, DyMoTest empowers developers to maintain model integrity with speed and confidence.

Ready to streamline your Modelica testing process?
Contact us today to learn more about DyMoTest and request a demo.

Written by: Tiago Ferreira – Software Developer

Please get in touch if you have any questions or have got a topic in mind that you would like us to write about. You can submit your questions / topics viaTech Blog Questions / Topic Suggestion

CONTACT US

Got a question? Just fill in this form and send it to us and we'll get back to you shortly.

Sending

© Copyright 2010-2025 Claytex Services Ltd All Rights Reserved

Log in with your credentials

Forgot your details?