Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.668/1.668, allocations: 171.1 MB / 186.1 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003776, allocations: 11.98 kB / 233.4 MB, free: 2.273 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08762/0.08805, allocations: 38.76 MB / 272.1 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.274/1.362, allocations: 432.4 MB / 0.688 GB, free: 22.9 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/1.362, allocations: 67.97 kB / 0.688 GB, free: 22.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09988/1.462, allocations: 24.91 MB / 0.7124 GB, free: 1.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.675e-06/1.462, allocations: 0 / 0.7124 GB, free: 1.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.933e-06/1.462, allocations: 0 / 0.7124 GB, free: 1.5 MB / 362.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.001188/1.463, allocations: 439.1 kB / 0.7128 GB, free: 1.023 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/1.463, allocations: 12.03 kB / 0.7128 GB, free: 1.012 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.881e-05/1.464, allocations: 42.5 kB / 0.7128 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009811/1.473, allocations: 467.7 kB / 0.7133 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/1.473, allocations: 163.1 kB / 0.7134 GB, free: 312 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/1.474, allocations: 8 kB / 0.7134 GB, free: 304 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/1.474, allocations: 7.984 kB / 0.7134 GB, free: 296 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2289/1.703, allocations: 302.4 kB / 0.7137 GB, free: 120.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.475e-05/1.703, allocations: 3.938 kB / 0.7137 GB, free: 120.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/1.703, allocations: 4.469 kB / 0.7137 GB, free: 120.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/1.703, allocations: 1.969 kB / 0.7137 GB, free: 120.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/1.705, allocations: 271.1 kB / 0.714 GB, free: 120.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001588/1.706, allocations: 423.5 kB / 0.7144 GB, free: 120.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00194/1.708, allocations: 217.3 kB / 0.7146 GB, free: 120.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.554e-05/1.709, allocations: 5.375 kB / 0.7146 GB, free: 120.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/1.709, allocations: 39.81 kB / 0.7146 GB, free: 120.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 3.567e-06/1.709, allocations: 2.031 kB / 0.7147 GB, free: 120.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.003157/1.712, allocations: 417.2 kB / 0.715 GB, free: 120.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/1.712, allocations: 56.88 kB / 0.7151 GB, free: 120.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.442e-05/1.712, allocations: 96.16 kB / 0.7152 GB, free: 120.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.717e-05/1.712, allocations: 29.95 kB / 0.7152 GB, free: 120.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.152e-05/1.712, allocations: 92.47 kB / 0.7153 GB, free: 120.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.456e-05/1.712, allocations: 60.12 kB / 0.7154 GB, free: 120 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/1.712, allocations: 3.938 kB / 0.7154 GB, free: 120 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.433e-05/1.712, allocations: 320.1 kB / 0.7157 GB, free: 119.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004877/1.713, allocations: 77.33 kB / 0.7158 GB, free: 119.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005394/1.713, allocations: 118.4 kB / 0.7159 GB, free: 119.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005104/1.714, allocations: 90.05 kB / 0.716 GB, free: 119.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/1.714, allocations: 0 / 0.716 GB, free: 119.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001284/1.715, allocations: 243.5 kB / 0.7162 GB, free: 119.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/1.715, allocations: 6.781 kB / 0.7162 GB, free: 119.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/1.715, allocations: 1.625 kB / 0.7162 GB, free: 119.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/1.715, allocations: 4.188 kB / 0.7162 GB, free: 119.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000678/1.716, allocations: 52.28 kB / 0.7162 GB, free: 119.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/1.716, allocations: 1.375 kB / 0.7162 GB, free: 119.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004496/1.716, allocations: 17.06 kB / 0.7163 GB, free: 119.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.825e-05/1.717, allocations: 10.86 kB / 0.7163 GB, free: 119.6 MB / 362.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.0001679/1.717, allocations: 121 kB / 0.7164 GB, free: 119.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.135e-05/1.717, allocations: 14.08 kB / 0.7164 GB, free: 119.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001591/1.718, allocations: 279 kB / 0.7167 GB, free: 119.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/1.718, allocations: 2.562 kB / 0.7167 GB, free: 119.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/1.718, allocations: 0.6562 kB / 0.7167 GB, free: 119.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/1.718, allocations: 5.094 kB / 0.7167 GB, free: 119.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002115/1.721, allocations: 0.5697 MB / 0.7172 GB, free: 119.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/1.721, allocations: 1.156 kB / 0.7172 GB, free: 119.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006074/1.721, allocations: 45.3 kB / 0.7173 GB, free: 119.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.856e-06/1.721, allocations: 4.812 kB / 0.7173 GB, free: 119.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.161e-05/1.721, allocations: 8.016 kB / 0.7173 GB, free: 119.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.325e-06/1.721, allocations: 5.531 kB / 0.7173 GB, free: 119.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.696e-06/1.721, allocations: 1.375 kB / 0.7173 GB, free: 119.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/1.723, allocations: 354.8 kB / 0.7176 GB, free: 119 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.476e-05/1.723, allocations: 86.64 kB / 0.7177 GB, free: 118.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.47e-05/1.723, allocations: 9.172 kB / 0.7177 GB, free: 118.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004707/1.723, allocations: 20.44 kB / 0.7177 GB, free: 118.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/1.723, allocations: 9.984 kB / 0.7178 GB, free: 118.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.754e-05/1.723, allocations: 10.11 kB / 0.7178 GB, free: 118.9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.985e-05/1.723, allocations: 86.44 kB / 0.7178 GB, free: 118.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.723, allocations: 0.6562 kB / 0.7178 GB, free: 118.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006811/1.724, allocations: 81.19 kB / 0.7179 GB, free: 118.8 MB / 362.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.002499/1.727, allocations: 1.429 MB / 0.7193 GB, free: 117.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001242/1.728, allocations: 201.2 kB / 0.7195 GB, free: 117.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.728, allocations: 3.688 kB / 0.7195 GB, free: 117.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005196/1.729, allocations: 102.8 kB / 0.7196 GB, free: 117.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005104/1.729, allocations: 36.38 kB / 0.7196 GB, free: 117.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/1.731, allocations: 359.9 kB / 0.72 GB, free: 117.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001715/1.731, allocations: 0.6941 MB / 0.7207 GB, free: 117 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007156/1.732, allocations: 60.11 kB / 0.7207 GB, free: 117 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/1.732, allocations: 42.98 kB / 0.7208 GB, free: 117 MB / 362.7 MB Notification: Performance of SimCode: time 1.082e-06/1.732, allocations: 3.938 kB / 0.7208 GB, free: 117 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05823/1.79, allocations: 11.72 MB / 0.7322 GB, free: 116.3 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/1.79, allocations: 163 kB / 0.7324 GB, free: 116 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.226/5.016, allocations: 3.188 kB / 0.7324 GB, free: 116 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.IdealGasH2O_res.mat does not exist to compare? outputFormat=mat