Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.016/2.016, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006263/0.0006264, allocations: 16 kB / 282.7 MB, free: 9.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3684, allocations: 48.7 MB / 331.4 MB, free: 6.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.283/8.652, allocations: 2.797 GB / 3.121 GB, free: 65.29 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/8.652, allocations: 72.58 kB / 3.121 GB, free: 65.25 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.041/9.693, allocations: 206.5 MB / 3.323 GB, free: 48.52 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.855e-06/9.693, allocations: 0 / 3.323 GB, free: 48.52 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.633e-05/9.693, allocations: 4 kB / 3.323 GB, free: 48.51 MB / 442.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.005576/9.699, allocations: 1.173 MB / 3.324 GB, free: 47.29 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/9.699, allocations: 8.031 kB / 3.324 GB, free: 47.29 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001357/9.699, allocations: 62.53 kB / 3.324 GB, free: 47.21 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/9.699, allocations: 31.77 kB / 3.324 GB, free: 47.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/9.7, allocations: 222.7 kB / 3.324 GB, free: 46.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/9.7, allocations: 123.4 kB / 3.324 GB, free: 46.78 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.896e-05/9.7, allocations: 20 kB / 3.324 GB, free: 46.76 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007176/9.7, allocations: 331.6 kB / 3.325 GB, free: 46.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/9.7, allocations: 0 / 3.325 GB, free: 46.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.854e-05/9.701, allocations: 12 kB / 3.325 GB, free: 46.4 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.061e-05/9.701, allocations: 11.95 kB / 3.325 GB, free: 46.39 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/9.702, allocations: 0.7507 MB / 3.325 GB, free: 45.63 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/9.703, allocations: 1.217 MB / 3.327 GB, free: 44.33 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004243/9.704, allocations: 155.8 kB / 3.327 GB, free: 44.17 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00296/9.707, allocations: 2.789 MB / 3.329 GB, free: 40.87 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/9.707, allocations: 34.56 kB / 3.329 GB, free: 40.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 2.815e-06/9.707, allocations: 0 / 3.329 GB, free: 40.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004381/9.707, allocations: 121.4 kB / 3.33 GB, free: 40.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/9.707, allocations: 63.33 kB / 3.33 GB, free: 40.62 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/9.707, allocations: 190.1 kB / 3.33 GB, free: 40.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/9.707, allocations: 29.64 kB / 3.33 GB, free: 40.4 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/9.708, allocations: 285.2 kB / 3.33 GB, free: 40.12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.993e-05/9.708, allocations: 51.36 kB / 3.33 GB, free: 40.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.684e-05/9.708, allocations: 8 kB / 3.33 GB, free: 40.06 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.819e-05/9.708, allocations: 330.8 kB / 3.331 GB, free: 39.73 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/9.708, allocations: 40.84 kB / 3.331 GB, free: 39.68 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/9.708, allocations: 333.1 kB / 3.331 GB, free: 39.22 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/9.708, allocations: 103.8 kB / 3.331 GB, free: 39.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/9.708, allocations: 4 kB / 3.331 GB, free: 39.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007205/9.709, allocations: 377.7 kB / 3.331 GB, free: 38.74 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/9.709, allocations: 11.95 kB / 3.331 GB, free: 38.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/9.709, allocations: 16.12 kB / 3.331 GB, free: 38.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.959e-05/9.709, allocations: 12 kB / 3.331 GB, free: 38.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004542/9.71, allocations: 103.8 kB / 3.331 GB, free: 38.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.029e-05/9.71, allocations: 15.94 kB / 3.331 GB, free: 38.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003763/9.71, allocations: 47.53 kB / 3.332 GB, free: 38.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.12e-05/9.71, allocations: 31.98 kB / 3.332 GB, free: 38.5 MB / 442.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 () * Number of clocked 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 0.0001514/9.71, allocations: 149.5 kB / 3.332 GB, free: 38.35 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.806e-05/9.71, allocations: 23.72 kB / 3.332 GB, free: 38.32 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004759/9.711, allocations: 177.5 kB / 3.332 GB, free: 38.13 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.36e-05/9.711, allocations: 0 / 3.332 GB, free: 38.13 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/9.711, allocations: 4 kB / 3.332 GB, free: 38.12 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/9.711, allocations: 0 / 3.332 GB, free: 38.12 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005823/9.712, allocations: 425.8 kB / 3.332 GB, free: 37.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/9.712, allocations: 4.031 kB / 3.332 GB, free: 37.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/9.712, allocations: 15.98 kB / 3.332 GB, free: 37.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/9.712, allocations: 4 kB / 3.332 GB, free: 37.62 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/9.712, allocations: 8.062 kB / 3.332 GB, free: 37.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/9.712, allocations: 4 kB / 3.332 GB, free: 37.61 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/9.712, allocations: 0 / 3.332 GB, free: 37.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/9.712, allocations: 261.5 kB / 3.333 GB, free: 37.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.886e-05/9.712, allocations: 112.9 kB / 3.333 GB, free: 37.17 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.177e-05/9.712, allocations: 7.938 kB / 3.333 GB, free: 37.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000243/9.712, allocations: 15.94 kB / 3.333 GB, free: 37.14 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.39e-05/9.712, allocations: 15.88 kB / 3.333 GB, free: 37.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/9.712, allocations: 4 kB / 3.333 GB, free: 37.12 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001424/9.713, allocations: 148.5 kB / 3.333 GB, free: 36.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.81e-07/9.713, allocations: 0 / 3.333 GB, free: 36.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008639/9.714, allocations: 123.9 kB / 3.333 GB, free: 36.86 MB / 442.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 () * Number of clocked 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.0008472/9.714, allocations: 1.232 MB / 3.334 GB, free: 35.57 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004201/9.715, allocations: 173.4 kB / 3.334 GB, free: 35.41 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/9.715, allocations: 0 / 3.334 GB, free: 35.41 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.127e-05/9.715, allocations: 28.86 kB / 3.334 GB, free: 35.38 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004976/9.715, allocations: 48.42 kB / 3.334 GB, free: 35.33 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6388/10.35, allocations: 101.3 MB / 3.433 GB, free: 59.02 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/10.35, allocations: 0.7306 MB / 3.434 GB, free: 58.33 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/10.35, allocations: 59.98 kB / 3.434 GB, free: 58.32 MB / 442.7 MB Notification: Performance of SimCode: time 1.603e-06/10.35, allocations: 0 / 3.434 GB, free: 58.32 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.488/12.84, allocations: 4.923 MB / 3.439 GB, free: 57.94 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat does not exist to compare? outputFormat=mat