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.001073/0.001073, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001103/0.001103, allocations: 165.2 kB / 24.99 MB, free: 8.219 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.9709/0.9709, allocations: 177 MB / 205.2 MB, free: 5.52 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.2921/0.2921, allocations: 34.85 MB / 296.6 MB, free: 468 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.443e-06/1.443e-06, allocations: 0 / 378.8 MB, free: 2.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.582e-05/1.726e-05, allocations: 6.312 kB / 378.8 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.01785/0.01787, allocations: 25.69 MB / 404.5 MB, free: 8.586 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004007/0.02188, allocations: 4.402 MB / 408.9 MB, free: 4.172 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002962/0.02217, allocations: 27.75 kB / 408.9 MB, free: 4.145 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000586/0.02276, allocations: 301.9 kB / 409.2 MB, free: 3.848 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002219/0.02498, allocations: 1.723 MB / 410.9 MB, free: 2.117 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.02665, allocations: 1.433 MB / 412.3 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001312/0.02797, allocations: 1.879 MB / 414.2 MB, free: 14.8 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004218/0.02839, allocations: 449.7 kB / 414.6 MB, free: 14.35 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003402/0.03179, allocations: 3.678 MB / 418.3 MB, free: 10.66 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.03295, allocations: 1.422 MB / 419.8 MB, free: 9.234 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.989e-05/0.03303, allocations: 64 kB / 419.8 MB, free: 9.172 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.0343, allocations: 1.31 MB / 421.1 MB, free: 7.859 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001911/0.03449, allocations: 291.1 kB / 421.4 MB, free: 7.574 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002241/0.03472, allocations: 291.3 kB / 421.7 MB, free: 7.289 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.03606, allocations: 1.157 MB / 422.8 MB, free: 6.129 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.03606, allocations: 0 / 422.8 MB, free: 6.129 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.03606, allocations: 0 / 422.8 MB, free: 6.129 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.03607, allocations: 4 kB / 422.9 MB, free: 6.125 MB / 394.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.001284/0.03735, allocations: 1.172 MB / 424 MB, free: 4.914 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.03739, allocations: 8.031 kB / 424 MB, free: 4.906 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000733/0.03812, allocations: 251.8 kB / 424.3 MB, free: 4.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005373/0.03866, allocations: 0.489 MB / 424.8 MB, free: 4.145 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.03876, allocations: 160.3 kB / 424.9 MB, free: 3.965 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-05/0.03883, allocations: 52.38 kB / 425 MB, free: 3.914 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008474/0.03968, allocations: 1.036 MB / 426 MB, free: 2.676 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.0397, allocations: 3.938 kB / 426 MB, free: 2.672 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.716e-05/0.03974, allocations: 28 kB / 426 MB, free: 2.645 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-05/0.03979, allocations: 40.98 kB / 426.1 MB, free: 2.602 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004931/0.04028, allocations: 305.5 kB / 426.4 MB, free: 2.309 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002713/0.043, allocations: 4.282 MB / 430.7 MB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003145/0.04331, allocations: 183.2 kB / 430.8 MB, free: 13.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.436e-05/0.0434, allocations: 71.59 kB / 430.9 MB, free: 13.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.48e-05/0.04348, allocations: 35.97 kB / 430.9 MB, free: 13.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.0435, allocations: 41.39 kB / 431 MB, free: 13.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.253e-06/0.0435, allocations: 0 / 431 MB, free: 13.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001958/0.04546, allocations: 1.032 MB / 432 MB, free: 12.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.04551, allocations: 136.5 kB / 432.2 MB, free: 12.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000405/0.04592, allocations: 0.5842 MB / 432.7 MB, free: 11.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.04595, allocations: 33.7 kB / 432.8 MB, free: 11.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.04614, allocations: 458.8 kB / 433.2 MB, free: 11.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.063e-05/0.04621, allocations: 142.8 kB / 433.4 MB, free: 11.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.04634, allocations: 152.2 kB / 433.5 MB, free: 10.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.04648, allocations: 0.543 MB / 434 MB, free: 10.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.04662, allocations: 93.92 kB / 434.1 MB, free: 10.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003324/0.04696, allocations: 0.5845 MB / 434.7 MB, free: 9.441 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004662/0.04742, allocations: 0.6233 MB / 435.3 MB, free: 8.645 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.04743, allocations: 7.938 kB / 435.4 MB, free: 8.637 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008559/0.04828, allocations: 0.6567 MB / 436 MB, free: 7.961 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.0483, allocations: 8 kB / 436 MB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.04831, allocations: 15.94 kB / 436 MB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006117/0.04892, allocations: 234.1 kB / 436.3 MB, free: 7.703 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.04912, allocations: 123.8 kB / 436.4 MB, free: 7.582 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007142/0.04984, allocations: 1.744 MB / 438.1 MB, free: 5.773 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.05004, allocations: 32.06 kB / 438.2 MB, free: 5.742 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.05e-05/0.05008, allocations: 40 kB / 438.2 MB, free: 5.703 MB / 410.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.0001628/0.05024, allocations: 208.3 kB / 438.4 MB, free: 5.488 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-05/0.05032, allocations: 79.58 kB / 438.5 MB, free: 5.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007778/0.0511, allocations: 0.54 MB / 439 MB, free: 4.852 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.0511, allocations: 4 kB / 439 MB, free: 4.848 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.05111, allocations: 3.938 kB / 439 MB, free: 4.844 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.05111, allocations: 3.984 kB / 439 MB, free: 4.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000956/0.05207, allocations: 0.9104 MB / 439.9 MB, free: 3.867 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.05207, allocations: 0 / 439.9 MB, free: 3.867 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.788e-05/0.05216, allocations: 39.98 kB / 440 MB, free: 3.828 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003922/0.05255, allocations: 155.2 kB / 440.1 MB, free: 3.668 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.05257, allocations: 8 kB / 440.1 MB, free: 3.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006318/0.0532, allocations: 1.69 MB / 441.8 MB, free: 1.906 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.0532, allocations: 8.062 kB / 441.8 MB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000591/0.05379, allocations: 0.569 MB / 442.4 MB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.05391, allocations: 95.56 kB / 442.5 MB, free: 1.199 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.958e-05/0.05396, allocations: 12 kB / 442.5 MB, free: 1.188 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.05412, allocations: 15.98 kB / 442.5 MB, free: 1.172 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.05417, allocations: 27.89 kB / 442.6 MB, free: 1.145 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.0542, allocations: 23.98 kB / 442.6 MB, free: 1.121 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003177/0.05452, allocations: 354.8 kB / 442.9 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.05452, allocations: 0 / 442.9 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004657/0.05498, allocations: 255.7 kB / 443.2 MB, free: 0.5273 MB / 410.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.0003534/0.05534, allocations: 293.1 kB / 443.5 MB, free: 236 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.133/0.1884, allocations: 356.5 kB / 443.8 MB, free: 104.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.1884, allocations: 0 / 443.8 MB, free: 104.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003593/0.1887, allocations: 156.4 kB / 444 MB, free: 104.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.1899, allocations: 289.7 kB / 444.2 MB, free: 104.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.1918, allocations: 1.095 MB / 445.3 MB, free: 104.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.1919, allocations: 164.5 kB / 445.5 MB, free: 104.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000434/0.1923, allocations: 234.7 kB / 445.7 MB, free: 104.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.1924, allocations: 58.22 kB / 445.8 MB, free: 104.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.252e-06/0.1924, allocations: 0 / 445.8 MB, free: 104.2 MB / 410.7 MB Notification: Performance of Templates: time 0.016/0.2084, allocations: 13.68 MB / 459.5 MB, free: 102.9 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.693662580801174]