Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.223/2.223, allocations: 194.9 MB / 211.1 MB, free: 7.594 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003715, allocations: 15.98 kB / 264.1 MB, free: 2.504 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3106, allocations: 44.5 MB / 308.6 MB, free: 12.55 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6465/0.9571, allocations: 261 MB / 0.5562 GB, free: 4.797 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003325/0.9576, allocations: 81.58 kB / 0.5563 GB, free: 4.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5325/1.49, allocations: 84.43 MB / 0.6387 GB, free: 94.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.724e-06/1.49, allocations: 0 / 0.6387 GB, free: 94.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.952e-05/1.49, allocations: 12 kB / 0.6388 GB, free: 94.45 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008502/1.491, allocations: 0.5388 MB / 0.6393 GB, free: 93.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/1.491, allocations: 8.031 kB / 0.6393 GB, free: 93.86 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.623e-05/1.491, allocations: 66.53 kB / 0.6393 GB, free: 93.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003211/1.492, allocations: 39.61 kB / 0.6394 GB, free: 93.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004023/1.492, allocations: 282.8 kB / 0.6397 GB, free: 93.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/1.492, allocations: 20.56 kB / 0.6397 GB, free: 93.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.525e-05/1.492, allocations: 24 kB / 0.6397 GB, free: 93.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000609/1.493, allocations: 309.4 kB / 0.64 GB, free: 93.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/1.493, allocations: 8 kB / 0.64 GB, free: 93.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.011e-05/1.493, allocations: 12 kB / 0.64 GB, free: 93.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/1.493, allocations: 4 kB / 0.64 GB, free: 93.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004316/1.493, allocations: 185.5 kB / 0.6402 GB, free: 92.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002106/1.495, allocations: 1.732 MB / 0.6419 GB, free: 90.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/1.496, allocations: 134.6 kB / 0.642 GB, free: 90.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001485/1.496, allocations: 170.2 kB / 0.6422 GB, free: 90.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/1.496, allocations: 38.55 kB / 0.6422 GB, free: 90.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 2.374e-06/1.496, allocations: 0 / 0.6422 GB, free: 90.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.002343/1.498, allocations: 0.795 MB / 0.643 GB, free: 89.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/1.498, allocations: 55.55 kB / 0.643 GB, free: 89.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003091/1.499, allocations: 257.7 kB / 0.6433 GB, free: 89.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/1.499, allocations: 33.64 kB / 0.6433 GB, free: 89.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/1.499, allocations: 191.6 kB / 0.6435 GB, free: 89.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.629e-05/1.499, allocations: 78.84 kB / 0.6436 GB, free: 89.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.831e-05/1.499, allocations: 8 kB / 0.6436 GB, free: 89.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.584e-05/1.499, allocations: 338.8 kB / 0.6439 GB, free: 88.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/1.499, allocations: 63.97 kB / 0.644 GB, free: 88.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/1.499, allocations: 187.4 kB / 0.6441 GB, free: 88.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/1.5, allocations: 104 kB / 0.6442 GB, free: 88.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.5, allocations: 0 / 0.6442 GB, free: 88.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006436/1.5, allocations: 336.3 kB / 0.6446 GB, free: 87.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/1.5, allocations: 4 kB / 0.6446 GB, free: 87.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/1.5, allocations: 8 kB / 0.6446 GB, free: 87.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001017/1.5, allocations: 20.86 kB / 0.6446 GB, free: 87.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005081/1.501, allocations: 83.83 kB / 0.6447 GB, free: 87.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/1.502, allocations: 1.304 MB / 0.646 GB, free: 86.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003246/1.502, allocations: 16.16 kB / 0.646 GB, free: 86.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.602e-05/1.502, allocations: 20 kB / 0.646 GB, free: 86.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001822/1.503, allocations: 157.6 kB / 0.6461 GB, free: 86.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-05/1.503, allocations: 27.72 kB / 0.6462 GB, free: 86.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004427/1.503, allocations: 200.5 kB / 0.6464 GB, free: 86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/1.503, allocations: 0 / 0.6464 GB, free: 86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/1.503, allocations: 3.953 kB / 0.6464 GB, free: 86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003888/1.504, allocations: 495.2 kB / 0.6468 GB, free: 85.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/1.505, allocations: 0.7723 MB / 0.6476 GB, free: 84.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/1.505, allocations: 7.938 kB / 0.6476 GB, free: 84.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002976/1.505, allocations: 39.98 kB / 0.6476 GB, free: 84.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/1.505, allocations: 7.984 kB / 0.6476 GB, free: 84.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/1.505, allocations: 12 kB / 0.6477 GB, free: 84.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/1.505, allocations: 11.92 kB / 0.6477 GB, free: 84.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.505, allocations: 0 / 0.6477 GB, free: 84.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005727/1.506, allocations: 499.1 kB / 0.6481 GB, free: 83.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.206e-05/1.506, allocations: 108.8 kB / 0.6482 GB, free: 83.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.041e-05/1.506, allocations: 12.06 kB / 0.6483 GB, free: 83.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/1.506, allocations: 19.94 kB / 0.6483 GB, free: 83.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/1.506, allocations: 11.98 kB / 0.6483 GB, free: 83.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.533e-05/1.506, allocations: 15.98 kB / 0.6483 GB, free: 83.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000227/1.507, allocations: 202 kB / 0.6485 GB, free: 83.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.533e-06/1.507, allocations: 4 kB / 0.6485 GB, free: 83.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006244/1.507, allocations: 115.9 kB / 0.6486 GB, free: 83.39 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (volume.medium.T) * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * 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.001123/1.508, allocations: 1.779 MB / 0.6503 GB, free: 81.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005805/1.509, allocations: 303.5 kB / 0.6506 GB, free: 81.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/1.509, allocations: 4 kB / 0.6506 GB, free: 81.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001674/1.509, allocations: 73.22 kB / 0.6507 GB, free: 81.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/1.511, allocations: 161.2 kB / 0.6509 GB, free: 80.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003293/1.514, allocations: 4.31 MB / 0.6551 GB, free: 76.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/1.514, allocations: 0.7602 MB / 0.6558 GB, free: 75.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004345/1.515, allocations: 63.25 kB / 0.6559 GB, free: 75.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/1.515, allocations: 87.41 kB / 0.656 GB, free: 75.57 MB / 410.7 MB Notification: Performance of SimCode: time 1.173e-06/1.515, allocations: 0 / 0.656 GB, free: 75.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05046/1.565, allocations: 9.804 MB / 0.6655 GB, free: 65.79 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/1.566, allocations: 238.6 kB / 0.6658 GB, free: 65.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.941/4.507, allocations: 0 / 0.6658 GB, free: 65.55 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat