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.001115/0.001115, allocations: 108.6 kB / 16.41 MB, free: 6.5 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.001252/0.001252, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.651/1.651, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.228/0.228, allocations: 43.53 MB / 314.1 MB, free: 452 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.00139/0.00139, allocations: 71.89 kB / 441.8 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1433, allocations: 57.79 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03255/0.1759, allocations: 30.05 MB / 0.5172 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3622/0.5381, allocations: 15.49 MB / 0.5324 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004106/0.5386, allocations: 9.844 kB / 0.5324 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008009/0.5394, allocations: 219 kB / 0.5326 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006698/0.5401, allocations: 270.9 kB / 0.5328 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02112/0.5612, allocations: 5.609 MB / 0.5383 GB, free: 3.449 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002114/0.5634, allocations: 0.8149 MB / 0.5391 GB, free: 3.449 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005159/0.5639, allocations: 232.4 kB / 0.5393 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01385/0.5778, allocations: 5.455 MB / 0.5447 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007697/0.5786, allocations: 239.5 kB / 0.5449 GB, free: 2 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.203e-05/0.5787, allocations: 29.03 kB / 0.5449 GB, free: 2 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01686/0.5955, allocations: 6.077 MB / 0.5509 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002434/0.5958, allocations: 89.16 kB / 0.5509 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005295/0.5963, allocations: 190 kB / 0.5511 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01224/0.6086, allocations: 3.653 MB / 0.5547 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.6086, allocations: 1.125 kB / 0.5547 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6086, allocations: 7 kB / 0.5547 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.6087, allocations: 0.5625 kB / 0.5547 GB, free: 0.9336 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.003352/0.612, allocations: 1.012 MB / 0.5557 GB, free: 212 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.6121, allocations: 16.11 kB / 0.5557 GB, free: 208 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009203/0.613, allocations: 115.3 kB / 0.5558 GB, free: 160 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005791/0.6136, allocations: 343.8 kB / 0.5561 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.6136, allocations: 22.56 kB / 0.5562 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.888e-05/0.6137, allocations: 30.06 kB / 0.5562 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.6148, allocations: 459.5 kB / 0.5566 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.6148, allocations: 0 / 0.5566 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/0.6148, allocations: 11.38 kB / 0.5566 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.6148, allocations: 6.844 kB / 0.5566 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.6159, allocations: 369.5 kB / 0.557 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002987/0.6189, allocations: 2.376 MB / 0.5593 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.6199, allocations: 278.6 kB / 0.5596 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002707/0.6202, allocations: 99.41 kB / 0.5597 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004375/0.6207, allocations: 489.3 kB / 0.5601 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.6207, allocations: 33.59 kB / 0.5602 GB, free: 12.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.6207, allocations: 4 kB / 0.5602 GB, free: 12.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.001724/0.6224, allocations: 447.5 kB / 0.5606 GB, free: 12.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.598e-05/0.6225, allocations: 111 kB / 0.5607 GB, free: 12.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003951/0.6229, allocations: 321 kB / 0.561 GB, free: 12.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.623, allocations: 27.02 kB / 0.561 GB, free: 12.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.6231, allocations: 219.2 kB / 0.5612 GB, free: 12.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.6232, allocations: 38.98 kB / 0.5613 GB, free: 12.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.802e-05/0.6233, allocations: 56.22 kB / 0.5613 GB, free: 12.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.6234, allocations: 347.4 kB / 0.5617 GB, free: 11.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/0.6237, allocations: 82.53 kB / 0.5617 GB, free: 11.88 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003533/0.6241, allocations: 212.7 kB / 0.562 GB, free: 11.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005613/0.6246, allocations: 280.2 kB / 0.5622 GB, free: 11.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.6247, allocations: 0 / 0.5622 GB, free: 11.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006781/0.6253, allocations: 319.7 kB / 0.5625 GB, free: 11.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.6254, allocations: 8.188 kB / 0.5625 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.036e-06/0.6254, allocations: 8.406 kB / 0.5625 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.627e-05/0.6255, allocations: 5.719 kB / 0.5625 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.6257, allocations: 62.73 kB / 0.5626 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.6257, allocations: 9.344 kB / 0.5626 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.626, allocations: 49.12 kB / 0.5627 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.626, allocations: 10.22 kB / 0.5627 GB, free: 11.41 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.000154/0.6262, allocations: 161.1 kB / 0.5628 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.035e-05/0.6262, allocations: 29.06 kB / 0.5629 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.6273, allocations: 0.7458 MB / 0.5636 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.6273, allocations: 10.3 kB / 0.5636 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.6273, allocations: 3.938 kB / 0.5636 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.6273, allocations: 3.844 kB / 0.5636 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005571/0.6279, allocations: 0.5283 MB / 0.5641 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.6279, allocations: 0 / 0.5641 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.6281, allocations: 45.77 kB / 0.5642 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.6281, allocations: 0 / 0.5642 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.6282, allocations: 6.062 kB / 0.5642 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.6282, allocations: 0 / 0.5642 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.6282, allocations: 3.938 kB / 0.5642 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006841/0.6289, allocations: 472 kB / 0.5646 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.852e-05/0.629, allocations: 118 kB / 0.5647 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.414e-05/0.629, allocations: 25.81 kB / 0.5648 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.6292, allocations: 11.86 kB / 0.5648 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.356e-05/0.6293, allocations: 25.34 kB / 0.5648 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.6293, allocations: 8.156 kB / 0.5648 GB, free: 10.19 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000366/0.6297, allocations: 350.1 kB / 0.5651 GB, free: 9.98 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6297, allocations: 0 / 0.5651 GB, free: 9.98 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003733/0.6334, allocations: 0.8446 MB / 0.566 GB, free: 9.832 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.004521/0.638, allocations: 0.9811 MB / 0.5669 GB, free: 9.516 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00074/0.6387, allocations: 279.3 kB / 0.5672 GB, free: 9.395 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6387, allocations: 0 / 0.5672 GB, free: 9.395 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000301/0.6391, allocations: 165.1 kB / 0.5673 GB, free: 9.316 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009759/0.64, allocations: 185.4 kB / 0.5675 GB, free: 9.215 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.6413, allocations: 0.8558 MB / 0.5684 GB, free: 8.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.6418, allocations: 0.8424 MB / 0.5692 GB, free: 7.914 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002955/0.6421, allocations: 143.8 kB / 0.5693 GB, free: 7.852 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.328e-05/0.6422, allocations: 29.31 kB / 0.5693 GB, free: 7.848 MB / 430.1 MB Notification: Performance of SimCode: time 4.3e-07/0.6422, allocations: 0 / 0.5693 GB, free: 7.848 MB / 430.1 MB Notification: Performance of Templates: time 0.04747/0.6896, allocations: 33.76 MB / 0.6023 GB, free: 8.508 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