Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002251/0.002251, allocations: 169.7 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.519/1.519, allocations: 177.2 MB / 204.9 MB, free: 9.043 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2143/0.2143, allocations: 32.81 MB / 294.1 MB, free: 52 kB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 63.89 kB / 440.6 MB, free: 9.484 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.371, allocations: 65.45 MB / 0.4941 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.02305/0.394, allocations: 27.69 MB / 0.5212 GB, free: 13 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01905/0.4131, allocations: 13.83 MB / 0.5347 GB, free: 3.914 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000405/0.4135, allocations: 14.81 kB / 0.5347 GB, free: 3.906 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007427/0.4142, allocations: 203.3 kB / 0.5349 GB, free: 3.793 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006282/0.4149, allocations: 278.6 kB / 0.5352 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0173/0.4322, allocations: 5.596 MB / 0.5406 GB, free: 1.266 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001264/0.4334, allocations: 0.8266 MB / 0.5414 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003705/0.4338, allocations: 197.4 kB / 0.5416 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01423/0.448, allocations: 5.515 MB / 0.547 GB, free: 13.72 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006066/0.4486, allocations: 230.9 kB / 0.5472 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.096e-05/0.4487, allocations: 28.88 kB / 0.5473 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01325/0.462, allocations: 5.847 MB / 0.553 GB, free: 10.66 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002206/0.4622, allocations: 91.75 kB / 0.5531 GB, free: 10.59 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003269/0.4625, allocations: 155.9 kB / 0.5532 GB, free: 10.51 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009209/0.4717, allocations: 3.673 MB / 0.5568 GB, free: 8.141 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4717, allocations: 5 kB / 0.5568 GB, free: 8.137 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4717, allocations: 0 / 0.5568 GB, free: 8.137 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.4717, allocations: 0 / 0.5568 GB, free: 8.137 MB / 462.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.003181/0.4749, allocations: 0.9564 MB / 0.5577 GB, free: 7.426 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.475, allocations: 9.906 kB / 0.5577 GB, free: 7.426 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.476, allocations: 118.1 kB / 0.5578 GB, free: 7.379 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005703/0.4766, allocations: 279.4 kB / 0.5581 GB, free: 7.133 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.527e-05/0.4766, allocations: 24.81 kB / 0.5581 GB, free: 7.121 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.4766, allocations: 23.62 kB / 0.5582 GB, free: 7.113 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.4779, allocations: 0.609 MB / 0.5588 GB, free: 6.586 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.4779, allocations: 0 / 0.5588 GB, free: 6.586 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.673e-05/0.4779, allocations: 12 kB / 0.5588 GB, free: 6.574 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.4779, allocations: 8 kB / 0.5588 GB, free: 6.566 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.479, allocations: 361.5 kB / 0.5591 GB, free: 6.211 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002875/0.4819, allocations: 1.727 MB / 0.5608 GB, free: 4.414 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.4829, allocations: 266.3 kB / 0.5611 GB, free: 4.145 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002717/0.4832, allocations: 92.73 kB / 0.5611 GB, free: 4.051 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002691/0.4835, allocations: 107.9 kB / 0.5613 GB, free: 3.945 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.4835, allocations: 34.56 kB / 0.5613 GB, free: 3.902 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.4835, allocations: 0 / 0.5613 GB, free: 3.902 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001711/0.4852, allocations: 441.3 kB / 0.5617 GB, free: 3.465 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.592e-05/0.4853, allocations: 110.8 kB / 0.5618 GB, free: 3.332 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003091/0.4856, allocations: 280 kB / 0.5621 GB, free: 3.051 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.4856, allocations: 29.7 kB / 0.5621 GB, free: 3.016 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.4858, allocations: 219.9 kB / 0.5623 GB, free: 2.797 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.785e-05/0.4859, allocations: 43.69 kB / 0.5624 GB, free: 2.754 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.073e-05/0.486, allocations: 57.64 kB / 0.5624 GB, free: 2.691 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.4861, allocations: 338.8 kB / 0.5627 GB, free: 2.352 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002711/0.4864, allocations: 91.81 kB / 0.5628 GB, free: 2.262 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003903/0.4868, allocations: 254.7 kB / 0.5631 GB, free: 1.945 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006062/0.4874, allocations: 281.4 kB / 0.5633 GB, free: 1.621 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.4874, allocations: 0 / 0.5633 GB, free: 1.621 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007455/0.4881, allocations: 309.5 kB / 0.5636 GB, free: 1.312 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.4882, allocations: 10.34 kB / 0.5636 GB, free: 1.305 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.4882, allocations: 7.984 kB / 0.5636 GB, free: 1.297 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.4882, allocations: 4.469 kB / 0.5637 GB, free: 1.293 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.4884, allocations: 79.77 kB / 0.5637 GB, free: 1.215 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.4884, allocations: 4 kB / 0.5637 GB, free: 1.211 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.4887, allocations: 51.67 kB / 0.5638 GB, free: 1.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/0.4887, allocations: 12 kB / 0.5638 GB, free: 1.148 MB / 462.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.0001637/0.4889, allocations: 154.4 kB / 0.5639 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.913e-05/0.4889, allocations: 23.86 kB / 0.564 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.4902, allocations: 0.7873 MB / 0.5647 GB, free: 172 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.4902, allocations: 11.98 kB / 0.5647 GB, free: 160 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4902, allocations: 0 / 0.5647 GB, free: 160 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.4902, allocations: 3.938 kB / 0.5647 GB, free: 156 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000525/0.4907, allocations: 438.7 kB / 0.5652 GB, free: 15.69 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4907, allocations: 4 kB / 0.5652 GB, free: 15.69 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/0.4909, allocations: 43.94 kB / 0.5652 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.491, allocations: 0 / 0.5652 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.491, allocations: 7.938 kB / 0.5652 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.491, allocations: 4 kB / 0.5652 GB, free: 15.63 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.491, allocations: 0 / 0.5652 GB, free: 15.63 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007712/0.4917, allocations: 470.9 kB / 0.5657 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.364e-05/0.4918, allocations: 39.64 kB / 0.5657 GB, free: 15.12 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.935e-05/0.4919, allocations: 19.78 kB / 0.5657 GB, free: 15.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.4921, allocations: 19.98 kB / 0.5657 GB, free: 15.08 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.585e-05/0.4921, allocations: 19.95 kB / 0.5658 GB, free: 15.06 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.4921, allocations: 4 kB / 0.5658 GB, free: 15.05 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003557/0.4925, allocations: 311.1 kB / 0.5661 GB, free: 14.75 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4925, allocations: 4 kB / 0.5661 GB, free: 14.75 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003176/0.4957, allocations: 0.8577 MB / 0.5669 GB, free: 13.89 MB / 478.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.003689/0.4994, allocations: 0.9853 MB / 0.5679 GB, free: 12.89 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00076/0.5001, allocations: 268.6 kB / 0.5681 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.5001, allocations: 0 / 0.5681 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003175/0.5004, allocations: 147.7 kB / 0.5683 GB, free: 12.48 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008031/0.5012, allocations: 133.2 kB / 0.5684 GB, free: 12.36 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.5027, allocations: 0.8476 MB / 0.5692 GB, free: 11.48 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.503, allocations: 239.7 kB / 0.5695 GB, free: 11.22 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003158/0.5033, allocations: 138.7 kB / 0.5696 GB, free: 11.09 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.899e-05/0.5033, allocations: 32.5 kB / 0.5696 GB, free: 11.06 MB / 478.1 MB Notification: Performance of SimCode: time 6.01e-07/0.5034, allocations: 0 / 0.5696 GB, free: 11.06 MB / 478.1 MB Notification: Performance of Templates: time 0.05063/0.554, allocations: 33.07 MB / 0.6019 GB, free: 10.08 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.397007546969689]