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.001344/0.001344, allocations: 112.5 kB / 16.41 MB, free: 6.492 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.001355/0.001355, 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.506/1.506, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2159/0.2159, allocations: 43.54 MB / 314.1 MB, free: 460 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.001374/0.001374, allocations: 63.91 kB / 441.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1156, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.0338/0.1495, allocations: 30.05 MB / 0.5172 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2638/0.4133, allocations: 15.49 MB / 0.5324 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004012/0.4137, allocations: 11.75 kB / 0.5324 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007018/0.4145, allocations: 218.7 kB / 0.5326 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006151/0.4151, allocations: 269.5 kB / 0.5328 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01645/0.4316, allocations: 5.63 MB / 0.5383 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001319/0.4329, allocations: 0.8096 MB / 0.5391 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004114/0.4334, allocations: 228.7 kB / 0.5393 GB, free: 3.453 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01485/0.4482, allocations: 5.466 MB / 0.5447 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006349/0.4489, allocations: 241.2 kB / 0.5449 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.107e-05/0.449, allocations: 31.25 kB / 0.5449 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01303/0.462, allocations: 6.085 MB / 0.5509 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.4622, allocations: 82.42 kB / 0.551 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004075/0.4627, allocations: 193.7 kB / 0.5511 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009221/0.4719, allocations: 3.639 MB / 0.5547 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.844e-06/0.4719, allocations: 7.062 kB / 0.5547 GB, free: 0.957 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4719, allocations: 3 kB / 0.5547 GB, free: 0.957 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.472, allocations: 1.062 kB / 0.5547 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.003132/0.4751, allocations: 0.9842 MB / 0.5557 GB, free: 268 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.4752, allocations: 16.48 kB / 0.5557 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000964/0.4761, allocations: 117.3 kB / 0.5558 GB, free: 216 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000549/0.4767, allocations: 338.1 kB / 0.5561 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/0.4767, allocations: 24 kB / 0.5561 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.718e-05/0.4768, allocations: 29.31 kB / 0.5562 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.4779, allocations: 453 kB / 0.5566 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.4779, allocations: 4.75 kB / 0.5566 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.396e-05/0.4779, allocations: 13.88 kB / 0.5566 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.478, allocations: 6.875 kB / 0.5566 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.479, allocations: 369.9 kB / 0.557 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002925/0.4819, allocations: 2.376 MB / 0.5593 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.483, allocations: 283.3 kB / 0.5596 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002739/0.4833, allocations: 97.89 kB / 0.5597 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003981/0.4837, allocations: 480.1 kB / 0.5601 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.4837, allocations: 38.28 kB / 0.5602 GB, free: 12.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.953e-06/0.4838, allocations: 4 kB / 0.5602 GB, free: 12.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.001748/0.4855, allocations: 449.3 kB / 0.5606 GB, free: 12.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/0.4856, allocations: 105 kB / 0.5607 GB, free: 12.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000365/0.486, allocations: 326.5 kB / 0.561 GB, free: 12.51 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.486, allocations: 28.17 kB / 0.561 GB, free: 12.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.4861, allocations: 212.3 kB / 0.5612 GB, free: 12.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.4862, allocations: 40.08 kB / 0.5613 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.861e-05/0.4863, allocations: 55.78 kB / 0.5613 GB, free: 12.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.4864, allocations: 343.2 kB / 0.5616 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.4867, allocations: 82.25 kB / 0.5617 GB, free: 11.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/0.487, allocations: 207.5 kB / 0.5619 GB, free: 11.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005601/0.4876, allocations: 284.5 kB / 0.5622 GB, free: 11.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.4876, allocations: 2.656 kB / 0.5622 GB, free: 11.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006945/0.4883, allocations: 314.8 kB / 0.5625 GB, free: 11.51 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4883, allocations: 7.875 kB / 0.5625 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.4883, allocations: 6.328 kB / 0.5625 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.4884, allocations: 6.469 kB / 0.5625 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.4886, allocations: 63.19 kB / 0.5626 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.4886, allocations: 14.86 kB / 0.5626 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/0.4889, allocations: 43.02 kB / 0.5626 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.489, allocations: 13.28 kB / 0.5626 GB, free: 11.47 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.0001668/0.4891, allocations: 158.8 kB / 0.5628 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.075e-05/0.4892, allocations: 30.78 kB / 0.5628 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.4903, allocations: 0.7397 MB / 0.5635 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.4903, allocations: 6.203 kB / 0.5636 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.4903, allocations: 3.938 kB / 0.5636 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.4903, allocations: 6.109 kB / 0.5636 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005459/0.4909, allocations: 0.524 MB / 0.5641 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.4909, allocations: 0 / 0.5641 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/0.4911, allocations: 51.36 kB / 0.5641 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4911, allocations: 0 / 0.5641 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.4911, allocations: 1.812 kB / 0.5641 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/0.4911, allocations: 3.984 kB / 0.5641 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4911, allocations: 5.719 kB / 0.5641 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007078/0.4918, allocations: 462.8 kB / 0.5646 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.113e-05/0.4919, allocations: 114.4 kB / 0.5647 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.312e-05/0.492, allocations: 28.44 kB / 0.5647 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.4922, allocations: 14.11 kB / 0.5647 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.811e-05/0.4923, allocations: 27.88 kB / 0.5648 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.4923, allocations: 2.969 kB / 0.5648 GB, free: 10.24 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003636/0.4927, allocations: 352 kB / 0.5651 GB, free: 10.03 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4927, allocations: 0 / 0.5651 GB, free: 10.03 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004081/0.4968, allocations: 0.8325 MB / 0.5659 GB, free: 9.891 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.004828/0.5016, allocations: 0.9767 MB / 0.5669 GB, free: 9.578 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008686/0.5025, allocations: 280.1 kB / 0.5671 GB, free: 9.457 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.5025, allocations: 0 / 0.5671 GB, free: 9.457 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002898/0.5028, allocations: 164.4 kB / 0.5673 GB, free: 9.379 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009994/0.5039, allocations: 194.3 kB / 0.5675 GB, free: 9.273 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.5051, allocations: 0.8331 MB / 0.5683 GB, free: 8.762 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.5055, allocations: 0.8393 MB / 0.5691 GB, free: 8 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000309/0.5058, allocations: 144.6 kB / 0.5692 GB, free: 7.938 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.189e-05/0.5059, allocations: 26.41 kB / 0.5693 GB, free: 7.934 MB / 430.1 MB Notification: Performance of SimCode: time 3.6e-07/0.5059, allocations: 2.688 kB / 0.5693 GB, free: 7.934 MB / 430.1 MB Notification: Performance of Templates: time 0.04179/0.5477, allocations: 33.76 MB / 0.6022 GB, free: 8.59 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