Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001538/0.001538, allocations: 173 kB / 16.08 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.6 MB / 222.4 MB, free: 8.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007972/0.0007972, allocations: 95.31 kB / 270.8 MB, free: 8.117 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3377/0.3377, allocations: 43.67 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.0003209, allocations: 12 kB / 432.3 MB, free: 4.797 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1222, allocations: 58.85 MB / 491.2 MB, free: 9.812 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.2127/0.3349, allocations: 34.38 MB / 0.5132 GB, free: 24.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01612/0.3511, allocations: 22.32 MB / 0.535 GB, free: 5.211 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004216/0.3516, allocations: 14.59 kB / 0.535 GB, free: 5.203 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006202/0.3522, allocations: 181.3 kB / 0.5352 GB, free: 5.102 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005308/0.3527, allocations: 259.5 kB / 0.5355 GB, free: 4.945 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01356/0.3663, allocations: 4.523 MB / 0.5399 GB, free: 2.836 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009967/0.3673, allocations: 1.084 MB / 0.5409 GB, free: 2.445 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002888/0.3676, allocations: 189.4 kB / 0.5411 GB, free: 2.383 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0104/0.378, allocations: 5.406 MB / 0.5464 GB, free: 15.88 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004526/0.3785, allocations: 226.7 kB / 0.5466 GB, free: 15.79 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.146e-05/0.3786, allocations: 12.53 kB / 0.5466 GB, free: 15.79 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01187/0.3904, allocations: 5.796 MB / 0.5523 GB, free: 14.46 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001983/0.3907, allocations: 71.33 kB / 0.5524 GB, free: 14.43 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003465/0.3911, allocations: 196.2 kB / 0.5525 GB, free: 14.3 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01119/0.4023, allocations: 3.626 MB / 0.5561 GB, free: 13.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.4023, allocations: 0 / 0.5561 GB, free: 13.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.4023, allocations: 0 / 0.5561 GB, free: 13.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.4023, allocations: 1.062 kB / 0.5561 GB, free: 13.18 MB / 394.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.003493/0.4058, allocations: 0.9297 MB / 0.557 GB, free: 12.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.4059, allocations: 9.062 kB / 0.557 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000859/0.4068, allocations: 119.8 kB / 0.5571 GB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004525/0.4072, allocations: 321 kB / 0.5574 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/0.4073, allocations: 24.41 kB / 0.5574 GB, free: 12.1 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.901e-05/0.4073, allocations: 25.38 kB / 0.5575 GB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.4084, allocations: 486.5 kB / 0.5579 GB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.4085, allocations: 1.094 kB / 0.5579 GB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.4085, allocations: 12.06 kB / 0.5579 GB, free: 11.76 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.4085, allocations: 6.625 kB / 0.5579 GB, free: 11.76 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.4096, allocations: 395 kB / 0.5583 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003001/0.4126, allocations: 2.395 MB / 0.5607 GB, free: 9.336 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009951/0.4136, allocations: 303.6 kB / 0.561 GB, free: 9.188 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002804/0.4139, allocations: 110 kB / 0.5611 GB, free: 9.133 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003998/0.4143, allocations: 479 kB / 0.5615 GB, free: 8.621 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.4143, allocations: 40.5 kB / 0.5616 GB, free: 8.574 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.462e-06/0.4144, allocations: 0 / 0.5616 GB, free: 8.574 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.001677/0.416, allocations: 495.8 kB / 0.562 GB, free: 8.344 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.4161, allocations: 105.1 kB / 0.5621 GB, free: 8.219 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003416/0.4165, allocations: 320.6 kB / 0.5624 GB, free: 8.008 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.4165, allocations: 27.8 kB / 0.5625 GB, free: 7.977 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.4166, allocations: 216.6 kB / 0.5627 GB, free: 7.777 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.4167, allocations: 37.27 kB / 0.5627 GB, free: 7.746 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.175e-05/0.4167, allocations: 5 kB / 0.5627 GB, free: 7.742 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.4168, allocations: 342.4 kB / 0.563 GB, free: 7.406 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003002/0.4171, allocations: 97.72 kB / 0.5631 GB, free: 7.363 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/0.4175, allocations: 219.4 kB / 0.5633 GB, free: 7.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005598/0.418, allocations: 291.3 kB / 0.5636 GB, free: 6.938 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4181, allocations: 1.031 kB / 0.5636 GB, free: 6.938 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007182/0.4188, allocations: 341.2 kB / 0.5639 GB, free: 6.762 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.4188, allocations: 10.67 kB / 0.564 GB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.4188, allocations: 4.344 kB / 0.564 GB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.855e-05/0.4188, allocations: 5.375 kB / 0.564 GB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.4191, allocations: 69.91 kB / 0.564 GB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.4191, allocations: 12.27 kB / 0.564 GB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002977/0.4194, allocations: 49.7 kB / 0.5641 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.4195, allocations: 13.34 kB / 0.5641 GB, free: 6.703 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000158/0.4196, allocations: 160.3 kB / 0.5643 GB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.522e-05/0.4197, allocations: 30.38 kB / 0.5643 GB, free: 6.539 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.4208, allocations: 0.771 MB / 0.565 GB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-05/0.4209, allocations: 15.14 kB / 0.565 GB, free: 6.066 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.4209, allocations: 7.938 kB / 0.5651 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4209, allocations: 1 kB / 0.5651 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005774/0.4215, allocations: 0.5236 MB / 0.5656 GB, free: 5.629 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.4215, allocations: 0 / 0.5656 GB, free: 5.629 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.4217, allocations: 57.52 kB / 0.5656 GB, free: 5.609 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.4217, allocations: 5.062 kB / 0.5656 GB, free: 5.605 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.4218, allocations: 5.188 kB / 0.5656 GB, free: 5.602 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4218, allocations: 1 kB / 0.5656 GB, free: 5.602 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4218, allocations: 3.938 kB / 0.5656 GB, free: 5.598 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006896/0.4225, allocations: 479.1 kB / 0.5661 GB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.4226, allocations: 189.2 kB / 0.5663 GB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.263e-05/0.4227, allocations: 5.25 kB / 0.5663 GB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.4229, allocations: 28.19 kB / 0.5663 GB, free: 5.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.163e-05/0.423, allocations: 19.92 kB / 0.5663 GB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.423, allocations: 8.109 kB / 0.5663 GB, free: 5.074 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003635/0.4234, allocations: 334.8 kB / 0.5667 GB, free: 4.871 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4234, allocations: 0.5625 kB / 0.5667 GB, free: 4.871 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003598/0.427, allocations: 0.8407 MB / 0.5675 GB, free: 4.727 MB / 394.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005096/0.4321, allocations: 0.9926 MB / 0.5684 GB, free: 4.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008043/0.4329, allocations: 299.1 kB / 0.5687 GB, free: 4.188 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.433, allocations: 0 / 0.5687 GB, free: 4.188 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003123/0.4333, allocations: 175.8 kB / 0.5689 GB, free: 4.102 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.4343, allocations: 174.5 kB / 0.5691 GB, free: 4.012 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.4357, allocations: 1.048 MB / 0.5701 GB, free: 3.266 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.436, allocations: 0.836 MB / 0.5709 GB, free: 2.508 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003501/0.4364, allocations: 144.1 kB / 0.571 GB, free: 2.445 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.615e-05/0.4365, allocations: 40.7 kB / 0.5711 GB, free: 2.426 MB / 394.7 MB Notification: Performance of SimCode: time 3.5e-07/0.4365, allocations: 3.938 kB / 0.5711 GB, free: 2.422 MB / 394.7 MB Notification: Performance of Templates: time 0.04446/0.4809, allocations: 33.37 MB / 0.6037 GB, free: 3.199 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches