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.LinearColdWater.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.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.233/2.233, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004942/0.0004943, allocations: 16 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3653, allocations: 54.86 MB / 369.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.136/1.501, allocations: 370 MB / 0.722 GB, free: 112.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/1.502, allocations: 73.27 kB / 0.7221 GB, free: 112.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06603/1.568, allocations: 18.84 MB / 0.7405 GB, free: 97.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.064e-06/1.568, allocations: 0 / 0.7405 GB, free: 97.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.396e-05/1.568, allocations: 4 kB / 0.7405 GB, free: 97.14 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.001266/1.569, allocations: 0.5731 MB / 0.741 GB, free: 96.54 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/1.569, allocations: 8.031 kB / 0.741 GB, free: 96.53 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.959e-05/1.569, allocations: 61.17 kB / 0.7411 GB, free: 96.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/1.57, allocations: 27.67 kB / 0.7411 GB, free: 96.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/1.57, allocations: 226.1 kB / 0.7413 GB, free: 96.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001537/1.57, allocations: 127 kB / 0.7415 GB, free: 96.05 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.257e-05/1.57, allocations: 27.8 kB / 0.7415 GB, free: 96.04 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006773/1.571, allocations: 329.9 kB / 0.7418 GB, free: 95.76 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/1.571, allocations: 0 / 0.7418 GB, free: 95.76 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.778e-05/1.571, allocations: 11.56 kB / 0.7418 GB, free: 95.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.556e-05/1.571, allocations: 11.95 kB / 0.7418 GB, free: 95.74 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009495/1.572, allocations: 0.7294 MB / 0.7425 GB, free: 95.13 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/1.573, allocations: 1.23 MB / 0.7437 GB, free: 93.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004077/1.574, allocations: 155.5 kB / 0.7439 GB, free: 93.84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00268/1.576, allocations: 2.788 MB / 0.7466 GB, free: 90.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/1.576, allocations: 38.56 kB / 0.7466 GB, free: 90.61 MB / 490.7 MB Notification: Performance of pre-optimization done (n=13): time 2.164e-06/1.576, allocations: 0 / 0.7466 GB, free: 90.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003787/1.577, allocations: 132.9 kB / 0.7468 GB, free: 90.49 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/1.577, allocations: 51.41 kB / 0.7468 GB, free: 90.43 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/1.577, allocations: 188.7 kB / 0.747 GB, free: 90.26 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/1.577, allocations: 25.7 kB / 0.747 GB, free: 90.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/1.577, allocations: 288.5 kB / 0.7473 GB, free: 89.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/1.577, allocations: 51.06 kB / 0.7473 GB, free: 89.92 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.601e-05/1.577, allocations: 3.75 kB / 0.7474 GB, free: 89.92 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.668e-05/1.577, allocations: 330.5 kB / 0.7477 GB, free: 89.59 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/1.577, allocations: 48.22 kB / 0.7477 GB, free: 89.55 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/1.578, allocations: 327.2 kB / 0.748 GB, free: 89.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/1.578, allocations: 99.03 kB / 0.7481 GB, free: 89.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/1.578, allocations: 4 kB / 0.7481 GB, free: 89.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000683/1.579, allocations: 375.2 kB / 0.7485 GB, free: 88.72 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/1.579, allocations: 19.94 kB / 0.7485 GB, free: 88.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/1.579, allocations: 8.906 kB / 0.7485 GB, free: 88.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/1.579, allocations: 16 kB / 0.7485 GB, free: 88.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000433/1.579, allocations: 99.45 kB / 0.7486 GB, free: 88.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/1.579, allocations: 19.94 kB / 0.7486 GB, free: 88.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000355/1.58, allocations: 54.69 kB / 0.7487 GB, free: 88.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.924e-05/1.58, allocations: 31.36 kB / 0.7487 GB, free: 88.49 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.0001274/1.58, allocations: 155.5 kB / 0.7489 GB, free: 88.34 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.205e-05/1.58, allocations: 15.81 kB / 0.7489 GB, free: 88.32 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004302/1.58, allocations: 170.5 kB / 0.749 GB, free: 88.16 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.291e-05/1.58, allocations: 0 / 0.749 GB, free: 88.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/1.58, allocations: 0 / 0.749 GB, free: 88.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/1.58, allocations: 3.938 kB / 0.749 GB, free: 88.16 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005337/1.581, allocations: 436.4 kB / 0.7495 GB, free: 87.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/1.581, allocations: 4 kB / 0.7495 GB, free: 87.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/1.581, allocations: 20.11 kB / 0.7495 GB, free: 87.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/1.581, allocations: 0 / 0.7495 GB, free: 87.68 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/1.581, allocations: 4 kB / 0.7495 GB, free: 87.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/1.581, allocations: 0 / 0.7495 GB, free: 87.68 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.581, allocations: 4 kB / 0.7495 GB, free: 87.67 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/1.581, allocations: 259.5 kB / 0.7497 GB, free: 87.38 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.337e-05/1.581, allocations: 112 kB / 0.7499 GB, free: 87.26 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.965e-05/1.581, allocations: 192 / 0.7499 GB, free: 87.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/1.582, allocations: 15.94 kB / 0.7499 GB, free: 87.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.592e-05/1.582, allocations: 19.25 kB / 0.7499 GB, free: 87.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/1.582, allocations: 7.984 kB / 0.7499 GB, free: 87.22 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001339/1.582, allocations: 146.3 kB / 0.75 GB, free: 87.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.582, allocations: 0 / 0.75 GB, free: 87.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007044/1.583, allocations: 102.4 kB / 0.7501 GB, free: 87.01 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.0005809/1.583, allocations: 1.12 MB / 0.7512 GB, free: 85.85 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000361/1.584, allocations: 173.7 kB / 0.7514 GB, free: 85.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.584, allocations: 4.812 kB / 0.7514 GB, free: 85.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.076e-05/1.584, allocations: 31.61 kB / 0.7514 GB, free: 85.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004693/1.584, allocations: 38.72 kB / 0.7515 GB, free: 85.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01777/1.602, allocations: 12.69 MB / 0.7639 GB, free: 73.82 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001976/1.602, allocations: 0.7287 MB / 0.7646 GB, free: 73.07 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/1.602, allocations: 61.47 kB / 0.7646 GB, free: 73.04 MB / 490.7 MB Notification: Performance of SimCode: time 1.152e-06/1.602, allocations: 4 kB / 0.7646 GB, free: 73.03 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.376/3.978, allocations: 4.023 MB / 0.7686 GB, free: 69.03 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat does not exist to compare? outputFormat=mat