Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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.001453/0.001453, allocations: 85.8 kB / 21.42 MB, free: 3.07 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.0009954/0.0009954, allocations: 162.2 kB / 24.82 MB, free: 8.777 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.9519/0.9519, allocations: 177 MB / 205.1 MB, free: 5.477 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.2664/0.2664, allocations: 34.87 MB / 296.6 MB, free: 460 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.Glycol47,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.Glycol47") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,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.Glycol47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 379.2 MB, free: 1.809 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.752e-05/2.894e-05, allocations: 2.312 kB / 379.2 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.008987/0.009016, allocations: 8.263 MB / 387.5 MB, free: 9.496 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003832/0.01285, allocations: 2.246 MB / 389.8 MB, free: 7.242 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005308/0.01338, allocations: 27.75 kB / 389.8 MB, free: 7.215 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005005/0.01388, allocations: 198.6 kB / 390 MB, free: 7.02 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002408/0.01629, allocations: 1.294 MB / 391.3 MB, free: 5.719 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.01773, allocations: 0.8689 MB / 392.1 MB, free: 4.848 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001999/0.01973, allocations: 1.851 MB / 394 MB, free: 2.992 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006132/0.02035, allocations: 433.8 kB / 394.4 MB, free: 2.562 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002259/0.02261, allocations: 2.003 MB / 396.4 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007618/0.02337, allocations: 0.6077 MB / 397 MB, free: 15.95 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.02349, allocations: 60 kB / 397.1 MB, free: 15.89 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00075/0.02424, allocations: 479.2 kB / 397.5 MB, free: 15.42 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001985/0.02444, allocations: 287.1 kB / 397.8 MB, free: 15.14 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000227/0.02467, allocations: 287.3 kB / 398.1 MB, free: 14.86 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.02583, allocations: 0.9853 MB / 399.1 MB, free: 13.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.02583, allocations: 0 / 399.1 MB, free: 13.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.02583, allocations: 4 kB / 399.1 MB, free: 13.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.02585, allocations: 0 / 399.1 MB, free: 13.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.001394/0.02724, allocations: 1.13 MB / 400.2 MB, free: 12.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.02728, allocations: 12.03 kB / 400.2 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008837/0.02816, allocations: 235.8 kB / 400.5 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005443/0.02871, allocations: 492.8 kB / 401 MB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.02881, allocations: 152.4 kB / 401.1 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.205e-05/0.02888, allocations: 56.38 kB / 401.2 MB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007622/0.02964, allocations: 0.9761 MB / 402.1 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.02966, allocations: 11.89 kB / 402.1 MB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.148e-05/0.0297, allocations: 28 kB / 402.2 MB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.296e-05/0.02974, allocations: 36.98 kB / 402.2 MB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003606/0.0301, allocations: 258.5 kB / 402.5 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002561/0.03267, allocations: 4.173 MB / 406.6 MB, free: 5.895 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.03292, allocations: 175.2 kB / 406.8 MB, free: 5.711 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.197e-05/0.03298, allocations: 55.66 kB / 406.9 MB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.572e-05/0.03306, allocations: 43.89 kB / 406.9 MB, free: 5.609 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.03308, allocations: 45.33 kB / 406.9 MB, free: 5.555 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.553e-06/0.03308, allocations: 0 / 406.9 MB, free: 5.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002017/0.0351, allocations: 0.9233 MB / 407.9 MB, free: 4.586 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.03515, allocations: 136.5 kB / 408 MB, free: 4.422 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003727/0.03552, allocations: 0.58 MB / 408.6 MB, free: 3.824 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.03555, allocations: 37.69 kB / 408.6 MB, free: 3.781 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.03575, allocations: 474.5 kB / 409.1 MB, free: 3.312 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.423e-05/0.03582, allocations: 138.9 kB / 409.2 MB, free: 3.176 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.03596, allocations: 176.1 kB / 409.4 MB, free: 2.996 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.03611, allocations: 0.5546 MB / 409.9 MB, free: 2.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-05/0.0362, allocations: 69.94 kB / 410 MB, free: 2.359 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002939/0.0365, allocations: 0.5961 MB / 410.6 MB, free: 1.539 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004312/0.03693, allocations: 0.6301 MB / 411.2 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.03693, allocations: 8 kB / 411.2 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.000715/0.03765, allocations: 0.6256 MB / 411.9 MB, free: 72 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.03767, allocations: 8 kB / 411.9 MB, free: 64 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.03768, allocations: 8 kB / 411.9 MB, free: 56 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005593/0.03823, allocations: 241.7 kB / 412.1 MB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.03844, allocations: 119.8 kB / 412.2 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007007/0.03914, allocations: 1.736 MB / 414 MB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002485/0.03939, allocations: 27.94 kB / 414 MB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.901e-05/0.03943, allocations: 44.05 kB / 414 MB, free: 13.82 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.000446/0.03987, allocations: 204.3 kB / 414.2 MB, free: 13.61 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.803e-05/0.03995, allocations: 75.62 kB / 414.3 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006861/0.04064, allocations: 0.5317 MB / 414.9 MB, free: 12.99 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.04064, allocations: 4 kB / 414.9 MB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.04064, allocations: 0 / 414.9 MB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.04065, allocations: 3.984 kB / 414.9 MB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008599/0.04151, allocations: 0.8053 MB / 415.7 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.04151, allocations: 3.938 kB / 415.7 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.319e-05/0.0416, allocations: 39.98 kB / 415.7 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004384/0.04203, allocations: 167.2 kB / 415.9 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.04205, allocations: 12 kB / 415.9 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006557/0.04271, allocations: 1.682 MB / 417.6 MB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.04271, allocations: 3.938 kB / 417.6 MB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005536/0.04327, allocations: 0.5417 MB / 418.1 MB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.04339, allocations: 91.53 kB / 418.2 MB, free: 9.473 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.894e-05/0.04344, allocations: 12 kB / 418.2 MB, free: 9.461 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.04359, allocations: 19.98 kB / 418.2 MB, free: 9.441 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.04364, allocations: 27.95 kB / 418.3 MB, free: 9.414 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/0.04367, allocations: 19.98 kB / 418.3 MB, free: 9.395 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002131/0.04388, allocations: 334.6 kB / 418.6 MB, free: 9.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 2e-07/0.04388, allocations: 0 / 418.6 MB, free: 9.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006348/0.04452, allocations: 235.8 kB / 418.8 MB, free: 8.84 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.0004174/0.04493, allocations: 226.8 kB / 419.1 MB, free: 8.605 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006293/0.04556, allocations: 352.9 kB / 419.4 MB, free: 8.266 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.04557, allocations: 4.062 kB / 419.4 MB, free: 8.262 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.04579, allocations: 153.4 kB / 419.6 MB, free: 8.109 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007954/0.04659, allocations: 306 kB / 419.9 MB, free: 7.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.04842, allocations: 1.088 MB / 420.9 MB, free: 6.688 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.04854, allocations: 163 kB / 421.1 MB, free: 6.508 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004441/0.04898, allocations: 188.7 kB / 421.3 MB, free: 6.324 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009203/0.0499, allocations: 341.9 kB / 421.6 MB, free: 5.988 MB / 394.7 MB Notification: Performance of SimCode: time 1.303e-06/0.04991, allocations: 0 / 421.6 MB, free: 5.988 MB / 394.7 MB Notification: Performance of Templates: time 0.01733/0.06724, allocations: 14.21 MB / 435.8 MB, free: 8.031 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Glycol47/Glycol47.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.555038950871676]