Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.881/1.881, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003563, allocations: 8 kB / 264 MB, free: 13.46 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1172, allocations: 44.51 MB / 308.6 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.058/1.175, allocations: 362.6 MB / 0.6554 GB, free: 18.48 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003292/1.176, allocations: 86.14 kB / 0.6555 GB, free: 18.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5388/1.714, allocations: 81.3 MB / 0.7349 GB, free: 114.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.497e-06/1.714, allocations: 0 / 0.7349 GB, free: 114.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.283e-05/1.715, allocations: 19.94 kB / 0.7349 GB, free: 114.3 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.001268/1.716, allocations: 0.6245 MB / 0.7355 GB, free: 113.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/1.716, allocations: 12.03 kB / 0.7355 GB, free: 113.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/1.716, allocations: 62.53 kB / 0.7356 GB, free: 113.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003296/1.716, allocations: 47.61 kB / 0.7357 GB, free: 113.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/1.717, allocations: 270.5 kB / 0.7359 GB, free: 113.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/1.717, allocations: 20.56 kB / 0.7359 GB, free: 113.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.726e-05/1.717, allocations: 24 kB / 0.736 GB, free: 113.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006167/1.717, allocations: 291.7 kB / 0.7362 GB, free: 112.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/1.717, allocations: 12 kB / 0.7362 GB, free: 112.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.714e-05/1.718, allocations: 8 kB / 0.7363 GB, free: 112.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/1.718, allocations: 7.984 kB / 0.7363 GB, free: 112.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004647/1.718, allocations: 201.5 kB / 0.7365 GB, free: 112.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002044/1.72, allocations: 1.436 MB / 0.7379 GB, free: 111.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004148/1.721, allocations: 171.2 kB / 0.738 GB, free: 110.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.929e-05/1.721, allocations: 4.188 kB / 0.738 GB, free: 110.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/1.721, allocations: 30.75 kB / 0.738 GB, free: 110.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 2.785e-06/1.721, allocations: 4 kB / 0.7381 GB, free: 110.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.004501/1.725, allocations: 1.006 MB / 0.739 GB, free: 109.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/1.725, allocations: 63.34 kB / 0.7391 GB, free: 109.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/1.726, allocations: 233.6 kB / 0.7393 GB, free: 109.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/1.726, allocations: 29.7 kB / 0.7393 GB, free: 109.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.717e-05/1.726, allocations: 238.6 kB / 0.7396 GB, free: 109.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.518e-05/1.726, allocations: 94.64 kB / 0.7397 GB, free: 109.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/1.726, allocations: 4 kB / 0.7397 GB, free: 109.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.866e-05/1.726, allocations: 326.8 kB / 0.74 GB, free: 108.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/1.726, allocations: 87.95 kB / 0.7401 GB, free: 108.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/1.726, allocations: 175.1 kB / 0.7402 GB, free: 108.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/1.727, allocations: 108 kB / 0.7403 GB, free: 108.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.727, allocations: 4 kB / 0.7403 GB, free: 108.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009676/1.728, allocations: 370.8 kB / 0.7407 GB, free: 108 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/1.728, allocations: 4.625 kB / 0.7407 GB, free: 108 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/1.728, allocations: 8 kB / 0.7407 GB, free: 108 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003874/1.728, allocations: 69.98 kB / 0.7408 GB, free: 107.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004841/1.729, allocations: 71.84 kB / 0.7408 GB, free: 107.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002276/1.731, allocations: 2.681 MB / 0.7435 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004426/1.731, allocations: 20 kB / 0.7435 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/1.731, allocations: 11.98 kB / 0.7435 GB, free: 104.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002131/1.732, allocations: 161.7 kB / 0.7436 GB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.365e-05/1.732, allocations: 31.62 kB / 0.7437 GB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.32e-05/1.732, allocations: 34.17 kB / 0.7437 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/1.732, allocations: 4 kB / 0.7437 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.732, allocations: 0 / 0.7437 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007507/1.733, allocations: 0.5591 MB / 0.7443 GB, free: 104 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/1.734, allocations: 0.699 MB / 0.7449 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/1.734, allocations: 3.953 kB / 0.7449 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000342/1.734, allocations: 47.92 kB / 0.745 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004255/1.735, allocations: 61.09 kB / 0.745 GB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.912e-05/1.735, allocations: 11.98 kB / 0.7451 GB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001299/1.736, allocations: 1.397 MB / 0.7464 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/1.736, allocations: 0 / 0.7464 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009537/1.737, allocations: 483.6 kB / 0.7469 GB, free: 101.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.495e-05/1.737, allocations: 100.8 kB / 0.747 GB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.799e-05/1.737, allocations: 11.94 kB / 0.747 GB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003539/1.738, allocations: 11.91 kB / 0.747 GB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.461e-05/1.738, allocations: 15.97 kB / 0.747 GB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/1.738, allocations: 15.95 kB / 0.747 GB, free: 100.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002183/1.738, allocations: 186 kB / 0.7472 GB, free: 100.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.738, allocations: 4.062 kB / 0.7472 GB, free: 100.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006329/1.739, allocations: 96 kB / 0.7473 GB, free: 100.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (24): * Single equations (assignments): 23 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001333/1.74, allocations: 1.152 MB / 0.7484 GB, free: 99.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009259/1.741, allocations: 465.1 kB / 0.7489 GB, free: 98.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.741, allocations: 0 / 0.7489 GB, free: 98.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004967/1.742, allocations: 235.4 kB / 0.7491 GB, free: 98.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/1.743, allocations: 164.1 kB / 0.7493 GB, free: 98.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003864/1.747, allocations: 3.698 MB / 0.7529 GB, free: 94.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/1.747, allocations: 0.7723 MB / 0.7536 GB, free: 93.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002354/1.747, allocations: 87.41 kB / 0.7537 GB, free: 93.85 MB / 410.7 MB Notification: Performance of SimCode: time 9.61e-07/1.747, allocations: 3.938 kB / 0.7537 GB, free: 93.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.829/4.577, allocations: 7.615 MB / 0.7611 GB, free: 86.22 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat