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.001208/0.001208, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001816/0.001816, allocations: 156.5 kB / 24.55 MB, free: 20 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 1.054/1.054, allocations: 177 MB / 204.8 MB, free: 5.609 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.285/0.285, allocations: 34.86 MB / 296.3 MB, free: 496 kB / 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 2.084e-06/2.084e-06, allocations: 0 / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/3.009e-05, allocations: 6.25 kB / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.01189/0.01192, allocations: 8.403 MB / 387.2 MB, free: 9.602 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004424/0.01635, allocations: 2.328 MB / 389.5 MB, free: 7.266 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007012/0.01705, allocations: 27.75 kB / 389.6 MB, free: 7.238 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007029/0.01775, allocations: 202.6 kB / 389.7 MB, free: 7.039 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002711/0.02046, allocations: 1.376 MB / 391.1 MB, free: 5.656 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.02204, allocations: 0.9002 MB / 392 MB, free: 4.754 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002146/0.02419, allocations: 1.949 MB / 394 MB, free: 2.801 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007875/0.02497, allocations: 441.8 kB / 394.4 MB, free: 2.363 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002373/0.02735, allocations: 1.707 MB / 396.1 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/0.02873, allocations: 1.115 MB / 397.2 MB, free: 15.54 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001671/0.0289, allocations: 60 kB / 397.3 MB, free: 15.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009129/0.02981, allocations: 483.2 kB / 397.8 MB, free: 15 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000276/0.03009, allocations: 287.1 kB / 398 MB, free: 14.72 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003137/0.0304, allocations: 295.3 kB / 398.3 MB, free: 14.43 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001406/0.03181, allocations: 1.005 MB / 399.3 MB, free: 13.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.03181, allocations: 0 / 399.3 MB, free: 13.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.03182, allocations: 0 / 399.3 MB, free: 13.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.049e-05/0.03184, allocations: 0 / 399.3 MB, free: 13.43 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.001859/0.0337, allocations: 1.13 MB / 400.5 MB, free: 12.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.03374, allocations: 12.03 kB / 400.5 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007371/0.03447, allocations: 235.8 kB / 400.7 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006634/0.03514, allocations: 0.4968 MB / 401.2 MB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.03525, allocations: 156.3 kB / 401.4 MB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.012e-05/0.03533, allocations: 56.38 kB / 401.4 MB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009471/0.03628, allocations: 1.042 MB / 402.5 MB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.0363, allocations: 7.891 kB / 402.5 MB, free: 10 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.135e-05/0.03635, allocations: 27.98 kB / 402.5 MB, free: 9.977 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.285e-05/0.0364, allocations: 40.97 kB / 402.5 MB, free: 9.934 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005631/0.03696, allocations: 309.4 kB / 402.8 MB, free: 9.637 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003247/0.04021, allocations: 4.266 MB / 407.1 MB, free: 5.211 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003542/0.04056, allocations: 189.6 kB / 407.3 MB, free: 5.016 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.04066, allocations: 63.59 kB / 407.3 MB, free: 4.949 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.55e-05/0.04076, allocations: 35.97 kB / 407.4 MB, free: 4.914 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.04079, allocations: 41.39 kB / 407.4 MB, free: 4.863 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.044e-06/0.04079, allocations: 0 / 407.4 MB, free: 4.863 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002227/0.04302, allocations: 1.036 MB / 408.5 MB, free: 3.781 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/0.04308, allocations: 132.5 kB / 408.6 MB, free: 3.621 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004643/0.04354, allocations: 0.5764 MB / 409.2 MB, free: 3.027 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.04358, allocations: 33.7 kB / 409.2 MB, free: 2.988 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.0438, allocations: 462.7 kB / 409.6 MB, free: 2.531 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.082e-05/0.04388, allocations: 138.9 kB / 409.8 MB, free: 2.395 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.04403, allocations: 156.2 kB / 409.9 MB, free: 2.234 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.0442, allocations: 0.543 MB / 410.5 MB, free: 1.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.04435, allocations: 93.94 kB / 410.6 MB, free: 1.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00038/0.04473, allocations: 0.5884 MB / 411.2 MB, free: 0.793 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005635/0.04529, allocations: 0.6272 MB / 411.8 MB, free: 15.99 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.0453, allocations: 0 / 411.8 MB, free: 15.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008876/0.04618, allocations: 0.6638 MB / 412.4 MB, free: 15.31 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.04621, allocations: 8 kB / 412.5 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.04622, allocations: 16.81 kB / 412.5 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000679/0.0469, allocations: 231.2 kB / 412.7 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.04712, allocations: 119.8 kB / 412.8 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001023/0.04815, allocations: 1.756 MB / 414.6 MB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.0484, allocations: 27.98 kB / 414.6 MB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.846e-05/0.04845, allocations: 40 kB / 414.6 MB, free: 13.05 MB / 394.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.0001895/0.04864, allocations: 208.3 kB / 414.8 MB, free: 12.83 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.779e-05/0.04872, allocations: 75.58 kB / 414.9 MB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008411/0.04956, allocations: 0.5332 MB / 415.4 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.04957, allocations: 4 kB / 415.4 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/0.04958, allocations: 11.92 kB / 415.5 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.04959, allocations: 0 / 415.5 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.0507, allocations: 0.8908 MB / 416.4 MB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.05071, allocations: 7.984 kB / 416.4 MB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.05081, allocations: 47.98 kB / 416.4 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004535/0.05126, allocations: 151.2 kB / 416.6 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/0.05129, allocations: 8 kB / 416.6 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007003/0.05199, allocations: 1.694 MB / 418.3 MB, free: 9.258 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.05199, allocations: 3.938 kB / 418.3 MB, free: 9.254 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006379/0.05263, allocations: 0.5692 MB / 418.8 MB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.05278, allocations: 103.5 kB / 418.9 MB, free: 8.543 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.891e-05/0.05283, allocations: 16.09 kB / 418.9 MB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.053, allocations: 12 kB / 419 MB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.449e-05/0.05305, allocations: 31.88 kB / 419 MB, free: 8.484 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/0.05308, allocations: 23.98 kB / 419 MB, free: 8.461 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002646/0.05335, allocations: 346.8 kB / 419.4 MB, free: 8.125 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05335, allocations: 0 / 419.4 MB, free: 8.125 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005955/0.05394, allocations: 235.8 kB / 419.6 MB, free: 7.895 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.0003814/0.05432, allocations: 234.8 kB / 419.8 MB, free: 7.652 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006841/0.05501, allocations: 368.4 kB / 420.2 MB, free: 7.293 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.05501, allocations: 4 kB / 420.2 MB, free: 7.289 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002387/0.05525, allocations: 156.8 kB / 420.3 MB, free: 7.133 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000778/0.05603, allocations: 291.2 kB / 420.6 MB, free: 6.852 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.05812, allocations: 1.092 MB / 421.7 MB, free: 5.715 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.05823, allocations: 167 kB / 421.9 MB, free: 5.531 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004062/0.05863, allocations: 225.3 kB / 422.1 MB, free: 5.309 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.05873, allocations: 64.47 kB / 422.1 MB, free: 5.246 MB / 394.7 MB Notification: Performance of SimCode: time 1.092e-06/0.05874, allocations: 0 / 422.1 MB, free: 5.246 MB / 394.7 MB Notification: Performance of Templates: time 0.01719/0.07592, allocations: 12.83 MB / 435 MB, free: 8.684 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.911592616699636]