The RegressionTest Tool for Dymola has been developed for library developers to help them improve the quality of library releases. It provides automated routines for checking models, generating reference results and running regression tests. It is a standalone application that controls Dymola and calls functions from within a supplied Modelica library.
The tool can be run interactively using the Graphical User Interface shown above or it can be run from the command line. Using the command line option enables tests to be scheduled to run nightly in a fully automated manner. Each test that is run by the tool generates an XML report that can be loaded in to the GUI for analysis.
The test results are presented in a hierarchical view that recreates the library structure with different icons used to highlight whether a model is correct, generates warnings or fails the test. When there are warnings or models fail the tests within a package these are propagated up through the library structure so that they can be quickly identified and located within the library.
Claytex developed this tool to support the development of our Modelica libraries and it is used to automate the regression testing of all our commercial Modelica libraries and customer projects.