Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.02225/0.02225, allocations: 101.6 kB / 15.05 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.00194/0.00194, allocations: 172.8 kB / 15.94 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.617/1.617, allocations: 170.9 MB / 187.5 MB, free: 1.004 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2815/0.2815, allocations: 38.09 MB / 265.1 MB, free: 3.977 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004747/0.0004749, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1145, allocations: 48.7 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.0424/0.157, allocations: 25.07 MB / 397.4 MB, free: 3.719 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02492/0.1819, allocations: 13.05 MB / 410.4 MB, free: 6.652 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004601/0.1825, allocations: 11.88 kB / 410.4 MB, free: 6.641 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008448/0.1833, allocations: 187.1 kB / 410.6 MB, free: 6.457 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007488/0.1841, allocations: 211.4 kB / 410.8 MB, free: 6.25 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01919/0.2033, allocations: 4.313 MB / 415.1 MB, free: 1.926 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001423/0.2047, allocations: 480.3 kB / 415.6 MB, free: 1.453 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005985/0.2054, allocations: 184.9 kB / 415.8 MB, free: 1.266 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03324/0.2386, allocations: 8.744 MB / 424.5 MB, free: 8.516 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000531/0.2392, allocations: 163.3 kB / 424.7 MB, free: 8.355 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.26e-05/0.2393, allocations: 12 kB / 424.7 MB, free: 8.344 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02134/0.2607, allocations: 5.864 MB / 430.6 MB, free: 2.473 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002211/0.261, allocations: 67.73 kB / 430.6 MB, free: 2.406 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002155/0.2612, allocations: 93.52 kB / 430.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3002/0.5615, allocations: 2.429 MB / 433.1 MB, free: 24.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.5615, allocations: 2.188 kB / 433.1 MB, free: 24.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.527e-06/0.5616, allocations: 0 / 433.1 MB, free: 24.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.98e-05/0.5616, allocations: 0 / 433.1 MB, free: 24.82 MB / 330.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.003887/0.5655, allocations: 0.9316 MB / 434.1 MB, free: 24.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.5656, allocations: 12.72 kB / 434.1 MB, free: 24.22 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001562/0.5657, allocations: 62.47 kB / 434.1 MB, free: 24.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00191/0.5677, allocations: 114.1 kB / 434.3 MB, free: 24.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009582/0.5687, allocations: 333.6 kB / 434.6 MB, free: 23.94 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.809e-05/0.5688, allocations: 21.44 kB / 434.6 MB, free: 23.94 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.74e-05/0.5689, allocations: 23.88 kB / 434.6 MB, free: 23.94 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002697/0.5716, allocations: 465.5 kB / 435.1 MB, free: 23.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.5717, allocations: 4.156 kB / 435.1 MB, free: 23.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.892e-05/0.5718, allocations: 12.81 kB / 435.1 MB, free: 23.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.5718, allocations: 7.062 kB / 435.1 MB, free: 23.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002723/0.5745, allocations: 393 kB / 435.5 MB, free: 23.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004422/0.579, allocations: 2.293 MB / 437.8 MB, free: 22.05 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001961/0.581, allocations: 279.7 kB / 438.1 MB, free: 22.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006863/0.5817, allocations: 487 kB / 438.5 MB, free: 21.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.5818, allocations: 32.38 kB / 438.6 MB, free: 21.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 3.928e-06/0.5818, allocations: 5.094 kB / 438.6 MB, free: 21.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.003455/0.5853, allocations: 459.2 kB / 439 MB, free: 21.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.5854, allocations: 106.8 kB / 439.1 MB, free: 21.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005969/0.586, allocations: 276.8 kB / 439.4 MB, free: 21.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/0.586, allocations: 27.2 kB / 439.4 MB, free: 21.2 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/0.5863, allocations: 221.3 kB / 439.6 MB, free: 21.05 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.591e-05/0.5864, allocations: 44.89 kB / 439.7 MB, free: 21.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/0.5864, allocations: 11.94 kB / 439.7 MB, free: 21.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.5865, allocations: 334.1 kB / 440 MB, free: 20.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005684/0.5871, allocations: 85.5 kB / 440.1 MB, free: 20.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006795/0.5878, allocations: 231.5 kB / 440.3 MB, free: 20.53 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004838/0.5883, allocations: 121.2 kB / 440.4 MB, free: 20.52 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.5883, allocations: 2.188 kB / 440.4 MB, free: 20.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001248/0.5896, allocations: 345.4 kB / 440.8 MB, free: 20.46 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.5897, allocations: 7.188 kB / 440.8 MB, free: 20.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.5897, allocations: 5.5 kB / 440.8 MB, free: 20.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.891e-05/0.5897, allocations: 7.781 kB / 440.8 MB, free: 20.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004961/0.5902, allocations: 76.91 kB / 440.9 MB, free: 20.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.928e-05/0.5903, allocations: 11.58 kB / 440.9 MB, free: 20.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004526/0.5907, allocations: 55.08 kB / 440.9 MB, free: 20.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.141e-05/0.5908, allocations: 17.08 kB / 441 MB, free: 20.44 MB / 330.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.0002298/0.591, allocations: 154.5 kB / 441.1 MB, free: 20.33 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.036e-05/0.5911, allocations: 24.28 kB / 441.1 MB, free: 20.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001593/0.5927, allocations: 0.7001 MB / 441.8 MB, free: 20.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/0.5928, allocations: 11.77 kB / 441.8 MB, free: 20.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.5928, allocations: 0 / 441.8 MB, free: 20.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.5928, allocations: 8.078 kB / 441.9 MB, free: 20.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008656/0.5937, allocations: 489 kB / 442.3 MB, free: 19.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.5937, allocations: 1.859 kB / 442.3 MB, free: 19.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/0.5941, allocations: 52.47 kB / 442.4 MB, free: 19.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.5941, allocations: 1.344 kB / 442.4 MB, free: 19.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.5941, allocations: 1.969 kB / 442.4 MB, free: 19.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.5941, allocations: 0 / 442.4 MB, free: 19.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5941, allocations: 1.125 kB / 442.4 MB, free: 19.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.5952, allocations: 469.1 kB / 442.8 MB, free: 19.8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/0.5955, allocations: 148.9 kB / 443 MB, free: 19.68 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.105e-05/0.5955, allocations: 5.859 kB / 443 MB, free: 19.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000322/0.5959, allocations: 25.84 kB / 443 MB, free: 19.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.844e-05/0.596, allocations: 13.86 kB / 443 MB, free: 19.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.596, allocations: 8.344 kB / 443 MB, free: 19.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000365/0.5964, allocations: 232 kB / 443.3 MB, free: 19.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5964, allocations: 2.078 kB / 443.3 MB, free: 19.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003463/0.5999, allocations: 0.8298 MB / 444.1 MB, free: 19.5 MB / 330.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.008409/0.6083, allocations: 1.893 MB / 446 MB, free: 18.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.6095, allocations: 282.6 kB / 446.3 MB, free: 18.67 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.6096, allocations: 0 / 446.3 MB, free: 18.67 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004435/0.61, allocations: 170.4 kB / 446.4 MB, free: 18.67 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.6112, allocations: 134.4 kB / 446.6 MB, free: 18.66 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006896/0.6182, allocations: 5.175 MB / 451.7 MB, free: 14.8 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.6186, allocations: 0.8296 MB / 452.6 MB, free: 14.11 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005709/0.6192, allocations: 125.2 kB / 452.7 MB, free: 14.1 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/0.6195, allocations: 137 kB / 452.8 MB, free: 14.09 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6195, allocations: 0 / 452.8 MB, free: 14.09 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09554/0.715, allocations: 36.64 MB / 489.5 MB, free: 5.664 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003014/0.7154, allocations: 240.2 kB / 489.7 MB, free: 5.422 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.225/5.941, allocations: 4 kB / 489.7 MB, free: 5.418 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat does not exist to compare? outputFormat=mat