Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.502/2.502, allocations: 235 MB / 248.1 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.791e-05/3.815e-05, allocations: 4 kB / 309.8 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4083, allocations: 54.85 MB / 364.6 MB, free: 5.395 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.9/9.308, allocations: 2.909 GB / 3.265 GB, free: 47.69 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/9.308, allocations: 67.66 kB / 3.265 GB, free: 47.65 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.101/10.41, allocations: 211.3 MB / 3.471 GB, free: 44.01 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.653e-06/10.41, allocations: 0 / 3.471 GB, free: 44.01 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.636e-05/10.41, allocations: 4 kB / 3.471 GB, free: 44.01 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.005693/10.42, allocations: 1.157 MB / 3.472 GB, free: 42.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/10.42, allocations: 12.03 kB / 3.472 GB, free: 42.79 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.324e-05/10.42, allocations: 54.55 kB / 3.472 GB, free: 42.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001831/10.42, allocations: 31.7 kB / 3.472 GB, free: 42.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/10.42, allocations: 222.8 kB / 3.472 GB, free: 42.44 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000164/10.42, allocations: 135.2 kB / 3.473 GB, free: 42.29 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.852e-05/10.42, allocations: 24 kB / 3.473 GB, free: 42.26 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005766/10.42, allocations: 311.7 kB / 3.473 GB, free: 41.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/10.42, allocations: 0 / 3.473 GB, free: 41.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.988e-05/10.42, allocations: 12 kB / 3.473 GB, free: 41.92 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.511e-05/10.42, allocations: 4 kB / 3.473 GB, free: 41.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009812/10.42, allocations: 0.743 MB / 3.474 GB, free: 41.17 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001609/10.42, allocations: 1.217 MB / 3.475 GB, free: 39.86 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/10.42, allocations: 155.8 kB / 3.475 GB, free: 39.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/10.42, allocations: 85.45 kB / 3.475 GB, free: 39.62 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003124/10.42, allocations: 3.036 MB / 3.478 GB, free: 36.07 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/10.42, allocations: 34.56 kB / 3.478 GB, free: 36.03 MB / 490.7 MB Notification: Performance of pre-optimization done (n=13): time 2.414e-06/10.42, allocations: 0 / 3.478 GB, free: 36.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003477/10.42, allocations: 106 kB / 3.478 GB, free: 35.92 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/10.42, allocations: 59.39 kB / 3.478 GB, free: 35.85 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/10.42, allocations: 189.9 kB / 3.478 GB, free: 35.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/10.42, allocations: 29.7 kB / 3.478 GB, free: 35.62 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/10.42, allocations: 281.3 kB / 3.479 GB, free: 35.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/10.42, allocations: 47.39 kB / 3.479 GB, free: 35.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.723e-05/10.42, allocations: 8 kB / 3.479 GB, free: 35.29 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.095e-05/10.42, allocations: 330.8 kB / 3.479 GB, free: 34.96 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/10.42, allocations: 44.86 kB / 3.479 GB, free: 34.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/10.42, allocations: 333.3 kB / 3.479 GB, free: 34.45 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/10.42, allocations: 99.83 kB / 3.48 GB, free: 34.35 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/10.42, allocations: 7.938 kB / 3.48 GB, free: 34.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000716/10.43, allocations: 369.7 kB / 3.48 GB, free: 33.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/10.43, allocations: 12 kB / 3.48 GB, free: 33.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/10.43, allocations: 11.98 kB / 3.48 GB, free: 33.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.082e-05/10.43, allocations: 16 kB / 3.48 GB, free: 33.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004509/10.43, allocations: 95.83 kB / 3.48 GB, free: 33.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.169e-05/10.43, allocations: 23.92 kB / 3.48 GB, free: 33.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003959/10.43, allocations: 47.53 kB / 3.48 GB, free: 33.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/10.43, allocations: 28 kB / 3.48 GB, free: 33.75 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * 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 9.919e-05/10.43, allocations: 140.8 kB / 3.48 GB, free: 33.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.807e-05/10.43, allocations: 23.8 kB / 3.48 GB, free: 33.58 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004448/10.43, allocations: 181.4 kB / 3.48 GB, free: 33.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/10.43, allocations: 0 / 3.48 GB, free: 33.38 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/10.43, allocations: 0 / 3.48 GB, free: 33.38 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/10.43, allocations: 0 / 3.48 GB, free: 33.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005685/10.43, allocations: 433.6 kB / 3.481 GB, free: 32.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/10.43, allocations: 4 kB / 3.481 GB, free: 32.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/10.43, allocations: 12 kB / 3.481 GB, free: 32.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/10.43, allocations: 0 / 3.481 GB, free: 32.88 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/10.43, allocations: 4 kB / 3.481 GB, free: 32.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/10.43, allocations: 3.984 kB / 3.481 GB, free: 32.87 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/10.43, allocations: 4 kB / 3.481 GB, free: 32.86 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/10.43, allocations: 261.3 kB / 3.481 GB, free: 32.56 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.145e-05/10.43, allocations: 120.8 kB / 3.481 GB, free: 32.42 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.839e-05/10.43, allocations: 7.938 kB / 3.481 GB, free: 32.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/10.43, allocations: 4 kB / 3.481 GB, free: 32.41 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.644e-05/10.43, allocations: 11.98 kB / 3.481 GB, free: 32.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/10.43, allocations: 7.984 kB / 3.481 GB, free: 32.39 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001363/10.43, allocations: 145.4 kB / 3.481 GB, free: 32.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.41e-07/10.43, allocations: 0 / 3.481 GB, free: 32.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007686/10.43, allocations: 119.9 kB / 3.482 GB, free: 32.13 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 1 * 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.0008174/10.43, allocations: 1.243 MB / 3.483 GB, free: 30.83 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003577/10.43, allocations: 161.9 kB / 3.483 GB, free: 30.68 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/10.43, allocations: 4.375 kB / 3.483 GB, free: 30.67 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.032e-05/10.43, allocations: 27.94 kB / 3.483 GB, free: 30.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004662/10.43, allocations: 40.62 kB / 3.483 GB, free: 30.61 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6799/11.11, allocations: 98.06 MB / 3.579 GB, free: 85.75 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/11.11, allocations: 0.7377 MB / 3.579 GB, free: 85.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/11.11, allocations: 67.88 kB / 3.58 GB, free: 85.04 MB / 490.7 MB Notification: Performance of SimCode: time 1.322e-06/11.11, allocations: 0 / 3.58 GB, free: 85.04 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.432/13.54, allocations: 4.911 MB / 3.584 GB, free: 84.65 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat does not exist to compare? outputFormat=mat