Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00083/0.00083, allocations: 91.5 kB / 21.19 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008917/0.0008917, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.963/0.963, allocations: 177 MB / 204.8 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2764/0.2764, allocations: 34.86 MB / 296.3 MB, free: 476 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.355e-05/1.495e-05, allocations: 4.984 kB / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.01242/0.01244, allocations: 14.52 MB / 393.3 MB, free: 3.48 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009568/0.022, allocations: 11.68 MB / 405 MB, free: 7.758 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001913/0.02219, allocations: 15.88 kB / 405 MB, free: 7.742 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004363/0.02263, allocations: 139 kB / 405.1 MB, free: 7.605 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004499/0.02308, allocations: 282.2 kB / 405.4 MB, free: 7.328 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009486/0.03257, allocations: 5.367 MB / 410.8 MB, free: 1.941 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007284/0.0333, allocations: 0.8536 MB / 411.6 MB, free: 1.082 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002753/0.03357, allocations: 197.3 kB / 411.8 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003023/0.03659, allocations: 2.212 MB / 414 MB, free: 14.65 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002145/0.03681, allocations: 211.3 kB / 414.2 MB, free: 14.44 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.8e-05/0.03686, allocations: 28 kB / 414.3 MB, free: 14.41 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006804/0.04366, allocations: 5.814 MB / 420.1 MB, free: 8.594 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.416e-05/0.04375, allocations: 95.66 kB / 420.2 MB, free: 8.5 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.04385, allocations: 131.7 kB / 420.3 MB, free: 8.371 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004588/0.04844, allocations: 4.463 MB / 424.8 MB, free: 3.898 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.04845, allocations: 4 kB / 424.8 MB, free: 3.895 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.04845, allocations: 0 / 424.8 MB, free: 3.895 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.04845, allocations: 0 / 424.8 MB, free: 3.895 MB / 394.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.001284/0.04974, allocations: 1.023 MB / 425.8 MB, free: 2.832 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.04977, allocations: 8.031 kB / 425.8 MB, free: 2.824 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005399/0.05031, allocations: 168.1 kB / 426 MB, free: 2.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.05063, allocations: 299.4 kB / 426.2 MB, free: 2.344 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.05066, allocations: 20.88 kB / 426.3 MB, free: 2.324 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.05069, allocations: 32.36 kB / 426.3 MB, free: 2.293 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006372/0.05132, allocations: 0.5906 MB / 426.9 MB, free: 1.605 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.05134, allocations: 4.188 kB / 426.9 MB, free: 1.602 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.05136, allocations: 15.94 kB / 426.9 MB, free: 1.586 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.05137, allocations: 8 kB / 426.9 MB, free: 1.578 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004103/0.05178, allocations: 262.5 kB / 427.2 MB, free: 1.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/0.05364, allocations: 2.187 MB / 429.4 MB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004636/0.05411, allocations: 230.8 kB / 429.6 MB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.187e-05/0.05417, allocations: 43.66 kB / 429.6 MB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001516/0.05432, allocations: 95.92 kB / 429.7 MB, free: 14.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.05434, allocations: 37.61 kB / 429.8 MB, free: 14.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.512e-06/0.05434, allocations: 3.938 kB / 429.8 MB, free: 14.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.000618/0.05496, allocations: 344.2 kB / 430.1 MB, free: 14.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.05501, allocations: 106.8 kB / 430.2 MB, free: 14.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.0552, allocations: 322.2 kB / 430.5 MB, free: 13.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.05522, allocations: 25.7 kB / 430.5 MB, free: 13.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.05532, allocations: 266.7 kB / 430.8 MB, free: 13.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.05535, allocations: 43.62 kB / 430.8 MB, free: 13.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.371e-05/0.05541, allocations: 63.31 kB / 430.9 MB, free: 13.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.05554, allocations: 0.5078 MB / 431.4 MB, free: 12.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.289e-05/0.05561, allocations: 43.95 kB / 431.5 MB, free: 12.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.05575, allocations: 273.5 kB / 431.7 MB, free: 12.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.05594, allocations: 254.7 kB / 432 MB, free: 12.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.05594, allocations: 4 kB / 432 MB, free: 12.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000263/0.0562, allocations: 253 kB / 432.2 MB, free: 11.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.05622, allocations: 8.469 kB / 432.2 MB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.05623, allocations: 8 kB / 432.2 MB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.05624, allocations: 4 kB / 432.2 MB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.05636, allocations: 51.91 kB / 432.3 MB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.05637, allocations: 8 kB / 432.3 MB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.738e-05/0.05646, allocations: 31.81 kB / 432.3 MB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.05647, allocations: 16 kB / 432.3 MB, free: 11.79 MB / 410.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 9e-05/0.05656, allocations: 176.5 kB / 432.5 MB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.0566, allocations: 31.81 kB / 432.6 MB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004414/0.05704, allocations: 0.5296 MB / 433.1 MB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.05705, allocations: 7.984 kB / 433.1 MB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.05705, allocations: 0 / 433.1 MB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.05706, allocations: 0 / 433.1 MB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/0.05733, allocations: 402 kB / 433.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.05734, allocations: 0 / 433.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.679e-05/0.05741, allocations: 31.98 kB / 433.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.05742, allocations: 4 kB / 433.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.05743, allocations: 7.984 kB / 433.5 MB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.05743, allocations: 0 / 433.5 MB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.05743, allocations: 0 / 433.5 MB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.05771, allocations: 412.4 kB / 433.9 MB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.784e-05/0.05773, allocations: 39.69 kB / 434 MB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.684e-05/0.05777, allocations: 19.78 kB / 434 MB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.896e-05/0.05785, allocations: 15.98 kB / 434 MB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.0579, allocations: 15.97 kB / 434 MB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.05791, allocations: 8 kB / 434 MB, free: 10.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001877/0.0581, allocations: 307 kB / 434.3 MB, free: 9.742 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0581, allocations: 0 / 434.3 MB, free: 9.742 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001736/0.05983, allocations: 0.8616 MB / 435.2 MB, free: 8.879 MB / 410.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.00244/0.06227, allocations: 1.085 MB / 436.3 MB, free: 7.781 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002687/0.06254, allocations: 155.4 kB / 436.4 MB, free: 7.625 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.06255, allocations: 0.9375 kB / 436.4 MB, free: 7.625 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.365e-05/0.06264, allocations: 83.58 kB / 436.5 MB, free: 7.539 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004923/0.06313, allocations: 163.6 kB / 436.7 MB, free: 7.387 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.06427, allocations: 0.7859 MB / 437.5 MB, free: 6.566 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.05e-05/0.06434, allocations: 113.1 kB / 437.6 MB, free: 6.434 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000166/0.06451, allocations: 138.8 kB / 437.7 MB, free: 6.297 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.082e-05/0.06456, allocations: 28.5 kB / 437.7 MB, free: 6.27 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.06456, allocations: 0 / 437.7 MB, free: 6.27 MB / 410.7 MB Notification: Performance of Templates: time 0.1862/0.2507, allocations: 39.16 MB / 476.9 MB, free: 70.62 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 5.147837888915092]