Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.236/2.236, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003843/0.0003844, allocations: 12 kB / 264 MB, free: 3.5 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3163, allocations: 44.51 MB / 308.5 MB, free: 12.79 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.44/1.756, allocations: 438.1 MB / 0.7292 GB, free: 116.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/1.756, allocations: 68.14 kB / 0.7292 GB, free: 116.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09564/1.852, allocations: 24.91 MB / 0.7535 GB, free: 112.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.006e-06/1.852, allocations: 0 / 0.7535 GB, free: 112.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.073e-06/1.852, allocations: 3.906 kB / 0.7535 GB, free: 112.7 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001193/1.853, allocations: 443.6 kB / 0.754 GB, free: 112.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/1.853, allocations: 11.75 kB / 0.754 GB, free: 112.3 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.464e-05/1.853, allocations: 46.11 kB / 0.754 GB, free: 112.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009907/1.863, allocations: 454.1 kB / 0.7545 GB, free: 112.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/1.863, allocations: 163 kB / 0.7546 GB, free: 112.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/1.863, allocations: 15.72 kB / 0.7546 GB, free: 112.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/1.864, allocations: 7.812 kB / 0.7546 GB, free: 112.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/1.865, allocations: 297.2 kB / 0.7549 GB, free: 112 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/1.865, allocations: 3.938 kB / 0.7549 GB, free: 112 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.278e-05/1.865, allocations: 7.516 kB / 0.7549 GB, free: 112 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/1.865, allocations: 3.938 kB / 0.7549 GB, free: 112 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/1.866, allocations: 269.5 kB / 0.7552 GB, free: 112 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/1.868, allocations: 423.3 kB / 0.7556 GB, free: 111.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/1.87, allocations: 219.6 kB / 0.7558 GB, free: 111.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.079e-05/1.87, allocations: 7.844 kB / 0.7558 GB, free: 111.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/1.87, allocations: 30.56 kB / 0.7558 GB, free: 111.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 2.735e-06/1.87, allocations: 0 / 0.7558 GB, free: 111.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.003061/1.873, allocations: 422.2 kB / 0.7562 GB, free: 111.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/1.873, allocations: 63.33 kB / 0.7563 GB, free: 111.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.084e-05/1.873, allocations: 92.52 kB / 0.7564 GB, free: 111.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.5e-05/1.873, allocations: 29.27 kB / 0.7564 GB, free: 111.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.194e-05/1.873, allocations: 95.27 kB / 0.7565 GB, free: 111.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.259e-05/1.873, allocations: 57.92 kB / 0.7566 GB, free: 111.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/1.873, allocations: 3.969 kB / 0.7566 GB, free: 111.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.514e-05/1.874, allocations: 318.1 kB / 0.7569 GB, free: 111 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000459/1.874, allocations: 83.55 kB / 0.757 GB, free: 111 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004883/1.874, allocations: 118.5 kB / 0.7571 GB, free: 110.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005079/1.875, allocations: 84.66 kB / 0.7571 GB, free: 110.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.875, allocations: 0 / 0.7571 GB, free: 110.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001132/1.876, allocations: 239.8 kB / 0.7574 GB, free: 110.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/1.876, allocations: 7.938 kB / 0.7574 GB, free: 110.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/1.876, allocations: 3.812 kB / 0.7574 GB, free: 110.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/1.876, allocations: 4 kB / 0.7574 GB, free: 110.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006604/1.877, allocations: 56.47 kB / 0.7574 GB, free: 110.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/1.877, allocations: 0 / 0.7574 GB, free: 110.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004285/1.877, allocations: 15.55 kB / 0.7575 GB, free: 110.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.644e-05/1.877, allocations: 18.81 kB / 0.7575 GB, free: 110.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001379/1.878, allocations: 125 kB / 0.7576 GB, free: 110.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.243e-05/1.878, allocations: 7.781 kB / 0.7576 GB, free: 110.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/1.879, allocations: 275.3 kB / 0.7579 GB, free: 110.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/1.879, allocations: 3.75 kB / 0.7579 GB, free: 110.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.879, allocations: 0 / 0.7579 GB, free: 110.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/1.879, allocations: 3.797 kB / 0.7579 GB, free: 110.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002721/1.882, allocations: 0.5707 MB / 0.7584 GB, free: 110.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/1.882, allocations: 3.875 kB / 0.7584 GB, free: 110.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/1.883, allocations: 46.55 kB / 0.7585 GB, free: 110.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001061/1.884, allocations: 0 / 0.7585 GB, free: 110.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004928/1.885, allocations: 15.86 kB / 0.7585 GB, free: 110.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/1.885, allocations: 0 / 0.7585 GB, free: 110.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.885, allocations: 7.812 kB / 0.7585 GB, free: 110.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/1.886, allocations: 350.5 kB / 0.7588 GB, free: 110.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.669e-05/1.887, allocations: 84.97 kB / 0.7589 GB, free: 110 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.108e-05/1.887, allocations: 0 / 0.7589 GB, free: 110 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007204/1.887, allocations: 19.36 kB / 0.7589 GB, free: 110 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.815e-05/1.888, allocations: 11.48 kB / 0.7589 GB, free: 110 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.964e-05/1.888, allocations: 18.73 kB / 0.759 GB, free: 110 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.836e-05/1.888, allocations: 82.91 kB / 0.759 GB, free: 109.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.32e-07/1.888, allocations: 0 / 0.759 GB, free: 109.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001462/1.889, allocations: 79.42 kB / 0.7591 GB, free: 109.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003873/1.893, allocations: 1.435 MB / 0.7605 GB, free: 108.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003363/1.897, allocations: 193.1 kB / 0.7607 GB, free: 108.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/1.897, allocations: 256 / 0.7607 GB, free: 108.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005218/1.897, allocations: 110.6 kB / 0.7608 GB, free: 108.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005286/1.898, allocations: 35.17 kB / 0.7608 GB, free: 108.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/1.899, allocations: 370.1 kB / 0.7612 GB, free: 108.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005704/1.9, allocations: 0.6928 MB / 0.7619 GB, free: 107.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001244/1.901, allocations: 57.89 kB / 0.7619 GB, free: 107.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004782/1.902, allocations: 40.34 kB / 0.762 GB, free: 107.6 MB / 410.7 MB Notification: Performance of SimCode: time 2.254e-06/1.902, allocations: 0 / 0.762 GB, free: 107.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0517/1.954, allocations: 11.73 MB / 0.7734 GB, free: 98.14 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/1.954, allocations: 164 kB / 0.7736 GB, free: 97.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.965/4.919, allocations: 4 kB / 0.7736 GB, free: 97.9 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O_res.mat does not exist to compare? outputFormat=mat