Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008913/0.0008913, allocations: 75.59 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9561/0.9561, allocations: 177.2 MB / 205 MB, free: 5.277 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2599/0.2599, allocations: 34.25 MB / 295.7 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 3.938 kB / 378.1 MB, free: 2.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.094e-05/3.295e-05, allocations: 2.312 kB / 378.1 MB, free: 2.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.01347/0.0135, allocations: 8.359 MB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005211/0.01871, allocations: 2.242 MB / 388.7 MB, free: 7.988 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000665/0.01937, allocations: 27.75 kB / 388.7 MB, free: 7.961 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006816/0.02006, allocations: 210.5 kB / 388.9 MB, free: 7.754 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002768/0.02282, allocations: 1.294 MB / 390.2 MB, free: 6.453 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.02437, allocations: 0.8611 MB / 391 MB, free: 5.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001616/0.02599, allocations: 1.848 MB / 392.9 MB, free: 3.738 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005351/0.02652, allocations: 437.8 kB / 393.3 MB, free: 3.305 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001768/0.02829, allocations: 1.547 MB / 394.9 MB, free: 1.754 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.0293, allocations: 1.029 MB / 395.9 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.829e-05/0.02939, allocations: 60 kB / 396 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006984/0.03009, allocations: 483.2 kB / 396.4 MB, free: 196 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002187/0.0303, allocations: 287.1 kB / 396.7 MB, free: 15.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.03054, allocations: 291.3 kB / 397 MB, free: 15.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.03168, allocations: 0.9969 MB / 398 MB, free: 14.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.03168, allocations: 0 / 398 MB, free: 14.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.03168, allocations: 0 / 398 MB, free: 14.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.0317, allocations: 0 / 398 MB, free: 14.62 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.001511/0.03321, allocations: 1.138 MB / 399.1 MB, free: 13.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.03325, allocations: 8.031 kB / 399.1 MB, free: 13.44 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006728/0.03392, allocations: 239.8 kB / 399.4 MB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005941/0.03451, allocations: 0.4968 MB / 399.9 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.03463, allocations: 156.4 kB / 400 MB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.042e-05/0.03472, allocations: 60.36 kB / 400.1 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.03572, allocations: 1.034 MB / 401.1 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.03574, allocations: 3.953 kB / 401.1 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.119e-05/0.03579, allocations: 24 kB / 401.1 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.388e-05/0.03585, allocations: 40.98 kB / 401.2 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005158/0.03636, allocations: 309.5 kB / 401.5 MB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00315/0.03951, allocations: 4.278 MB / 405.8 MB, free: 6.406 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/0.03985, allocations: 179.9 kB / 405.9 MB, free: 6.219 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.03995, allocations: 72.03 kB / 406 MB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.941e-05/0.04003, allocations: 39.95 kB / 406 MB, free: 6.105 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.04006, allocations: 45.39 kB / 406.1 MB, free: 6.051 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.323e-06/0.04006, allocations: 0 / 406.1 MB, free: 6.051 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002479/0.04254, allocations: 1.02 MB / 407.1 MB, free: 4.984 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.0426, allocations: 136.5 kB / 407.2 MB, free: 4.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004462/0.04304, allocations: 0.5803 MB / 407.8 MB, free: 4.223 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.04307, allocations: 33.7 kB / 407.9 MB, free: 4.184 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/0.04331, allocations: 466.7 kB / 408.3 MB, free: 3.723 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.703e-05/0.04338, allocations: 134.9 kB / 408.4 MB, free: 3.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.04353, allocations: 160.2 kB / 408.6 MB, free: 3.426 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.04369, allocations: 0.5469 MB / 409.1 MB, free: 2.867 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.04384, allocations: 89.94 kB / 409.2 MB, free: 2.781 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003778/0.04422, allocations: 0.5884 MB / 409.8 MB, free: 1.988 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005281/0.04475, allocations: 0.6233 MB / 410.4 MB, free: 1.184 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.04475, allocations: 8 kB / 410.5 MB, free: 1.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008472/0.0456, allocations: 0.653 MB / 411.1 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.04562, allocations: 13.88 kB / 411.1 MB, free: 0.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.04563, allocations: 16 kB / 411.1 MB, free: 496 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000636/0.04627, allocations: 231 kB / 411.4 MB, free: 256 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.04649, allocations: 115.8 kB / 411.5 MB, free: 140 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000814/0.0473, allocations: 1.747 MB / 413.2 MB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.04752, allocations: 31.98 kB / 413.3 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.527e-05/0.04756, allocations: 40.06 kB / 413.3 MB, free: 14.26 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.0001815/0.04775, allocations: 220.3 kB / 413.5 MB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.074e-05/0.04784, allocations: 79.58 kB / 413.6 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.04905, allocations: 0.5325 MB / 414.1 MB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.892e-06/0.04906, allocations: 4 kB / 414.1 MB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.04907, allocations: 3.938 kB / 414.1 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.04907, allocations: 3.984 kB / 414.1 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.05012, allocations: 0.9066 MB / 415 MB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.05012, allocations: 64 / 415 MB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.197e-05/0.05021, allocations: 43.98 kB / 415.1 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004016/0.05061, allocations: 151.2 kB / 415.2 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.05064, allocations: 12 kB / 415.2 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006516/0.05129, allocations: 1.694 MB / 416.9 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.05129, allocations: 0 / 416.9 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006079/0.0519, allocations: 0.5692 MB / 417.5 MB, free: 9.844 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.05204, allocations: 103.5 kB / 417.6 MB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.679e-05/0.05208, allocations: 16.08 kB / 417.6 MB, free: 9.727 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.05224, allocations: 12 kB / 417.6 MB, free: 9.715 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.05229, allocations: 27.89 kB / 417.7 MB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.05232, allocations: 23.98 kB / 417.7 MB, free: 9.664 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002487/0.05257, allocations: 354.7 kB / 418 MB, free: 9.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05257, allocations: 0 / 418 MB, free: 9.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004973/0.05307, allocations: 227.8 kB / 418.3 MB, free: 9.098 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.0003248/0.05339, allocations: 234.9 kB / 418.5 MB, free: 8.855 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005799/0.05397, allocations: 368.2 kB / 418.8 MB, free: 8.492 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.05398, allocations: 0 / 418.8 MB, free: 8.492 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000232/0.05421, allocations: 160.7 kB / 419 MB, free: 8.332 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007538/0.05496, allocations: 298.7 kB / 419.3 MB, free: 8.047 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.05666, allocations: 1.102 MB / 420.4 MB, free: 6.902 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.05678, allocations: 163 kB / 420.6 MB, free: 6.723 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003983/0.05717, allocations: 233.3 kB / 420.8 MB, free: 6.492 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.05728, allocations: 56.48 kB / 420.8 MB, free: 6.438 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/0.05728, allocations: 0 / 420.8 MB, free: 6.438 MB / 394.7 MB Notification: Performance of Templates: time 0.01543/0.0727, allocations: 12.94 MB / 433.8 MB, free: 9.758 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.7244070419110358]