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.ConstantPropertyLiquidWater.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.386/2.386, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.667e-05/2.666e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4032, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.074/1.477, allocations: 294.3 MB / 0.6371 GB, free: 131.1 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/1.478, allocations: 71.36 kB / 0.6372 GB, free: 131.1 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06944/1.547, allocations: 20.02 MB / 0.6567 GB, free: 129.4 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.803e-06/1.547, allocations: 0 / 0.6567 GB, free: 129.4 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.411e-05/1.547, allocations: 0 / 0.6567 GB, free: 129.4 MB / 474.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.001151/1.548, allocations: 0.5629 MB / 0.6573 GB, free: 129 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/1.549, allocations: 11.72 kB / 0.6573 GB, free: 129 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/1.549, allocations: 31.39 kB / 0.6573 GB, free: 128.9 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/1.549, allocations: 227.8 kB / 0.6575 GB, free: 128.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001601/1.549, allocations: 118.8 kB / 0.6576 GB, free: 128.6 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/1.549, allocations: 15.59 kB / 0.6576 GB, free: 128.6 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001033/1.55, allocations: 0.7131 MB / 0.6583 GB, free: 128.6 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004657/1.551, allocations: 287.7 kB / 0.6586 GB, free: 128.5 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/1.551, allocations: 0 / 0.6586 GB, free: 128.5 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.485e-05/1.551, allocations: 3.812 kB / 0.6586 GB, free: 128.5 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.685e-05/1.551, allocations: 7.766 kB / 0.6586 GB, free: 128.5 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002966/1.554, allocations: 3.179 MB / 0.6617 GB, free: 125.4 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/1.554, allocations: 56.45 kB / 0.6618 GB, free: 125.3 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.014e-05/1.554, allocations: 20.2 kB / 0.6618 GB, free: 125.3 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001578/1.554, allocations: 173.3 kB / 0.662 GB, free: 125.1 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/1.554, allocations: 30.56 kB / 0.662 GB, free: 125.1 MB / 474.7 MB Notification: Performance of pre-optimization done (n=8): time 2.956e-06/1.554, allocations: 0 / 0.662 GB, free: 125.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007014/1.555, allocations: 156.8 kB / 0.6621 GB, free: 125 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/1.555, allocations: 59.31 kB / 0.6622 GB, free: 125 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/1.555, allocations: 197.3 kB / 0.6624 GB, free: 124.9 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/1.555, allocations: 29.67 kB / 0.6624 GB, free: 124.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/1.555, allocations: 288.9 kB / 0.6627 GB, free: 124.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/1.555, allocations: 41.06 kB / 0.6627 GB, free: 124.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.439e-05/1.555, allocations: 0 / 0.6627 GB, free: 124.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.786e-05/1.556, allocations: 325.3 kB / 0.663 GB, free: 124.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.786e-05/1.556, allocations: 37.89 kB / 0.6631 GB, free: 124.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/1.556, allocations: 304.9 kB / 0.6634 GB, free: 123.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004175/1.556, allocations: 108.7 kB / 0.6635 GB, free: 123.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/1.556, allocations: 3.906 kB / 0.6635 GB, free: 123.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008357/1.557, allocations: 320.6 kB / 0.6638 GB, free: 123.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/1.557, allocations: 11.84 kB / 0.6638 GB, free: 123.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/1.557, allocations: 11.66 kB / 0.6638 GB, free: 123.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.824e-05/1.557, allocations: 11.75 kB / 0.6638 GB, free: 123.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005801/1.558, allocations: 107.8 kB / 0.6639 GB, free: 123.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.372e-05/1.558, allocations: 23.45 kB / 0.6639 GB, free: 123.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004106/1.558, allocations: 11.72 kB / 0.664 GB, free: 123.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.317e-05/1.558, allocations: 26.92 kB / 0.664 GB, free: 123.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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.344e-05/1.558, allocations: 128 kB / 0.6641 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002434/1.559, allocations: 91 kB / 0.6642 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.453e-05/1.559, allocations: 19.53 kB / 0.6642 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002808/1.559, allocations: 105 kB / 0.6643 GB, free: 123.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/1.559, allocations: 7.859 kB / 0.6643 GB, free: 123.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/1.559, allocations: 0 / 0.6643 GB, free: 123.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/1.559, allocations: 0 / 0.6643 GB, free: 123.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005444/1.56, allocations: 383.2 kB / 0.6647 GB, free: 123.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.56, allocations: 4.125 kB / 0.6647 GB, free: 123.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/1.56, allocations: 19.05 kB / 0.6647 GB, free: 123.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/1.56, allocations: 7.859 kB / 0.6647 GB, free: 123.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/1.56, allocations: 0 / 0.6647 GB, free: 123.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/1.56, allocations: 0 / 0.6647 GB, free: 123.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.56, allocations: 3.906 kB / 0.6647 GB, free: 123.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/1.56, allocations: 221.1 kB / 0.6649 GB, free: 123 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.76e-05/1.56, allocations: 110.1 kB / 0.665 GB, free: 122.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.395e-05/1.56, allocations: 0 / 0.665 GB, free: 122.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003175/1.561, allocations: 15.2 kB / 0.665 GB, free: 122.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.239e-05/1.561, allocations: 7.562 kB / 0.665 GB, free: 122.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/1.561, allocations: 11.2 kB / 0.6651 GB, free: 122.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001114/1.561, allocations: 136 kB / 0.6652 GB, free: 122.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.561, allocations: 0 / 0.6652 GB, free: 122.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006803/1.562, allocations: 93.12 kB / 0.6653 GB, free: 122.8 MB / 474.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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.0006482/1.562, allocations: 0.963 MB / 0.6662 GB, free: 121.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002986/1.563, allocations: 145.2 kB / 0.6664 GB, free: 121.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/1.563, allocations: 0 / 0.6664 GB, free: 121.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.304e-05/1.563, allocations: 21.41 kB / 0.6664 GB, free: 121.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/1.563, allocations: 27.94 kB / 0.6664 GB, free: 121.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008202/1.564, allocations: 283.8 kB / 0.6667 GB, free: 121.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/1.564, allocations: 0.7235 MB / 0.6674 GB, free: 121 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/1.564, allocations: 65.66 kB / 0.6674 GB, free: 121 MB / 474.7 MB Notification: Performance of SimCode: time 1.042e-06/1.564, allocations: 0 / 0.6674 GB, free: 121 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.591/4.156, allocations: 4.206 MB / 0.6716 GB, free: 120.5 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat