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/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.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.434/2.434, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.628e-05/4.647e-05, allocations: 11.98 kB / 309.8 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3948, allocations: 54.84 MB / 364.6 MB, free: 5.453 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7272/1.122, allocations: 294.9 MB / 0.6441 GB, free: 36.61 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/1.122, allocations: 79.25 kB / 0.6442 GB, free: 36.57 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0742/1.197, allocations: 20.14 MB / 0.6638 GB, free: 20.06 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.754e-06/1.197, allocations: 0 / 0.6638 GB, free: 20.06 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.765e-05/1.197, allocations: 4 kB / 0.6638 GB, free: 20.06 MB / 458.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.001552/1.198, allocations: 0.5554 MB / 0.6644 GB, free: 19.48 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.275e-05/1.198, allocations: 16.03 kB / 0.6644 GB, free: 19.46 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.037e-05/1.198, allocations: 56.61 kB / 0.6644 GB, free: 19.41 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002699/1.199, allocations: 31.17 kB / 0.6645 GB, free: 19.38 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/1.199, allocations: 225.8 kB / 0.6647 GB, free: 19.13 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002209/1.199, allocations: 126.4 kB / 0.6648 GB, free: 18.99 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.153e-05/1.199, allocations: 22.94 kB / 0.6648 GB, free: 18.98 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008293/1.2, allocations: 313.9 kB / 0.6651 GB, free: 18.71 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/1.2, allocations: 7.922 kB / 0.6651 GB, free: 18.71 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.908e-05/1.2, allocations: 11.12 kB / 0.6652 GB, free: 18.7 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-05/1.201, allocations: 11.95 kB / 0.6652 GB, free: 18.69 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001523/1.202, allocations: 0.7267 MB / 0.6659 GB, free: 18.08 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002115/1.204, allocations: 1.166 MB / 0.667 GB, free: 16.98 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005782/1.205, allocations: 158.7 kB / 0.6672 GB, free: 16.85 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/1.205, allocations: 61.98 kB / 0.6672 GB, free: 16.8 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003562/1.209, allocations: 2.889 MB / 0.67 GB, free: 13.52 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/1.209, allocations: 38.56 kB / 0.6701 GB, free: 13.47 MB / 458.7 MB Notification: Performance of pre-optimization done (n=15): time 3.206e-06/1.209, allocations: 0 / 0.6701 GB, free: 13.47 MB / 458.7 MB Notification: Performance of matching and sorting (n=16): time 0.001045/1.21, allocations: 210.9 kB / 0.6703 GB, free: 13.28 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/1.21, allocations: 51.41 kB / 0.6703 GB, free: 13.22 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/1.21, allocations: 180.6 kB / 0.6705 GB, free: 13.05 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/1.21, allocations: 29.39 kB / 0.6705 GB, free: 13.02 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/1.21, allocations: 276.3 kB / 0.6708 GB, free: 12.76 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.43e-05/1.21, allocations: 54.64 kB / 0.6708 GB, free: 12.71 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/1.21, allocations: 11 kB / 0.6709 GB, free: 12.71 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.288e-05/1.211, allocations: 329.7 kB / 0.6712 GB, free: 12.38 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/1.211, allocations: 47.44 kB / 0.6712 GB, free: 12.34 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003365/1.211, allocations: 304.6 kB / 0.6715 GB, free: 11.95 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/1.211, allocations: 97.94 kB / 0.6716 GB, free: 11.86 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/1.211, allocations: 8 kB / 0.6716 GB, free: 11.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001028/1.212, allocations: 366.1 kB / 0.672 GB, free: 11.54 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/1.212, allocations: 12.92 kB / 0.672 GB, free: 11.53 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/1.213, allocations: 11.94 kB / 0.672 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.251e-05/1.213, allocations: 20 kB / 0.672 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008974/1.213, allocations: 111.1 kB / 0.6721 GB, free: 11.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.028e-05/1.214, allocations: 15.94 kB / 0.6721 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006447/1.214, allocations: 23.17 kB / 0.6721 GB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.359e-05/1.214, allocations: 23.94 kB / 0.6722 GB, free: 11.34 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 0.0001421/1.214, allocations: 135 kB / 0.6723 GB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/1.215, allocations: 19.81 kB / 0.6723 GB, free: 11.19 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007456/1.215, allocations: 189.3 kB / 0.6725 GB, free: 11.03 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.965e-05/1.215, allocations: 7.922 kB / 0.6725 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.215, allocations: 0 / 0.6725 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/1.215, allocations: 0 / 0.6725 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009535/1.216, allocations: 453.8 kB / 0.6729 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/1.216, allocations: 4 kB / 0.6729 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004488/1.217, allocations: 40.03 kB / 0.673 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/1.217, allocations: 0 / 0.673 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/1.217, allocations: 3.688 kB / 0.673 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/1.217, allocations: 4 kB / 0.673 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/1.217, allocations: 0 / 0.673 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004062/1.217, allocations: 258.5 kB / 0.6732 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/1.218, allocations: 115.7 kB / 0.6733 GB, free: 10.12 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.249e-05/1.218, allocations: 7.672 kB / 0.6733 GB, free: 10.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005228/1.218, allocations: 7.984 kB / 0.6734 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/1.218, allocations: 11.98 kB / 0.6734 GB, free: 10.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.726e-05/1.218, allocations: 7.875 kB / 0.6734 GB, free: 10.09 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001884/1.219, allocations: 143.8 kB / 0.6735 GB, free: 9.969 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.61e-07/1.219, allocations: 4 kB / 0.6735 GB, free: 9.965 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001146/1.22, allocations: 106.7 kB / 0.6736 GB, free: 9.871 MB / 458.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 (15): * Single equations (assignments): 14 * 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.0009286/1.221, allocations: 1.007 MB / 0.6746 GB, free: 8.852 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005404/1.221, allocations: 175 kB / 0.6748 GB, free: 8.703 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.221, allocations: 0 / 0.6748 GB, free: 8.703 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/1.221, allocations: 38.94 kB / 0.6748 GB, free: 8.672 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007831/1.222, allocations: 64.83 kB / 0.6749 GB, free: 8.613 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02332/1.245, allocations: 5.525 MB / 0.6803 GB, free: 4.262 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/1.246, allocations: 0.7327 MB / 0.681 GB, free: 3.496 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002142/1.246, allocations: 72.22 kB / 0.681 GB, free: 3.457 MB / 458.7 MB Notification: Performance of SimCode: time 1.262e-06/1.246, allocations: 4 kB / 0.681 GB, free: 3.453 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.643/3.889, allocations: 4.365 MB / 0.6853 GB, free: 15.1 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