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.002012/0.002012, allocations: 84.34 kB / 20.95 MB, free: 3.449 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.00257/0.00257, allocations: 165.3 kB / 24.27 MB, free: 144 kB / 18.57 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.534/1.534, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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.3617/0.3617, allocations: 32.79 MB / 293.9 MB, free: 1.184 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.974e-05/4.175e-05, allocations: 5.547 kB / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.05393/0.05397, allocations: 27.52 MB / 402.8 MB, free: 9.363 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02978/0.08375, allocations: 13.83 MB / 416.6 MB, free: 11.48 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005993/0.08435, allocations: 23.81 kB / 416.6 MB, free: 11.46 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.08537, allocations: 198.6 kB / 416.8 MB, free: 11.27 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001033/0.0864, allocations: 286.1 kB / 417.1 MB, free: 10.98 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02364/0.11, allocations: 5.665 MB / 422.8 MB, free: 5.297 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001731/0.1118, allocations: 0.8185 MB / 423.6 MB, free: 4.473 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005218/0.1123, allocations: 205 kB / 423.8 MB, free: 4.266 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01696/0.1293, allocations: 5.61 MB / 429.4 MB, free: 14.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006236/0.1299, allocations: 215.3 kB / 429.6 MB, free: 14.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.818e-05/0.13, allocations: 28 kB / 429.6 MB, free: 14.34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01647/0.1464, allocations: 5.849 MB / 435.5 MB, free: 8.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002379/0.1467, allocations: 87.67 kB / 435.6 MB, free: 8.395 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000383/0.1471, allocations: 139.7 kB / 435.7 MB, free: 8.258 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01413/0.1612, allocations: 4.654 MB / 440.4 MB, free: 3.594 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1612, allocations: 4 kB / 440.4 MB, free: 3.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1612, allocations: 0 / 440.4 MB, free: 3.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.1612, allocations: 0 / 440.4 MB, free: 3.59 MB / 410.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.003374/0.1646, allocations: 0.9392 MB / 441.3 MB, free: 2.617 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/0.1646, allocations: 12.03 kB / 441.3 MB, free: 2.605 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/0.1661, allocations: 192 kB / 441.5 MB, free: 2.418 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007736/0.1668, allocations: 284.7 kB / 441.8 MB, free: 2.113 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.494e-05/0.1669, allocations: 16.88 kB / 441.8 MB, free: 2.098 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.521e-05/0.1669, allocations: 32.31 kB / 441.8 MB, free: 2.066 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.1687, allocations: 0.5986 MB / 442.4 MB, free: 1.391 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.1687, allocations: 192 / 442.4 MB, free: 1.391 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.491e-05/0.1687, allocations: 15.94 kB / 442.4 MB, free: 1.375 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.1688, allocations: 8 kB / 442.4 MB, free: 1.367 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/0.1704, allocations: 369.5 kB / 442.8 MB, free: 1.004 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.25/0.4204, allocations: 1.723 MB / 444.5 MB, free: 105.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.422, allocations: 272.7 kB / 444.8 MB, free: 105.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000428/0.4225, allocations: 91.31 kB / 444.9 MB, free: 105.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004057/0.4229, allocations: 97.52 kB / 445 MB, free: 105.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.4229, allocations: 37.66 kB / 445 MB, free: 105.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 3.296e-06/0.4229, allocations: 2.5 kB / 445 MB, free: 105.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.002479/0.4254, allocations: 459.8 kB / 445.5 MB, free: 105.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.4254, allocations: 106.1 kB / 445.6 MB, free: 105.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/0.4258, allocations: 279.3 kB / 445.8 MB, free: 105.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.4258, allocations: 28.89 kB / 445.9 MB, free: 105.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.426, allocations: 219.1 kB / 446.1 MB, free: 105.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.335e-05/0.426, allocations: 45.22 kB / 446.1 MB, free: 105.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.4261, allocations: 56.88 kB / 446.2 MB, free: 105.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.4263, allocations: 344.7 kB / 446.5 MB, free: 104.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004212/0.4267, allocations: 81.19 kB / 446.6 MB, free: 104.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000499/0.4272, allocations: 256.7 kB / 446.9 MB, free: 104.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008931/0.4281, allocations: 281.2 kB / 447.1 MB, free: 104.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.4281, allocations: 7.375 kB / 447.1 MB, free: 104.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008766/0.429, allocations: 320 kB / 447.5 MB, free: 104.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.429, allocations: 12.16 kB / 447.5 MB, free: 104.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.429, allocations: 3 kB / 447.5 MB, free: 104.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.429, allocations: 9.25 kB / 447.5 MB, free: 104.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.4293, allocations: 67.83 kB / 447.5 MB, free: 104.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.4293, allocations: 2.906 kB / 447.5 MB, free: 104.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.4295, allocations: 43.78 kB / 447.6 MB, free: 104.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.4295, allocations: 11.56 kB / 447.6 MB, free: 104.3 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 0.0001325/0.4297, allocations: 157.9 kB / 447.8 MB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.216e-05/0.4297, allocations: 28.39 kB / 447.8 MB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.4307, allocations: 0.7851 MB / 448.6 MB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.4307, allocations: 6.281 kB / 448.6 MB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.4307, allocations: 3.938 kB / 448.6 MB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.4307, allocations: 0 / 448.6 MB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003873/0.4311, allocations: 440.7 kB / 449 MB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4311, allocations: 0 / 449 MB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.4313, allocations: 44.16 kB / 449 MB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4313, allocations: 2.75 kB / 449.1 MB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.4313, allocations: 4 kB / 449.1 MB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.4313, allocations: 0 / 449.1 MB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4313, allocations: 2.812 kB / 449.1 MB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006225/0.432, allocations: 479.6 kB / 449.5 MB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.293e-05/0.432, allocations: 37.61 kB / 449.6 MB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.981e-05/0.4321, allocations: 24.56 kB / 449.6 MB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.4323, allocations: 15.34 kB / 449.6 MB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.999e-05/0.4323, allocations: 18.09 kB / 449.6 MB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/0.4324, allocations: 10.05 kB / 449.6 MB, free: 103.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002621/0.4326, allocations: 304.7 kB / 449.9 MB, free: 103.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4326, allocations: 0 / 449.9 MB, free: 103.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002207/0.4348, allocations: 0.858 MB / 450.8 MB, free: 103 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.003218/0.438, allocations: 1.109 MB / 451.9 MB, free: 102.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000693/0.4387, allocations: 272.3 kB / 452.2 MB, free: 102.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4387, allocations: 0 / 452.2 MB, free: 102.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002561/0.439, allocations: 143.8 kB / 452.3 MB, free: 102.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007846/0.4398, allocations: 156.1 kB / 452.5 MB, free: 102.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.4409, allocations: 0.8338 MB / 453.3 MB, free: 102.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.441, allocations: 243.7 kB / 453.5 MB, free: 102.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002343/0.4413, allocations: 132.9 kB / 453.7 MB, free: 102.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.748e-05/0.4413, allocations: 31.84 kB / 453.7 MB, free: 102.1 MB / 410.7 MB Notification: Performance of SimCode: time 8.51e-07/0.4413, allocations: 0 / 453.7 MB, free: 102.1 MB / 410.7 MB Notification: Performance of Templates: time 0.04336/0.4847, allocations: 33.3 MB / 487 MB, free: 92.58 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins/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.625789230922237]