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.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.002089/0.002089, allocations: 88.23 kB / 20.2 MB, free: 4.227 MB / 18.57 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.002832/0.002832, allocations: 157.7 kB / 23.51 MB, free: 0.9219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.592/1.592, allocations: 158.6 MB / 185.3 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.423/0.423, allocations: 32.37 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 179] 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.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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 346.9 MB, free: 9.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.972e-05/3.182e-05, allocations: 2.312 kB / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03312/0.03315, allocations: 27.41 MB / 374.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02282/0.05597, allocations: 13.78 MB / 388.1 MB, free: 484 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005328/0.0565, allocations: 15.81 kB / 388.1 MB, free: 468 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009368/0.05744, allocations: 198.6 kB / 388.3 MB, free: 268 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001084/0.05852, allocations: 294.2 kB / 388.6 MB, free: 15.97 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02064/0.07916, allocations: 5.634 MB / 394.2 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002299/0.08146, allocations: 0.8107 MB / 395.1 MB, free: 9.504 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009274/0.08239, allocations: 203.8 kB / 395.3 MB, free: 9.305 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01604/0.09843, allocations: 5.606 MB / 400.9 MB, free: 3.617 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000624/0.09905, allocations: 203.4 kB / 401.1 MB, free: 3.418 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.732e-05/0.09913, allocations: 28 kB / 401.1 MB, free: 3.391 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01406/0.1132, allocations: 5.849 MB / 406.9 MB, free: 13.54 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002054/0.1134, allocations: 95.64 kB / 407 MB, free: 13.44 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003162/0.1137, allocations: 123.8 kB / 407.2 MB, free: 13.32 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.1245, allocations: 4.638 MB / 411.8 MB, free: 8.672 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1246, allocations: 0 / 411.8 MB, free: 8.672 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1246, allocations: 0 / 411.8 MB, free: 8.672 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.743e-05/0.1246, allocations: 0 / 411.8 MB, free: 8.672 MB / 346.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.0031/0.1277, allocations: 0.9237 MB / 412.7 MB, free: 7.711 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.1277, allocations: 16.03 kB / 412.7 MB, free: 7.695 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/0.1289, allocations: 172.1 kB / 412.9 MB, free: 7.527 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007524/0.1297, allocations: 300.5 kB / 413.2 MB, free: 7.207 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.643e-05/0.1297, allocations: 24.88 kB / 413.2 MB, free: 7.184 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.588e-05/0.1298, allocations: 24.38 kB / 413.2 MB, free: 7.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.1312, allocations: 0.5869 MB / 413.8 MB, free: 6.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.1312, allocations: 4.125 kB / 413.8 MB, free: 6.496 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.553e-05/0.1313, allocations: 15.94 kB / 413.8 MB, free: 6.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.1313, allocations: 12 kB / 413.9 MB, free: 6.469 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.1326, allocations: 369.5 kB / 414.2 MB, free: 6.105 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003367/0.1359, allocations: 1.731 MB / 416 MB, free: 4.309 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.1371, allocations: 262.3 kB / 416.2 MB, free: 4.043 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003196/0.1374, allocations: 92.78 kB / 416.3 MB, free: 3.949 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003039/0.1377, allocations: 99.84 kB / 416.4 MB, free: 3.852 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.924e-05/0.1377, allocations: 38.56 kB / 416.4 MB, free: 3.805 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.1377, allocations: 0 / 416.4 MB, free: 3.805 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.001885/0.1396, allocations: 461.2 kB / 416.9 MB, free: 3.348 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.1397, allocations: 102.8 kB / 417 MB, free: 3.223 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003822/0.1401, allocations: 280.1 kB / 417.3 MB, free: 2.938 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.1402, allocations: 29.7 kB / 417.3 MB, free: 2.902 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.1404, allocations: 219.9 kB / 417.5 MB, free: 2.684 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/0.1404, allocations: 35.69 kB / 417.5 MB, free: 2.648 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.1405, allocations: 53.7 kB / 417.6 MB, free: 2.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002079/0.1407, allocations: 338.8 kB / 417.9 MB, free: 2.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002839/0.141, allocations: 91.86 kB / 418 MB, free: 2.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004423/0.1414, allocations: 247.7 kB / 418.3 MB, free: 1.852 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006542/0.1421, allocations: 285.4 kB / 418.5 MB, free: 1.523 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.1421, allocations: 11.94 kB / 418.5 MB, free: 1.512 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000816/0.1429, allocations: 321.1 kB / 418.9 MB, free: 1.191 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.1429, allocations: 8 kB / 418.9 MB, free: 1.184 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.1429, allocations: 4 kB / 418.9 MB, free: 1.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.143, allocations: 4 kB / 418.9 MB, free: 1.176 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000284/0.1432, allocations: 67.89 kB / 418.9 MB, free: 1.109 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.1433, allocations: 7.938 kB / 418.9 MB, free: 1.102 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.1435, allocations: 44.14 kB / 419 MB, free: 1.059 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/0.1435, allocations: 12 kB / 419 MB, free: 1.047 MB / 346.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.0004974/0.144, allocations: 157.7 kB / 419.2 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.412e-05/0.1441, allocations: 35.78 kB / 419.2 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/0.1454, allocations: 0.7794 MB / 420 MB, free: 60 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.1454, allocations: 4 kB / 420 MB, free: 56 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1454, allocations: 0 / 420 MB, free: 56 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.1455, allocations: 7.984 kB / 420 MB, free: 48 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005891/0.146, allocations: 438.6 kB / 420.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.146, allocations: 0 / 420.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/0.1463, allocations: 51.89 kB / 420.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1463, allocations: 0 / 420.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.1463, allocations: 4 kB / 420.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1463, allocations: 0 / 420.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1463, allocations: 0 / 420.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008595/0.1472, allocations: 474.9 kB / 420.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.029e-05/0.1472, allocations: 39.69 kB / 421 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.802e-05/0.1473, allocations: 23.78 kB / 421 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.1475, allocations: 15.98 kB / 421 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.655e-05/0.1476, allocations: 23.91 kB / 421 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.1476, allocations: 4 kB / 421 MB, free: 14.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000394/0.148, allocations: 303.1 kB / 421.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.148, allocations: 0 / 421.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002666/0.1506, allocations: 0.8538 MB / 422.2 MB, free: 13.79 MB / 362.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.003722/0.1544, allocations: 1.114 MB / 423.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007851/0.1551, allocations: 264.5 kB / 423.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1552, allocations: 4 kB / 423.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003201/0.1555, allocations: 145.6 kB / 423.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008411/0.1563, allocations: 164.8 kB / 423.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.1578, allocations: 0.8305 MB / 424.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.1581, allocations: 239.8 kB / 424.9 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003146/0.1584, allocations: 142.7 kB / 425.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.141e-05/0.1585, allocations: 28.48 kB / 425.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.1585, allocations: 4 kB / 425.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of Templates: time 0.196/0.3544, allocations: 33.2 MB / 458.3 MB, free: 80.39 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.508168069995008]