Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01109/0.0111, allocations: 107.5 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001211/0.001211, allocations: 181.8 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.86/1.86, allocations: 194.5 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2562/0.2562, allocations: 40.04 MB / 296.5 MB, free: 6.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007092/0.0007094, allocations: 12 kB / 361.1 MB, free: 9.512 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1105, allocations: 54.89 MB / 416 MB, free: 2.527 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03908/0.1496, allocations: 25.24 MB / 441.3 MB, free: 9.215 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3195/0.4692, allocations: 13.16 MB / 454.4 MB, free: 32.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004157/0.4696, allocations: 15 kB / 454.5 MB, free: 32.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007604/0.4704, allocations: 177.8 kB / 454.6 MB, free: 32.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000636/0.4711, allocations: 217.8 kB / 454.8 MB, free: 32.17 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01693/0.488, allocations: 4.358 MB / 459.2 MB, free: 32.13 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001103/0.4892, allocations: 490 kB / 459.7 MB, free: 32.13 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003999/0.4896, allocations: 180.5 kB / 459.9 MB, free: 32.13 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02326/0.5129, allocations: 8.853 MB / 468.7 MB, free: 32.01 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004098/0.5133, allocations: 157.9 kB / 468.9 MB, free: 32.01 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.359e-05/0.5134, allocations: 12.06 kB / 468.9 MB, free: 32.01 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01443/0.5278, allocations: 5.922 MB / 474.8 MB, free: 32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.5281, allocations: 63.53 kB / 474.9 MB, free: 32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001965/0.5283, allocations: 91.98 kB / 474.9 MB, free: 31.96 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006217/0.5345, allocations: 2.451 MB / 477.4 MB, free: 31.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.5345, allocations: 0 / 477.4 MB, free: 31.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5346, allocations: 1.281 kB / 477.4 MB, free: 31.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.5346, allocations: 0 / 477.4 MB, free: 31.88 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.003778/0.5384, allocations: 0.9336 MB / 478.3 MB, free: 31.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.5384, allocations: 8.75 kB / 478.3 MB, free: 31.27 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001079/0.5386, allocations: 64.33 kB / 478.4 MB, free: 31.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/0.5398, allocations: 113.6 kB / 478.5 MB, free: 31.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000593/0.5404, allocations: 336.2 kB / 478.8 MB, free: 31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-05/0.5405, allocations: 28.19 kB / 478.9 MB, free: 30.99 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.584e-05/0.5406, allocations: 28.98 kB / 478.9 MB, free: 30.99 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.5422, allocations: 458.5 kB / 479.3 MB, free: 30.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.5423, allocations: 3 kB / 479.3 MB, free: 30.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.211e-05/0.5423, allocations: 15.38 kB / 479.4 MB, free: 30.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.5423, allocations: 5.281 kB / 479.4 MB, free: 30.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/0.5441, allocations: 389.4 kB / 479.7 MB, free: 30.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003454/0.5476, allocations: 2.29 MB / 482 MB, free: 29.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.5491, allocations: 277.8 kB / 482.3 MB, free: 29.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005394/0.5497, allocations: 491.1 kB / 482.8 MB, free: 28.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.5498, allocations: 35.12 kB / 482.8 MB, free: 28.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.414e-06/0.5498, allocations: 0 / 482.8 MB, free: 28.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.002397/0.5522, allocations: 462.5 kB / 483.3 MB, free: 28.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.5523, allocations: 107.3 kB / 483.4 MB, free: 28.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004235/0.5527, allocations: 277.3 kB / 483.7 MB, free: 28.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.5527, allocations: 30.42 kB / 483.7 MB, free: 28.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.5529, allocations: 215.7 kB / 483.9 MB, free: 28.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.445e-05/0.553, allocations: 38.78 kB / 483.9 MB, free: 28.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.964e-05/0.553, allocations: 7.781 kB / 483.9 MB, free: 28.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.325e-05/0.5531, allocations: 342.7 kB / 484.3 MB, free: 27.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004047/0.5535, allocations: 86.23 kB / 484.4 MB, free: 27.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004816/0.554, allocations: 236.2 kB / 484.6 MB, free: 27.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004637/0.5545, allocations: 119.9 kB / 484.7 MB, free: 27.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.5545, allocations: 1.688 kB / 484.7 MB, free: 27.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001168/0.5557, allocations: 344.9 kB / 485 MB, free: 27.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.5557, allocations: 7.031 kB / 485 MB, free: 27.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.5557, allocations: 3.656 kB / 485.1 MB, free: 27.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/0.5558, allocations: 8.203 kB / 485.1 MB, free: 27.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004777/0.5563, allocations: 74.14 kB / 485.1 MB, free: 27.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/0.5563, allocations: 10.19 kB / 485.1 MB, free: 27.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004644/0.5568, allocations: 51.16 kB / 485.2 MB, free: 27.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.134e-05/0.5568, allocations: 17.45 kB / 485.2 MB, free: 27.47 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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 prepare postOptimizeDAE: time 0.0002238/0.5571, allocations: 159.4 kB / 485.4 MB, free: 27.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.021e-05/0.5571, allocations: 34.39 kB / 485.4 MB, free: 27.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.5587, allocations: 0.7081 MB / 486.1 MB, free: 27.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.568e-05/0.5588, allocations: 5.891 kB / 486.1 MB, free: 27.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.5588, allocations: 0 / 486.1 MB, free: 27.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.5588, allocations: 2.562 kB / 486.1 MB, free: 27.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007711/0.5596, allocations: 488.6 kB / 486.6 MB, free: 27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.5596, allocations: 0 / 486.6 MB, free: 27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003416/0.5599, allocations: 56.08 kB / 486.6 MB, free: 27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.56, allocations: 0 / 486.6 MB, free: 27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.56, allocations: 4.188 kB / 486.7 MB, free: 27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.56, allocations: 0 / 486.7 MB, free: 27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.56, allocations: 3.5 kB / 486.7 MB, free: 27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009627/0.561, allocations: 463.2 kB / 487.1 MB, free: 26.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.5611, allocations: 152.1 kB / 487.3 MB, free: 26.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.725e-05/0.5612, allocations: 2.094 kB / 487.3 MB, free: 26.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003093/0.5615, allocations: 23.58 kB / 487.3 MB, free: 26.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.114e-05/0.5616, allocations: 15.27 kB / 487.3 MB, free: 26.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.5617, allocations: 5.656 kB / 487.3 MB, free: 26.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003364/0.562, allocations: 233.8 kB / 487.5 MB, free: 26.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.562, allocations: 0 / 487.5 MB, free: 26.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003998/0.566, allocations: 0.8355 MB / 488.4 MB, free: 26.51 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.007683/0.5738, allocations: 1.872 MB / 490.2 MB, free: 25.69 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.5749, allocations: 293.8 kB / 490.5 MB, free: 25.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.5749, allocations: 0 / 490.5 MB, free: 25.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004334/0.5753, allocations: 168 kB / 490.7 MB, free: 25.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.5765, allocations: 124.6 kB / 490.8 MB, free: 25.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00748/0.584, allocations: 5.178 MB / 496 MB, free: 21.81 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.5844, allocations: 0.8297 MB / 496.8 MB, free: 21.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006189/0.585, allocations: 138.4 kB / 497 MB, free: 21.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002436/0.5853, allocations: 138.1 kB / 497.1 MB, free: 21.08 MB / 378.7 MB Notification: Performance of SimCode: time 9.81e-07/0.5853, allocations: 0 / 497.1 MB, free: 21.08 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09106/0.6764, allocations: 36.78 MB / 0.5214 GB, free: 9.137 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003394/0.6768, allocations: 248.1 kB / 0.5216 GB, free: 8.887 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.163/5.84, allocations: 0 / 0.5216 GB, free: 8.887 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat does not exist to compare? outputFormat=mat