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.254/2.254, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004436/0.0004436, allocations: 15.98 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3601, allocations: 54.85 MB / 369.3 MB, free: 12.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.186/8.546, allocations: 2.909 GB / 3.269 GB, free: 4.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/8.546, allocations: 81.52 kB / 3.269 GB, free: 4.453 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.354/9.9, allocations: 211.6 MB / 3.476 GB, free: 108.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.326e-06/9.9, allocations: 4.062 kB / 3.476 GB, free: 108.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.977e-05/9.9, allocations: 6.656 kB / 3.476 GB, free: 108.5 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.005558/9.906, allocations: 1.169 MB / 3.477 GB, free: 107.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/9.906, allocations: 11.44 kB / 3.477 GB, free: 107.9 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001079/9.906, allocations: 58.97 kB / 3.477 GB, free: 107.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/9.906, allocations: 28.66 kB / 3.477 GB, free: 107.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/9.906, allocations: 229.5 kB / 3.477 GB, free: 107.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001621/9.906, allocations: 128.5 kB / 3.478 GB, free: 107.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.121e-05/9.906, allocations: 19.88 kB / 3.478 GB, free: 107.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007011/9.907, allocations: 327 kB / 3.478 GB, free: 107.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/9.907, allocations: 3.469 kB / 3.478 GB, free: 107.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.929e-05/9.907, allocations: 15.38 kB / 3.478 GB, free: 107.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-05/9.907, allocations: 14.52 kB / 3.478 GB, free: 107.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/9.908, allocations: 0.7317 MB / 3.479 GB, free: 107.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/9.91, allocations: 1.22 MB / 3.48 GB, free: 106.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000426/9.911, allocations: 166.2 kB / 3.48 GB, free: 106.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003006/9.914, allocations: 2.781 MB / 3.483 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/9.914, allocations: 32.44 kB / 3.483 GB, free: 103.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=13): time 2.154e-06/9.914, allocations: 4.938 kB / 3.483 GB, free: 103.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004482/9.914, allocations: 128.7 kB / 3.483 GB, free: 103.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/9.914, allocations: 52.78 kB / 3.483 GB, free: 103.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/9.914, allocations: 198.7 kB / 3.483 GB, free: 103.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/9.914, allocations: 26.8 kB / 3.483 GB, free: 103.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/9.915, allocations: 274.9 kB / 3.483 GB, free: 103.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.325e-05/9.915, allocations: 56.48 kB / 3.483 GB, free: 103.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.12e-05/9.915, allocations: 7.5 kB / 3.483 GB, free: 103.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.27e-05/9.915, allocations: 333.8 kB / 3.484 GB, free: 103 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/9.915, allocations: 46.45 kB / 3.484 GB, free: 103 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004039/9.915, allocations: 332.1 kB / 3.484 GB, free: 102.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003241/9.916, allocations: 103.3 kB / 3.484 GB, free: 102.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.4e-05/9.916, allocations: 3.75 kB / 3.484 GB, free: 102.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001206/9.917, allocations: 375.2 kB / 3.485 GB, free: 102.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.617e-05/9.917, allocations: 9.469 kB / 3.485 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.409e-05/9.917, allocations: 11.06 kB / 3.485 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.485e-05/9.917, allocations: 11.56 kB / 3.485 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004872/9.918, allocations: 99.94 kB / 3.485 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.278e-05/9.918, allocations: 22.19 kB / 3.485 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004178/9.918, allocations: 52.27 kB / 3.485 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.199e-05/9.918, allocations: 28.64 kB / 3.485 GB, free: 102.6 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 () * 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.0001752/9.918, allocations: 156.3 kB / 3.485 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.141e-05/9.918, allocations: 25.48 kB / 3.485 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000512/9.919, allocations: 169.6 kB / 3.485 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.046e-05/9.919, allocations: 3.781 kB / 3.485 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/9.919, allocations: 0 / 3.485 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/9.919, allocations: 0 / 3.485 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006591/9.92, allocations: 432 kB / 3.486 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/9.92, allocations: 0 / 3.486 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/9.92, allocations: 18.06 kB / 3.486 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/9.92, allocations: 3.688 kB / 3.486 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/9.92, allocations: 1.625 kB / 3.486 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/9.92, allocations: 10.34 kB / 3.486 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/9.92, allocations: 0 / 3.486 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/9.92, allocations: 260.2 kB / 3.486 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/9.92, allocations: 120.3 kB / 3.486 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.464e-05/9.92, allocations: 4.516 kB / 3.486 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/9.921, allocations: 7.25 kB / 3.486 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/9.921, allocations: 14.27 kB / 3.486 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/9.921, allocations: 3.969 kB / 3.486 GB, free: 101.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00015/9.921, allocations: 153.7 kB / 3.486 GB, free: 101.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.01e-07/9.921, allocations: 0 / 3.486 GB, free: 101.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008747/9.922, allocations: 113 kB / 3.486 GB, free: 101.6 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 () * 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.0008816/9.923, allocations: 1.256 MB / 3.488 GB, free: 100.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004275/9.923, allocations: 165.8 kB / 3.488 GB, free: 100.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/9.923, allocations: 0 / 3.488 GB, free: 100.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.266e-05/9.923, allocations: 33.28 kB / 3.488 GB, free: 100.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000537/9.924, allocations: 39 kB / 3.488 GB, free: 100.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3399/10.26, allocations: 106.1 MB / 3.591 GB, free: 68.49 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/10.26, allocations: 0.7333 MB / 3.592 GB, free: 67.75 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/10.26, allocations: 62.8 kB / 3.592 GB, free: 67.7 MB / 490.7 MB Notification: Performance of SimCode: time 1.142e-06/10.26, allocations: 0 / 3.592 GB, free: 67.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.51/12.77, allocations: 4.904 MB / 3.597 GB, free: 64.88 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