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.001682/0.001682, allocations: 112.2 kB / 17.09 MB, free: 5.977 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.001999/0.001999, allocations: 194.2 kB / 18.02 MB, free: 5.066 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.38/1.38, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2152/0.2152, allocations: 43.54 MB / 314.8 MB, free: 464 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.001443/0.001443, allocations: 59.91 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1106, allocations: 57.79 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03194/0.1426, allocations: 30.05 MB / 0.5179 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2957/0.4383, allocations: 15.49 MB / 0.533 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003896/0.4387, allocations: 12.69 kB / 0.533 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008225/0.4396, allocations: 216.4 kB / 0.5332 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000664/0.4403, allocations: 278.2 kB / 0.5335 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01567/0.456, allocations: 5.616 MB / 0.539 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001286/0.4573, allocations: 0.8165 MB / 0.5398 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004194/0.4577, allocations: 228.3 kB / 0.54 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01297/0.4707, allocations: 5.473 MB / 0.5454 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005788/0.4713, allocations: 232.5 kB / 0.5456 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.29e-05/0.4714, allocations: 28.31 kB / 0.5456 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0138/0.4852, allocations: 6.087 MB / 0.5515 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.4854, allocations: 86.53 kB / 0.5516 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003982/0.4858, allocations: 185.3 kB / 0.5518 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009944/0.4958, allocations: 3.662 MB / 0.5554 GB, free: 0.957 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.4958, allocations: 0 / 0.5554 GB, free: 0.957 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4958, allocations: 0 / 0.5554 GB, free: 0.957 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.4958, allocations: 1.188 kB / 0.5554 GB, free: 0.957 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.002873/0.4987, allocations: 1.014 MB / 0.5564 GB, free: 236 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.4988, allocations: 16.09 kB / 0.5564 GB, free: 228 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009011/0.4997, allocations: 114.2 kB / 0.5565 GB, free: 180 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005247/0.5002, allocations: 341 kB / 0.5568 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.175e-05/0.5003, allocations: 23.25 kB / 0.5568 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.653e-05/0.5003, allocations: 29.38 kB / 0.5569 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.5015, allocations: 455.9 kB / 0.5573 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.5015, allocations: 1 kB / 0.5573 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.788e-05/0.5016, allocations: 10.41 kB / 0.5573 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.5016, allocations: 6.875 kB / 0.5573 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.5027, allocations: 368.6 kB / 0.5577 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003022/0.5057, allocations: 2.383 MB / 0.56 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.5067, allocations: 278.3 kB / 0.5603 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002707/0.507, allocations: 94.23 kB / 0.5604 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004255/0.5074, allocations: 486.3 kB / 0.5608 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.5075, allocations: 38.2 kB / 0.5609 GB, free: 12.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.903e-06/0.5075, allocations: 0 / 0.5609 GB, free: 12.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.001736/0.5092, allocations: 448.6 kB / 0.5613 GB, free: 12.76 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.5093, allocations: 109.5 kB / 0.5614 GB, free: 12.63 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003458/0.5097, allocations: 322.3 kB / 0.5617 GB, free: 12.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.5097, allocations: 28.86 kB / 0.5617 GB, free: 12.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.5098, allocations: 216.7 kB / 0.5619 GB, free: 12.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.5099, allocations: 43.81 kB / 0.562 GB, free: 12.28 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.51, allocations: 59.58 kB / 0.562 GB, free: 12.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.5101, allocations: 340.2 kB / 0.5624 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/0.5104, allocations: 85.72 kB / 0.5624 GB, free: 11.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003457/0.5108, allocations: 205.6 kB / 0.5626 GB, free: 11.74 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005551/0.5113, allocations: 290.8 kB / 0.5629 GB, free: 11.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.5113, allocations: 0 / 0.5629 GB, free: 11.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007289/0.5121, allocations: 318.7 kB / 0.5632 GB, free: 11.47 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.5121, allocations: 5.25 kB / 0.5632 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.5121, allocations: 9.109 kB / 0.5632 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.5121, allocations: 3.5 kB / 0.5632 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.5124, allocations: 63.09 kB / 0.5633 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.991e-05/0.5124, allocations: 10.36 kB / 0.5633 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002677/0.5127, allocations: 48.83 kB / 0.5633 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/0.5128, allocations: 12.5 kB / 0.5634 GB, free: 11.43 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.0001708/0.5129, allocations: 159 kB / 0.5635 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.255e-05/0.513, allocations: 31.88 kB / 0.5635 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/0.5141, allocations: 0.7439 MB / 0.5643 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.5142, allocations: 3.984 kB / 0.5643 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.5142, allocations: 0 / 0.5643 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.924e-05/0.5143, allocations: 121.7 kB / 0.5644 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.087e-05/0.5143, allocations: 23.42 kB / 0.5644 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.5146, allocations: 34.2 kB / 0.5644 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.997e-05/0.5147, allocations: 22.28 kB / 0.5645 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006578/0.5153, allocations: 414.6 kB / 0.5649 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006998/0.516, allocations: 0.5357 MB / 0.5654 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002638/0.5163, allocations: 162.6 kB / 0.5655 GB, free: 10.22 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003489/0.5167, allocations: 337.5 kB / 0.5659 GB, free: 10.02 MB / 430.1 MB Notification: Performance of Backend: time 5.41e-07/0.5167, allocations: 1.281 kB / 0.5659 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006346/0.523, allocations: 1.28 MB / 0.5671 GB, free: 9.609 MB / 430.1 MB Notification: Performance of SimCode: time 0.001697/0.5248, allocations: 1.304 MB / 0.5684 GB, free: 8.609 MB / 430.1 MB Notification: Performance of Templates: time 0.04919/0.574, allocations: 36.65 MB / 0.6042 GB, free: 7.359 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/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