Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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.0009554/0.0009554, allocations: 87.67 kB / 21.2 MB, free: 3.367 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.0009364/0.0009364, allocations: 156.5 kB / 24.55 MB, free: 12 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.9108/0.9108, allocations: 177 MB / 204.8 MB, free: 5.602 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.2926/0.2926, allocations: 34.87 MB / 296.3 MB, free: 0.5352 MB / 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.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p_start|T_start|h_start|X_start.[0-9,]+.|volume.medium.T|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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p_start|T_start|h_start|X_start.[0-9,]+.|volume.medium.T|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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 378.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/1.975e-05, allocations: 11.09 kB / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.00808/0.0081, allocations: 8.408 MB / 387.2 MB, free: 9.637 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003548/0.01165, allocations: 2.308 MB / 389.5 MB, free: 7.32 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004103/0.01206, allocations: 27.75 kB / 389.5 MB, free: 7.293 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005202/0.01258, allocations: 218.5 kB / 389.7 MB, free: 7.078 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002487/0.01507, allocations: 1.376 MB / 391.1 MB, free: 5.695 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.01657, allocations: 0.908 MB / 392 MB, free: 4.785 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001899/0.01847, allocations: 1.941 MB / 394 MB, free: 2.84 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006986/0.01917, allocations: 449.8 kB / 394.4 MB, free: 2.395 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002662/0.02183, allocations: 2.241 MB / 396.6 MB, free: 152 kB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006866/0.02252, allocations: 0.6077 MB / 397.3 MB, free: 15.54 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.405e-05/0.0226, allocations: 60 kB / 397.3 MB, free: 15.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007148/0.02332, allocations: 483.2 kB / 397.8 MB, free: 15.01 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001929/0.02351, allocations: 283.2 kB / 398.1 MB, free: 14.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002422/0.02375, allocations: 291.3 kB / 398.3 MB, free: 14.45 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.0248, allocations: 0.9853 MB / 399.3 MB, free: 13.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.0248, allocations: 3.938 kB / 399.3 MB, free: 13.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.0248, allocations: 0 / 399.3 MB, free: 13.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.02482, allocations: 4 kB / 399.3 MB, free: 13.45 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.001386/0.0262, allocations: 1.126 MB / 400.5 MB, free: 12.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.02624, allocations: 8.031 kB / 400.5 MB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000639/0.02688, allocations: 247.8 kB / 400.7 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005905/0.02747, allocations: 0.4891 MB / 401.2 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.02758, allocations: 156.4 kB / 401.4 MB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.928e-05/0.02766, allocations: 52.31 kB / 401.4 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.02879, allocations: 1.013 MB / 402.4 MB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.02881, allocations: 11.89 kB / 402.4 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.662e-05/0.02886, allocations: 24 kB / 402.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.871e-05/0.02891, allocations: 44.97 kB / 402.5 MB, free: 9.996 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004728/0.02938, allocations: 301.5 kB / 402.8 MB, free: 9.707 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002575/0.03196, allocations: 4.266 MB / 407.1 MB, free: 5.281 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/0.03227, allocations: 191.2 kB / 407.3 MB, free: 5.082 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.441e-05/0.03236, allocations: 67.59 kB / 407.3 MB, free: 5.012 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.16e-05/0.03243, allocations: 35.97 kB / 407.4 MB, free: 4.977 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.03246, allocations: 41.39 kB / 407.4 MB, free: 4.926 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.493e-06/0.03246, allocations: 0 / 407.4 MB, free: 4.926 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.001937/0.0344, allocations: 1.024 MB / 408.4 MB, free: 3.855 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.03445, allocations: 132.5 kB / 408.5 MB, free: 3.695 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006596/0.03511, allocations: 0.6035 MB / 409.1 MB, free: 3.074 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.03513, allocations: 33.7 kB / 409.2 MB, free: 3.035 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.03534, allocations: 466.7 kB / 409.6 MB, free: 2.574 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.058e-05/0.03541, allocations: 142.8 kB / 409.8 MB, free: 2.434 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.03555, allocations: 160.2 kB / 409.9 MB, free: 2.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.03571, allocations: 0.5469 MB / 410.5 MB, free: 1.711 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.03585, allocations: 89.92 kB / 410.6 MB, free: 1.625 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003549/0.03621, allocations: 0.6157 MB / 411.2 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004952/0.0367, allocations: 0.6614 MB / 411.8 MB, free: 15.94 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.03671, allocations: 4 kB / 411.8 MB, free: 15.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008107/0.03752, allocations: 0.6758 MB / 412.5 MB, free: 15.24 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.03753, allocations: 8 kB / 412.5 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.03755, allocations: 15.94 kB / 412.5 MB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005959/0.03814, allocations: 231.9 kB / 412.8 MB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.03836, allocations: 127.8 kB / 412.9 MB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007827/0.03914, allocations: 1.758 MB / 414.7 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.03935, allocations: 24 kB / 414.7 MB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.471e-05/0.03939, allocations: 44 kB / 414.7 MB, free: 12.97 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.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 (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.0001698/0.03956, allocations: 208.3 kB / 414.9 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.731e-05/0.03964, allocations: 75.62 kB / 415 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007704/0.04041, allocations: 0.5487 MB / 415.6 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.04042, allocations: 4 kB / 415.6 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.04042, allocations: 3.938 kB / 415.6 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.04042, allocations: 0 / 415.6 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.04163, allocations: 0.9025 MB / 416.5 MB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.04163, allocations: 0 / 416.5 MB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.007e-05/0.04172, allocations: 39.92 kB / 416.5 MB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003997/0.04212, allocations: 155.3 kB / 416.7 MB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.04214, allocations: 8 kB / 416.7 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006472/0.04279, allocations: 1.701 MB / 418.4 MB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.04279, allocations: 0 / 418.4 MB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005861/0.04338, allocations: 0.5692 MB / 418.9 MB, free: 8.555 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.0435, allocations: 99.52 kB / 419 MB, free: 8.457 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.022e-05/0.04355, allocations: 4 kB / 419 MB, free: 8.453 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.04371, allocations: 20.09 kB / 419.1 MB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.04376, allocations: 27.89 kB / 419.1 MB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/0.04379, allocations: 19.98 kB / 419.1 MB, free: 8.387 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002501/0.04404, allocations: 358.7 kB / 419.4 MB, free: 8.039 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.04404, allocations: 0 / 419.4 MB, free: 8.039 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004895/0.04453, allocations: 239.7 kB / 419.7 MB, free: 7.805 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.0003536/0.04488, allocations: 226.8 kB / 419.9 MB, free: 7.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005716/0.04546, allocations: 384.9 kB / 420.3 MB, free: 7.199 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.04546, allocations: 4.125 kB / 420.3 MB, free: 7.195 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.04568, allocations: 156.8 kB / 420.4 MB, free: 7.039 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007262/0.0464, allocations: 291.2 kB / 420.7 MB, free: 6.758 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.04798, allocations: 1.107 MB / 421.8 MB, free: 5.609 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.04808, allocations: 171 kB / 422 MB, free: 5.422 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003593/0.04844, allocations: 229.4 kB / 422.2 MB, free: 5.195 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.312e-05/0.04853, allocations: 56.48 kB / 422.3 MB, free: 5.141 MB / 394.7 MB Notification: Performance of SimCode: time 8.91e-07/0.04853, allocations: 0 / 422.3 MB, free: 5.141 MB / 394.7 MB Notification: Performance of Templates: time 0.0159/0.06444, allocations: 13.97 MB / 436.2 MB, free: 7.445 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.7709084399975836]