Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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.0009717/0.0009717, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001196/0.001196, allocations: 169 kB / 24.25 MB, free: 308 kB / 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 0.98/0.98, allocations: 158.6 MB / 186 MB, free: 2.488 MB / 170.7 MB " [Timeout remaining time 179] 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.1365/0.1365, allocations: 32.37 MB / 270.7 MB, free: 14.75 MB / 266.7 MB " [Timeout remaining time 180] 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.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.[0-9,]+.|volume.ports.[0-9,]+..m_flow|volume.ports.[0-9,]+..p|volume.ports.[0-9,]+..h_outflow|volume.ports_H_flow.[0-9,]+.|volume.ports_E_flow.[0-9,]+.|volume.ports_penetration.[0-9,]+.|volume.portsData_diameter.[0-9,]+.|volume.portsData_height.[0-9,]+.|volume.portsData_zeta_in.[0-9,]+.|volume.portsData_zeta_out.[0-9,]+.|fixedMassFlowRate.ports.[0-9,]+..m_flow|fixedMassFlowRate.ports.[0-9,]+..p|fixedMassFlowRate.ports.[0-9,]+..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.[0-9,]+.|volume.ports.[0-9,]+..m_flow|volume.ports.[0-9,]+..p|volume.ports.[0-9,]+..h_outflow|volume.ports_H_flow.[0-9,]+.|volume.ports_E_flow.[0-9,]+.|volume.ports_penetration.[0-9,]+.|volume.portsData_diameter.[0-9,]+.|volume.portsData_height.[0-9,]+.|volume.portsData_zeta_in.[0-9,]+.|volume.portsData_zeta_out.[0-9,]+.|fixedMassFlowRate.ports.[0-9,]+..m_flow|fixedMassFlowRate.ports.[0-9,]+..p|fixedMassFlowRate.ports.[0-9,]+..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 347.7 MB, free: 9.758 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.597e-05/1.767e-05, allocations: 6.25 kB / 347.7 MB, free: 9.75 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.02224/0.02226, allocations: 30.64 MB / 378.3 MB, free: 11 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005103/0.02736, allocations: 4.632 MB / 383 MB, free: 6.355 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003133/0.02768, allocations: 27.75 kB / 383 MB, free: 6.328 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006908/0.02837, allocations: 290 kB / 383.3 MB, free: 6.043 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003661/0.03203, allocations: 1.925 MB / 385.2 MB, free: 4.109 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003043/0.03507, allocations: 1.581 MB / 386.8 MB, free: 2.523 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002224/0.03729, allocations: 1.894 MB / 388.7 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005039/0.0378, allocations: 437.8 kB / 389.1 MB, free: 196 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004686/0.04248, allocations: 3.815 MB / 392.9 MB, free: 12.37 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001956/0.04444, allocations: 1.391 MB / 394.3 MB, free: 10.97 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.905e-05/0.04454, allocations: 60 kB / 394.4 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002175/0.04671, allocations: 1.501 MB / 395.9 MB, free: 9.41 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002488/0.04696, allocations: 287.2 kB / 396.1 MB, free: 9.129 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003023/0.04727, allocations: 295.3 kB / 396.4 MB, free: 8.84 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.04884, allocations: 1.305 MB / 397.7 MB, free: 7.531 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.04885, allocations: 0 / 397.7 MB, free: 7.531 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.04885, allocations: 7.938 kB / 397.7 MB, free: 7.523 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.04886, allocations: 4 kB / 397.7 MB, free: 7.52 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001673/0.05053, allocations: 1.184 MB / 398.9 MB, free: 6.297 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.05057, allocations: 8.031 kB / 398.9 MB, free: 6.289 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.05162, allocations: 255.7 kB / 399.2 MB, free: 6.039 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007043/0.05233, allocations: 496.8 kB / 399.7 MB, free: 5.527 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.05245, allocations: 156.3 kB / 399.8 MB, free: 5.352 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.722e-05/0.05255, allocations: 60.31 kB / 399.9 MB, free: 5.293 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.0537, allocations: 1.056 MB / 400.9 MB, free: 4.035 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.05373, allocations: 4.125 kB / 400.9 MB, free: 4.031 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.874e-05/0.0538, allocations: 39.86 kB / 401 MB, free: 3.992 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-05/0.05386, allocations: 40.98 kB / 401 MB, free: 3.949 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009647/0.05482, allocations: 301.5 kB / 401.3 MB, free: 3.656 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003559/0.05838, allocations: 4.341 MB / 405.7 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/0.05882, allocations: 191.2 kB / 405.8 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.05894, allocations: 63.66 kB / 405.9 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001937/0.05914, allocations: 92.52 kB / 406 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.05917, allocations: 41.39 kB / 406 MB, free: 14.74 MB / 346.7 MB Notification: Performance of pre-optimization done (n=30): time 1.683e-06/0.05917, allocations: 3.938 kB / 406 MB, free: 14.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.002699/0.06187, allocations: 1.04 MB / 407.1 MB, free: 13.65 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.06192, allocations: 132.5 kB / 407.2 MB, free: 13.49 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005294/0.06245, allocations: 0.5765 MB / 407.8 MB, free: 12.9 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.06249, allocations: 33.7 kB / 407.8 MB, free: 12.86 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003492/0.06598, allocations: 462.7 kB / 408.3 MB, free: 12.4 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.191e-05/0.06607, allocations: 138.8 kB / 408.4 MB, free: 12.26 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/0.06625, allocations: 160.2 kB / 408.6 MB, free: 12.1 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.06641, allocations: 0.5469 MB / 409.1 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.06659, allocations: 89.94 kB / 409.2 MB, free: 11.45 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004241/0.06702, allocations: 0.5884 MB / 409.8 MB, free: 10.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000603/0.06762, allocations: 0.631 MB / 410.4 MB, free: 9.852 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.06763, allocations: 4 kB / 410.4 MB, free: 9.848 MB / 346.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004079/0.07171, allocations: 0.6642 MB / 411.1 MB, free: 9.168 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.07173, allocations: 10.34 kB / 411.1 MB, free: 9.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.07174, allocations: 11.94 kB / 411.1 MB, free: 9.148 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008318/0.07257, allocations: 243.6 kB / 411.3 MB, free: 8.902 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/0.07286, allocations: 123.8 kB / 411.5 MB, free: 8.781 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008638/0.07373, allocations: 1.752 MB / 413.2 MB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/0.07402, allocations: 28 kB / 413.2 MB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.625e-05/0.07407, allocations: 43.98 kB / 413.3 MB, free: 6.895 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001768/0.07425, allocations: 208.3 kB / 413.5 MB, free: 6.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.07436, allocations: 79.58 kB / 413.6 MB, free: 6.602 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00393/0.07829, allocations: 479.5 kB / 414 MB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.0783, allocations: 8 kB / 414 MB, free: 6.117 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.0783, allocations: 3.938 kB / 414 MB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.07831, allocations: 3.984 kB / 414.1 MB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.07954, allocations: 0.9104 MB / 415 MB, free: 5.141 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.07954, allocations: 3.938 kB / 415 MB, free: 5.137 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.07966, allocations: 39.98 kB / 415 MB, free: 5.098 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007376/0.0804, allocations: 167.2 kB / 415.2 MB, free: 4.926 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.08042, allocations: 12 kB / 415.2 MB, free: 4.914 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003787/0.08421, allocations: 1.697 MB / 416.9 MB, free: 3.152 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.08421, allocations: 4 kB / 416.9 MB, free: 3.148 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007663/0.08498, allocations: 0.573 MB / 417.5 MB, free: 2.535 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.08514, allocations: 111.5 kB / 417.6 MB, free: 2.426 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.448e-05/0.08521, allocations: 4 kB / 417.6 MB, free: 2.422 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.08544, allocations: 24.03 kB / 417.6 MB, free: 2.398 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.25e-05/0.0855, allocations: 27.95 kB / 417.6 MB, free: 2.371 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.836e-05/0.08554, allocations: 23.97 kB / 417.6 MB, free: 2.348 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002968/0.08584, allocations: 354.8 kB / 418 MB, free: 2.004 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.08584, allocations: 0 / 418 MB, free: 2.004 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003746/0.08958, allocations: 291.5 kB / 418.3 MB, free: 1.719 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006819/0.09026, allocations: 382.3 kB / 418.6 MB, free: 1.344 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006713/0.09094, allocations: 372.9 kB / 419 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.09094, allocations: 4 kB / 419 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002817/0.09122, allocations: 159.9 kB / 419.2 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009489/0.09217, allocations: 298.1 kB / 419.5 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00488/0.09705, allocations: 1.104 MB / 420.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.09717, allocations: 163 kB / 420.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004303/0.0976, allocations: 186.1 kB / 420.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.09772, allocations: 64.48 kB / 421 MB, free: 14.96 MB / 362.7 MB Notification: Performance of SimCode: time 8.62e-07/0.09772, allocations: 0 / 421 MB, free: 14.96 MB / 362.7 MB Notification: Performance of Templates: time 0.03143/0.1292, allocations: 14.59 MB / 435.6 MB, free: 464 kB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Essotherm650/Essotherm650.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: 3.6176295208279043]