Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 109.1 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 205.1 MB / 223.2 MB, free: 12.1 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2032/0.2032, allocations: 43.53 MB / 314.1 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 70.25 kB / 441.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1306, allocations: 57.8 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03147/0.1621, allocations: 30.05 MB / 0.5172 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.298/0.4602, allocations: 15.5 MB / 0.5324 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003827/0.4606, allocations: 16 kB / 0.5324 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007456/0.4614, allocations: 210.4 kB / 0.5326 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006082/0.462, allocations: 277.5 kB / 0.5328 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0147/0.4767, allocations: 5.621 MB / 0.5383 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001236/0.478, allocations: 0.8149 MB / 0.5391 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003976/0.4784, allocations: 226.1 kB / 0.5393 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01299/0.4914, allocations: 5.47 MB / 0.5447 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006105/0.492, allocations: 235.1 kB / 0.5449 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.019e-05/0.4921, allocations: 27.84 kB / 0.5449 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01243/0.5046, allocations: 6.079 MB / 0.5509 GB, free: 1.953 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002159/0.5048, allocations: 88.33 kB / 0.551 GB, free: 1.953 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004746/0.5053, allocations: 195.2 kB / 0.5511 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.5157, allocations: 3.647 MB / 0.5547 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.5157, allocations: 3.375 kB / 0.5547 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5157, allocations: 1.125 kB / 0.5547 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.5158, allocations: 0 / 0.5547 GB, free: 0.9492 MB / 414.1 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.003136/0.5189, allocations: 0.9865 MB / 0.5557 GB, free: 260 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.519, allocations: 13.27 kB / 0.5557 GB, free: 256 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009655/0.5199, allocations: 118.5 kB / 0.5558 GB, free: 204 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005834/0.5205, allocations: 343 kB / 0.5561 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.5206, allocations: 24.59 kB / 0.5562 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.5206, allocations: 23.12 kB / 0.5562 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.5217, allocations: 459.9 kB / 0.5566 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.5217, allocations: 1.469 kB / 0.5566 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/0.5217, allocations: 11.16 kB / 0.5566 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.5217, allocations: 5.688 kB / 0.5566 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000958/0.5227, allocations: 369.3 kB / 0.557 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003024/0.5257, allocations: 2.382 MB / 0.5593 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009855/0.5267, allocations: 281 kB / 0.5596 GB, free: 13.49 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002561/0.527, allocations: 93.86 kB / 0.5597 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000516/0.5275, allocations: 482.2 kB / 0.5601 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.5276, allocations: 36.09 kB / 0.5602 GB, free: 12.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.5276, allocations: 1.469 kB / 0.5602 GB, free: 12.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.001574/0.5291, allocations: 451.2 kB / 0.5606 GB, free: 12.78 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.075e-05/0.5292, allocations: 105.9 kB / 0.5607 GB, free: 12.65 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003306/0.5296, allocations: 322.2 kB / 0.561 GB, free: 12.51 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.5296, allocations: 25.7 kB / 0.561 GB, free: 12.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.5297, allocations: 218.1 kB / 0.5612 GB, free: 12.33 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.5298, allocations: 39.45 kB / 0.5613 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.617e-05/0.5299, allocations: 58.66 kB / 0.5613 GB, free: 12.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.53, allocations: 338.2 kB / 0.5616 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.5302, allocations: 82.44 kB / 0.5617 GB, free: 11.94 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003309/0.5306, allocations: 209.1 kB / 0.5619 GB, free: 11.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005265/0.5311, allocations: 284.1 kB / 0.5622 GB, free: 11.6 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.5311, allocations: 1.312 kB / 0.5622 GB, free: 11.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006598/0.5318, allocations: 318.9 kB / 0.5625 GB, free: 11.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.5318, allocations: 5.969 kB / 0.5625 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.5318, allocations: 3.406 kB / 0.5625 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/0.5319, allocations: 12.61 kB / 0.5625 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.5321, allocations: 63.22 kB / 0.5626 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.5321, allocations: 17.77 kB / 0.5626 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/0.5324, allocations: 40.17 kB / 0.5626 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.5324, allocations: 14.88 kB / 0.5627 GB, free: 11.46 MB / 430.1 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_2.medium.phase,boundary_prescriberho_1.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.0001651/0.5326, allocations: 155.8 kB / 0.5628 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.159e-05/0.5326, allocations: 30.81 kB / 0.5628 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.5337, allocations: 0.7378 MB / 0.5636 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.5337, allocations: 8.672 kB / 0.5636 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.5337, allocations: 6.281 kB / 0.5636 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.5337, allocations: 3.094 kB / 0.5636 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005576/0.5343, allocations: 0.5248 MB / 0.5641 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.5343, allocations: 4 kB / 0.5641 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.5345, allocations: 41.3 kB / 0.5641 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.5345, allocations: 2.5 kB / 0.5641 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.5345, allocations: 8 kB / 0.5641 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.5346, allocations: 0 / 0.5641 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.5346, allocations: 10.05 kB / 0.5641 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000659/0.5352, allocations: 463 kB / 0.5646 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.032e-05/0.5353, allocations: 114.9 kB / 0.5647 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.997e-05/0.5354, allocations: 28 kB / 0.5647 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.5356, allocations: 16.42 kB / 0.5647 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.256e-05/0.5357, allocations: 27.5 kB / 0.5648 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.5357, allocations: 3.156 kB / 0.5648 GB, free: 10.24 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004001/0.5361, allocations: 347 kB / 0.5651 GB, free: 10.03 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5361, allocations: 0 / 0.5651 GB, free: 10.03 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003327/0.5394, allocations: 0.8336 MB / 0.5659 GB, free: 9.895 MB / 430.1 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.004161/0.5436, allocations: 0.9698 MB / 0.5669 GB, free: 9.586 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007074/0.5443, allocations: 283.6 kB / 0.5671 GB, free: 9.461 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5443, allocations: 0.9375 kB / 0.5671 GB, free: 9.461 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002764/0.5446, allocations: 170.3 kB / 0.5673 GB, free: 9.375 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008967/0.5455, allocations: 183.2 kB / 0.5675 GB, free: 9.277 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.5468, allocations: 0.8264 MB / 0.5683 GB, free: 8.766 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.5471, allocations: 0.8415 MB / 0.5691 GB, free: 8.004 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002717/0.5474, allocations: 139.8 kB / 0.5692 GB, free: 7.945 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.572e-05/0.5475, allocations: 32.06 kB / 0.5693 GB, free: 7.938 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5475, allocations: 0 / 0.5693 GB, free: 7.938 MB / 430.1 MB Notification: Performance of Templates: time 0.0463/0.5938, allocations: 33.77 MB / 0.6022 GB, free: 8.613 MB / 462.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches