Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001041/0.001041, allocations: 77.97 kB / 21.42 MB, free: 3.07 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.001085/0.001085, allocations: 171.6 kB / 24.82 MB, free: 9.281 MB / 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.02/1.02, allocations: 177.2 MB / 205.3 MB, free: 5.504 MB / 186.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.3045/0.3045, allocations: 32.81 MB / 294.6 MB, free: 1.262 MB / 266.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.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_4.0.0_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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 0 / 376.5 MB, free: 4.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.245e-05/3.496e-05, allocations: 2.312 kB / 376.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.01188/0.01191, allocations: 8.319 MB / 384.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003797/0.01571, allocations: 2.3 MB / 387.1 MB, free: 9.727 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005564/0.01626, allocations: 35.62 kB / 387.2 MB, free: 9.691 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005974/0.01686, allocations: 206.6 kB / 387.4 MB, free: 9.488 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002738/0.0196, allocations: 1.38 MB / 388.7 MB, free: 8.102 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002057/0.02166, allocations: 0.908 MB / 389.6 MB, free: 7.191 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0036/0.02526, allocations: 1.945 MB / 391.6 MB, free: 5.242 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.02635, allocations: 445.8 kB / 392 MB, free: 4.801 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003692/0.03004, allocations: 2.233 MB / 394.3 MB, free: 2.562 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.03108, allocations: 0.6077 MB / 394.9 MB, free: 1.953 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.03118, allocations: 60 kB / 394.9 MB, free: 1.895 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.03221, allocations: 495.1 kB / 395.4 MB, free: 1.41 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002778/0.03249, allocations: 287.1 kB / 395.7 MB, free: 1.129 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000321/0.03281, allocations: 287.3 kB / 396 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.03432, allocations: 0.9853 MB / 397 MB, free: 15.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.03433, allocations: 0 / 397 MB, free: 15.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.03433, allocations: 0 / 397 MB, free: 15.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.03434, allocations: 0 / 397 MB, free: 15.86 MB / 378.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.002028/0.03637, allocations: 1.13 MB / 398.1 MB, free: 14.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.392e-05/0.03644, allocations: 12.03 kB / 398.1 MB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007384/0.03717, allocations: 239.8 kB / 398.3 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000605/0.03778, allocations: 496.8 kB / 398.8 MB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/0.0379, allocations: 156.3 kB / 399 MB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.519e-05/0.03798, allocations: 52.38 kB / 399 MB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008709/0.03885, allocations: 0.97 MB / 400 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.03888, allocations: 7.953 kB / 400 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.748e-05/0.03892, allocations: 31.92 kB / 400 MB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.606e-05/0.03898, allocations: 44.91 kB / 400.1 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003989/0.03938, allocations: 258.5 kB / 400.3 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002931/0.04231, allocations: 4.153 MB / 404.5 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002993/0.04261, allocations: 175.2 kB / 404.6 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.382e-05/0.04268, allocations: 60.14 kB / 404.7 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/0.04279, allocations: 35.97 kB / 404.7 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.04283, allocations: 49.27 kB / 404.8 MB, free: 7.562 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.245e-06/0.04283, allocations: 3.938 kB / 404.8 MB, free: 7.559 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002407/0.04524, allocations: 0.9229 MB / 405.7 MB, free: 6.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.0453, allocations: 132.5 kB / 405.8 MB, free: 6.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00043/0.04573, allocations: 0.5916 MB / 406.4 MB, free: 5.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.04576, allocations: 29.7 kB / 406.5 MB, free: 5.785 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/0.046, allocations: 466.6 kB / 406.9 MB, free: 5.324 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.387e-05/0.04609, allocations: 142.8 kB / 407.1 MB, free: 5.184 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.04625, allocations: 172.1 kB / 407.2 MB, free: 5.008 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.04643, allocations: 0.5546 MB / 407.8 MB, free: 4.441 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.04654, allocations: 73.94 kB / 407.9 MB, free: 4.367 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003594/0.0469, allocations: 0.5999 MB / 408.5 MB, free: 3.547 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004668/0.04736, allocations: 0.6223 MB / 409.1 MB, free: 2.734 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.04737, allocations: 4 kB / 409.1 MB, free: 2.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0007704/0.04814, allocations: 0.6297 MB / 409.7 MB, free: 2.086 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.04816, allocations: 12 kB / 409.7 MB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.04817, allocations: 11.98 kB / 409.7 MB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006672/0.04884, allocations: 231.1 kB / 410 MB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.04906, allocations: 123.8 kB / 410.1 MB, free: 1.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008716/0.04993, allocations: 1.736 MB / 411.8 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002658/0.0502, allocations: 27.94 kB / 411.8 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003678/0.05056, allocations: 39.98 kB / 411.9 MB, free: 15.84 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * 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.0002072/0.05077, allocations: 208.4 kB / 412.1 MB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.705e-05/0.05086, allocations: 71.62 kB / 412.2 MB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007597/0.05162, allocations: 0.5374 MB / 412.7 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.05162, allocations: 4 kB / 412.7 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.05162, allocations: 0 / 412.7 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.05163, allocations: 3.984 kB / 412.7 MB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009493/0.05258, allocations: 0.7977 MB / 413.5 MB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.05258, allocations: 3.938 kB / 413.5 MB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.05274, allocations: 43.92 kB / 413.5 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000546/0.05329, allocations: 175.2 kB / 413.7 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.0533, allocations: 8 kB / 413.7 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007226/0.05403, allocations: 1.686 MB / 415.4 MB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.05403, allocations: 0 / 415.4 MB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005873/0.05462, allocations: 0.5418 MB / 416 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.05476, allocations: 95.52 kB / 416 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.527e-05/0.05481, allocations: 12 kB / 416.1 MB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.05497, allocations: 15.98 kB / 416.1 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.05502, allocations: 31.95 kB / 416.1 MB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/0.05504, allocations: 11.98 kB / 416.1 MB, free: 11.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002338/0.05528, allocations: 342.6 kB / 416.5 MB, free: 11.08 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05528, allocations: 0 / 416.5 MB, free: 11.08 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000687/0.05596, allocations: 231.8 kB / 416.7 MB, free: 10.85 MB / 394.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.0003637/0.05633, allocations: 234.8 kB / 416.9 MB, free: 10.61 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005346/0.05686, allocations: 344.9 kB / 417.2 MB, free: 10.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.05687, allocations: 12.06 kB / 417.3 MB, free: 10.26 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.05707, allocations: 144.8 kB / 417.4 MB, free: 10.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000758/0.05783, allocations: 299.2 kB / 417.7 MB, free: 9.832 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.05951, allocations: 1.103 MB / 418.8 MB, free: 8.684 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.05964, allocations: 167 kB / 419 MB, free: 8.5 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003986/0.06004, allocations: 177.5 kB / 419.1 MB, free: 8.324 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005083/0.06054, allocations: 337.9 kB / 419.5 MB, free: 7.992 MB / 394.7 MB Notification: Performance of SimCode: time 1.352e-06/0.06055, allocations: 0 / 419.5 MB, free: 7.992 MB / 394.7 MB Notification: Performance of Templates: time 0.01878/0.07932, allocations: 14.1 MB / 433.6 MB, free: 10.18 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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: 4.043393277097493]