Article | Proceedings of the 10<sup>th</sup> International Modelica Conference; March 10-12; 2014; Lund; Sweden | MoUnit -- A Framework for Automatic Modelica Model Testing Link�ping University Electronic Press Conference Proceedings
Göm menyn

Title:
MoUnit -- A Framework for Automatic Modelica Model Testing
Author:
Roland Samlaus: Fraunhofer IWES, Turbine Simulation, Software Development, and Aerodynamics, Germany Mareike Strach: Fraunhofer IWES, Turbine Simulation, Software Development, and Aerodynamics, Germany Claudio Hillmann: Fraunhofer IWES, Turbine Simulation, Software Development, and Aerodynamics, Germany Peter Fritzson: Department of Computer and Information Science, Linköping University, Sweden
DOI:
10.3384/ecp14096549
Download:
Full text (pdf)
Year:
2014
Conference:
Proceedings of the 10th International Modelica Conference; March 10-12; 2014; Lund; Sweden
Issue:
096
Article no.:
058
Pages:
549-556
No. of pages:
8
Publication type:
Abstract and Fulltext
Published:
2014-03-10
ISBN:
978-91-7519-380-9
Series:
Linköping Electronic Conference Proceedings
ISSN (print):
1650-3686
ISSN (online):
1650-3740
Publisher:
Linköping University Electronic Press; Linköpings universitet


Export in BibTex, RIS or text

A vital part in development of physical models; i.e.; mathematical models of physical system behavior; is testing whether the simulation results match the developer’s expectations and physical laws. Creation and automatic execution of tests need to be easy to be accepted by the user. Currently; testing is mostly performed manually by regression testing and investigation of result plots. Furthermore; comparisons between different tools can be cumbersome due to different output formats. In this paper; the test framework MoUnit is introduced for automatic testing of Modelica models through unit testing. MoUnit allows comparison of Modelica simulation results with reference data; where both reference data and simulation results can originate from different simulation tools and/or Modelica compilers. The presented test framework MoUnit brings the widespread approach of unit testing from software development into practice also for physical modeling. The testing strategy that is used within the Modelica IDE OneModelica from which the requirements for MoUnit arose; is introduced using an example of linear water wave models. The implementation and features of MoUnit are described and its flexibility is exhibited through two test cases. It is outlined; how MoUnit is integrated into OneModelica and how the tests can be automated within continuous build environments.

Keywords: MoUnit; OneModelica; Modelica; test framework; automatic testing; verification

Proceedings of the 10th International Modelica Conference; March 10-12; 2014; Lund; Sweden

Author:
Roland Samlaus, Mareike Strach, Claudio Hillmann, Peter Fritzson
Title:
MoUnit -- A Framework for Automatic Modelica Model Testing
DOI:
http://dx.doi.org/10.3384/ecp14096549
References:

[1] Höger C. Modelica on the Java Virtual Machine. In: Proceedings of the 5th International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools, April 19 2013, University of Nottingham, Nottingham, UK.

[2] Samlaus R, Hillmann C, Demuth B, Krebs M. Towards a Model Driven Modelica IDE. In: Proceedings of the 8th International Modelica Conference 2011, Dresden, Germany, Modelica Association, 20-22 March 2011.

[3] Köhnlein J., Efftinge S.,Xtext 2.1 Documentation, Itemis GmbH, October 31, 2011.

[4] Budinsky F, Brodsky S. A., Merks E. Eclipse Modeling Framework, Pearson Education, 2003.

[5] Clayberg E, Rubel D. Eclipse Plug-ins, Addison Wesley Professional, 2009.

[6] McAffer J, van der Lei P, Archer S. OSGi and Equinox: Creating Highly Modular Java Systems, Addison-Wesley Professional, 2010.

[7] Faltinsen O M. Sea loads on ships and offshore structures, Cambridge University Press, 1990.

[8] Chakrabarti S K. Ocean Environment. In: Chakrabarti S K (ed.), Handbook of Offshore Engineering, Elsevier, 2005.

[9] Eckel B., Thinking in Java, Prentice Hall, 978-0-13-187248-6, 2006.

Proceedings of the 10th International Modelica Conference; March 10-12; 2014; Lund; Sweden

Author:
Roland Samlaus, Mareike Strach, Claudio Hillmann, Peter Fritzson
Title:
MoUnit -- A Framework for Automatic Modelica Model Testing
DOI:
http://dx.doi.org/10.3384/ecp14096549
Note: the following are taken directly from CrossRef
Citations:
No citations available at the moment


Responsible for this page: Peter Berkesand
Last updated: 2018-9-11