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.001039/0.001039, allocations: 86.59 kB / 21.43 MB, free: 3.074 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.001395/0.001395, allocations: 170 kB / 24.82 MB, free: 9.305 MB / 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.9027/0.9027, allocations: 177 MB / 205.1 MB, free: 5.488 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.2422/0.2422, allocations: 34.87 MB / 296.6 MB, free: 452 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 1.803e-06/1.803e-06, allocations: 0 / 379.3 MB, free: 1.809 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/2.981e-05, allocations: 2.312 kB / 379.3 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.01601/0.01604, allocations: 8.318 MB / 387.6 MB, free: 9.441 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009694/0.02574, allocations: 2.3 MB / 389.9 MB, free: 7.133 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006257/0.02636, allocations: 27.75 kB / 389.9 MB, free: 7.105 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005284/0.02689, allocations: 206.6 kB / 390.1 MB, free: 6.902 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002395/0.02928, allocations: 1.38 MB / 391.5 MB, free: 5.516 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.03085, allocations: 0.9041 MB / 392.4 MB, free: 4.609 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002006/0.03286, allocations: 1.941 MB / 394.3 MB, free: 2.664 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007224/0.03358, allocations: 453.8 kB / 394.8 MB, free: 2.215 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002992/0.03657, allocations: 2.233 MB / 397 MB, free: 15.98 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008354/0.03741, allocations: 0.6116 MB / 397.6 MB, free: 15.36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.03753, allocations: 60 kB / 397.7 MB, free: 15.3 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008657/0.03839, allocations: 483.1 kB / 398.1 MB, free: 14.83 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002248/0.03862, allocations: 283.2 kB / 398.4 MB, free: 14.55 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002767/0.0389, allocations: 295.3 kB / 398.7 MB, free: 14.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.04019, allocations: 0.9892 MB / 399.7 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.0402, allocations: 0 / 399.7 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.0402, allocations: 0 / 399.7 MB, free: 13.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.555e-05/0.04021, allocations: 4 kB / 399.7 MB, free: 13.27 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.001457/0.04167, allocations: 1.122 MB / 400.8 MB, free: 12.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.04171, allocations: 8.031 kB / 400.8 MB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006697/0.04238, allocations: 243.8 kB / 401.1 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000559/0.04294, allocations: 492.7 kB / 401.6 MB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.04304, allocations: 152.4 kB / 401.7 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.425e-05/0.04314, allocations: 60.36 kB / 401.8 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007977/0.04394, allocations: 0.9761 MB / 402.7 MB, free: 9.949 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.04395, allocations: 7.891 kB / 402.7 MB, free: 9.941 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.376e-05/0.044, allocations: 27.98 kB / 402.8 MB, free: 9.914 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.978e-05/0.04405, allocations: 36.98 kB / 402.8 MB, free: 9.875 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003855/0.04443, allocations: 258.5 kB / 403.1 MB, free: 9.625 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002692/0.04713, allocations: 4.169 MB / 407.2 MB, free: 5.309 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.0474, allocations: 167.2 kB / 407.4 MB, free: 5.133 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.656e-05/0.04747, allocations: 59.64 kB / 407.5 MB, free: 5.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.719e-05/0.04756, allocations: 43.94 kB / 407.5 MB, free: 5.027 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.04759, allocations: 45.33 kB / 407.5 MB, free: 4.973 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.453e-06/0.04759, allocations: 4 kB / 407.5 MB, free: 4.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002046/0.04964, allocations: 0.9194 MB / 408.5 MB, free: 4.004 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.04969, allocations: 136.5 kB / 408.6 MB, free: 3.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000398/0.05009, allocations: 0.5838 MB / 409.2 MB, free: 3.238 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.05012, allocations: 37.7 kB / 409.2 MB, free: 3.195 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000235/0.05036, allocations: 466.6 kB / 409.7 MB, free: 2.734 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.053e-05/0.05044, allocations: 138.8 kB / 409.8 MB, free: 2.598 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.05059, allocations: 168.1 kB / 410 MB, free: 2.426 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.05076, allocations: 0.5585 MB / 410.5 MB, free: 1.855 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.768e-05/0.05085, allocations: 65.94 kB / 410.6 MB, free: 1.789 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/0.05119, allocations: 0.6078 MB / 411.2 MB, free: 0.957 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004967/0.05169, allocations: 0.634 MB / 411.8 MB, free: 140 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.0517, allocations: 0 / 411.8 MB, free: 140 kB / 378.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.000847/0.05254, allocations: 0.6292 MB / 412.5 MB, free: 15.49 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.05257, allocations: 8 kB / 412.5 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.05259, allocations: 12 kB / 412.5 MB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006711/0.05326, allocations: 232.3 kB / 412.7 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.05349, allocations: 131.8 kB / 412.8 MB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007709/0.05427, allocations: 1.727 MB / 414.6 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/0.05453, allocations: 35.92 kB / 414.6 MB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/0.05457, allocations: 36 kB / 414.6 MB, free: 13.25 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.0001954/0.05477, allocations: 208.3 kB / 414.8 MB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.587e-05/0.05485, allocations: 75.62 kB / 414.9 MB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00076/0.05561, allocations: 0.5333 MB / 415.4 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.05562, allocations: 4 kB / 415.5 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.05562, allocations: 3.984 kB / 415.5 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.05563, allocations: 3.938 kB / 415.5 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.05671, allocations: 0.7976 MB / 416.3 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.05671, allocations: 3.938 kB / 416.3 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.853e-05/0.0568, allocations: 43.98 kB / 416.3 MB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000484/0.05728, allocations: 183.1 kB / 416.5 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.0573, allocations: 8 kB / 416.5 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007711/0.05808, allocations: 1.678 MB / 418.2 MB, free: 9.555 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.05808, allocations: 0 / 418.2 MB, free: 9.555 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006001/0.05868, allocations: 0.5418 MB / 418.7 MB, free: 8.973 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.05881, allocations: 91.53 kB / 418.8 MB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.433e-05/0.05885, allocations: 8 kB / 418.8 MB, free: 8.875 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.05901, allocations: 19.92 kB / 418.8 MB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.05905, allocations: 23.95 kB / 418.8 MB, free: 8.832 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.41e-05/0.05908, allocations: 19.98 kB / 418.9 MB, free: 8.812 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001952/0.05928, allocations: 334.6 kB / 419.2 MB, free: 8.488 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.05928, allocations: 0 / 419.2 MB, free: 8.488 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005511/0.05983, allocations: 239.7 kB / 419.4 MB, free: 8.254 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.0003214/0.06015, allocations: 234.8 kB / 419.7 MB, free: 8.012 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004606/0.06061, allocations: 347.1 kB / 420 MB, free: 7.676 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.06062, allocations: 1.875 kB / 420 MB, free: 7.676 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.0608, allocations: 145.4 kB / 420.1 MB, free: 7.531 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006966/0.0615, allocations: 301.9 kB / 420.4 MB, free: 7.246 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.06295, allocations: 1.099 MB / 421.5 MB, free: 6.105 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.06306, allocations: 163 kB / 421.7 MB, free: 5.926 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003305/0.06339, allocations: 185.5 kB / 421.9 MB, free: 5.742 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004275/0.06382, allocations: 337.9 kB / 422.2 MB, free: 5.41 MB / 394.7 MB Notification: Performance of SimCode: time 8.12e-07/0.06382, allocations: 0 / 422.2 MB, free: 5.41 MB / 394.7 MB Notification: Performance of Templates: time 0.01573/0.07955, allocations: 14.1 MB / 436.3 MB, free: 7.578 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.6024438431486487]