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.0008924/0.0008924, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001287/0.002179, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007404/0.0007404, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009039/0.001644, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.005/1.005, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1242/1.129, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.3503/0.3503, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03406/0.3843, allocations: 12.52 MB / 289.3 MB, free: 8.68 MB / 282.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 2.866e-06/2.866e-06, allocations: 1.25 kB / 290.6 MB, free: 7.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.868e-05/4.155e-05, allocations: 5.188 kB / 290.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.01869/0.01873, allocations: 14.58 MB / 305.2 MB, free: 9.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01679/0.03552, allocations: 11.73 MB / 316.9 MB, free: 13.9 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005139/0.03604, allocations: 15.88 kB / 316.9 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005296/0.03657, allocations: 131 kB / 317.1 MB, free: 13.76 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007576/0.03732, allocations: 290.1 kB / 317.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01612/0.05344, allocations: 4.897 MB / 322.2 MB, free: 8.559 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001471/0.05491, allocations: 0.8381 MB / 323.1 MB, free: 7.719 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005489/0.05546, allocations: 213.2 kB / 323.3 MB, free: 7.508 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004491/0.05995, allocations: 1.87 MB / 325.2 MB, free: 5.625 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004014/0.06035, allocations: 203.3 kB / 325.4 MB, free: 5.426 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.368e-05/0.06041, allocations: 28 kB / 325.4 MB, free: 5.398 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01163/0.07204, allocations: 6.228 MB / 331.6 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.07222, allocations: 71.78 kB / 331.7 MB, free: 15.09 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002983/0.07251, allocations: 115.8 kB / 331.8 MB, free: 14.98 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0104/0.08291, allocations: 3.369 MB / 335.2 MB, free: 11.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.476e-05/0.08294, allocations: 4 kB / 335.2 MB, free: 11.6 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.397e-06/0.08294, allocations: 0 / 335.2 MB, free: 11.6 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.995e-05/0.08296, allocations: 0 / 335.2 MB, free: 11.6 MB / 330.7 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.003108/0.08607, allocations: 1.156 MB / 336.3 MB, free: 10.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/0.08612, allocations: 8.031 kB / 336.3 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007245/0.08685, allocations: 269.3 kB / 336.6 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/0.08726, allocations: 248.7 kB / 336.8 MB, free: 9.855 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/0.08729, allocations: 24.88 kB / 336.9 MB, free: 9.832 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.08732, allocations: 32.31 kB / 336.9 MB, free: 9.801 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000759/0.08808, allocations: 0.5522 MB / 337.4 MB, free: 9.172 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.0881, allocations: 4.188 kB / 337.4 MB, free: 9.168 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.08812, allocations: 15.94 kB / 337.5 MB, free: 9.152 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.08813, allocations: 4 kB / 337.5 MB, free: 9.148 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003876/0.08852, allocations: 238.5 kB / 337.7 MB, free: 8.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.09007, allocations: 1.518 MB / 339.2 MB, free: 7.328 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000487/0.09056, allocations: 210.3 kB / 339.4 MB, free: 7.113 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.92e-05/0.0906, allocations: 20.86 kB / 339.4 MB, free: 7.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07106/0.1617, allocations: 38.89 MB / 378.3 MB, free: 160 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.919e-05/0.1617, allocations: 34.55 kB / 378.4 MB, free: 116 kB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 3.787e-06/0.1617, allocations: 0 / 378.4 MB, free: 116 kB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008282/0.1626, allocations: 302.9 kB / 378.7 MB, free: 15.81 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.1626, allocations: 59.41 kB / 378.7 MB, free: 15.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.1628, allocations: 262.8 kB / 379 MB, free: 15.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.1628, allocations: 25.7 kB / 379 MB, free: 15.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.163, allocations: 200.4 kB / 379.2 MB, free: 15.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.163, allocations: 39.67 kB / 379.2 MB, free: 15.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.745e-05/0.1631, allocations: 61.62 kB / 379.3 MB, free: 15.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1632, allocations: 338.8 kB / 379.6 MB, free: 14.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.119e-05/0.1632, allocations: 31.97 kB / 379.7 MB, free: 14.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.1634, allocations: 213.5 kB / 379.9 MB, free: 14.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.1636, allocations: 205.2 kB / 380.1 MB, free: 14.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1636, allocations: 0 / 380.1 MB, free: 14.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002215/0.1638, allocations: 190.9 kB / 380.3 MB, free: 14.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.1638, allocations: 12.02 kB / 380.3 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.1638, allocations: 11.98 kB / 380.3 MB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1639, allocations: 7.938 kB / 380.3 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.164, allocations: 67.91 kB / 380.4 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.164, allocations: 11.92 kB / 380.4 MB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.1642, allocations: 23.84 kB / 380.4 MB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.1642, allocations: 12 kB / 380.4 MB, free: 13.91 MB / 378.7 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.0001199/0.1643, allocations: 136.5 kB / 380.5 MB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.82e-05/0.1643, allocations: 15.98 kB / 380.5 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004872/0.1648, allocations: 0.5068 MB / 381.1 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/0.1648, allocations: 15.92 kB / 381.1 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1648, allocations: 0 / 381.1 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1648, allocations: 3.938 kB / 381.1 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002938/0.1651, allocations: 286.7 kB / 381.4 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.1651, allocations: 7.938 kB / 381.4 MB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.546e-05/0.1652, allocations: 35.97 kB / 381.4 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.428e-05/0.1653, allocations: 35.67 kB / 381.4 MB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.1653, allocations: 4 kB / 381.4 MB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1653, allocations: 8 kB / 381.4 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1653, allocations: 3.938 kB / 381.4 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1653, allocations: 0 / 381.4 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.1656, allocations: 338 kB / 381.8 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.1656, allocations: 19.78 kB / 381.8 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-05/0.1657, allocations: 19.98 kB / 381.8 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.1657, allocations: 19.91 kB / 381.8 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.1657, allocations: 4 kB / 381.8 MB, free: 12.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001217/0.1659, allocations: 160.7 kB / 382 MB, free: 12.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1659, allocations: 0 / 382 MB, free: 12.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002525/0.1684, allocations: 0.8577 MB / 382.9 MB, free: 11.39 MB / 378.7 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.003299/0.1717, allocations: 1.162 MB / 384 MB, free: 10.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003261/0.172, allocations: 133.2 kB / 384.1 MB, free: 10.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.139e-05/0.172, allocations: 8.188 kB / 384.2 MB, free: 10.08 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.744e-05/0.1721, allocations: 76.75 kB / 384.2 MB, free: 10 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005072/0.1726, allocations: 197.9 kB / 384.4 MB, free: 9.824 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00418/0.1768, allocations: 0.7977 MB / 385.2 MB, free: 8.992 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.1769, allocations: 121 kB / 385.3 MB, free: 8.852 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002656/0.1772, allocations: 132.5 kB / 385.5 MB, free: 8.723 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/0.1774, allocations: 157.2 kB / 385.6 MB, free: 8.566 MB / 378.7 MB Notification: Performance of SimCode: time 1.773e-06/0.1774, allocations: 0 / 385.6 MB, free: 8.566 MB / 378.7 MB Notification: Performance of Templates: time 0.04511/0.2225, allocations: 37.7 MB / 423.3 MB, free: 2.984 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.463562519289553]