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.0009461/0.0009461, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009254/0.0009254, allocations: 165 kB / 24.56 MB, free: 12 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.9377/0.9377, allocations: 177.2 MB / 205 MB, free: 5.605 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.2938/0.2938, allocations: 34.26 MB / 295.7 MB, free: 0.6797 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 1.553e-06/1.553e-06, allocations: 0 / 378.1 MB, free: 2.594 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.398e-05, allocations: 6.312 kB / 378.1 MB, free: 2.586 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.00752/0.007544, allocations: 8.359 MB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0032/0.01074, allocations: 2.253 MB / 388.7 MB, free: 7.922 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004384/0.01118, allocations: 31.69 kB / 388.7 MB, free: 7.891 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005342/0.01172, allocations: 194.7 kB / 388.9 MB, free: 7.699 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002328/0.01404, allocations: 1.302 MB / 390.2 MB, free: 6.391 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.0154, allocations: 0.8573 MB / 391 MB, free: 5.531 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001624/0.01702, allocations: 1.851 MB / 392.9 MB, free: 3.676 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000665/0.01769, allocations: 441.2 kB / 393.3 MB, free: 3.242 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002434/0.02012, allocations: 2.003 MB / 395.3 MB, free: 1.234 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000738/0.02086, allocations: 0.5999 MB / 395.9 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.02097, allocations: 60 kB / 396 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007438/0.02172, allocations: 471.2 kB / 396.5 MB, free: 116 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000228/0.02194, allocations: 295.1 kB / 396.7 MB, free: 15.82 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002576/0.0222, allocations: 287.4 kB / 397 MB, free: 15.54 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.02339, allocations: 0.9892 MB / 398 MB, free: 14.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.02339, allocations: 3.938 kB / 398 MB, free: 14.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.02339, allocations: 0 / 398 MB, free: 14.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.0234, allocations: 0 / 398 MB, free: 14.55 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.00143/0.02484, allocations: 1.134 MB / 399.1 MB, free: 13.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.02487, allocations: 8.031 kB / 399.2 MB, free: 13.37 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006779/0.02555, allocations: 243.8 kB / 399.4 MB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005939/0.02614, allocations: 0.493 MB / 399.9 MB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.02626, allocations: 160.3 kB / 400 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.515e-05/0.02633, allocations: 60.38 kB / 400.1 MB, free: 12.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000891/0.02722, allocations: 1.001 MB / 401.1 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.02724, allocations: 7.891 kB / 401.1 MB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.918e-05/0.02729, allocations: 27.98 kB / 401.1 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.912e-05/0.02734, allocations: 40.98 kB / 401.2 MB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005259/0.02787, allocations: 305.5 kB / 401.5 MB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00284/0.0307, allocations: 4.27 MB / 405.7 MB, free: 6.371 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003522/0.03106, allocations: 190.2 kB / 405.9 MB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.746e-05/0.03115, allocations: 72.08 kB / 406 MB, free: 6.102 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.291e-05/0.03124, allocations: 35.97 kB / 406 MB, free: 6.066 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.03127, allocations: 41.38 kB / 406.1 MB, free: 6.016 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.773e-06/0.03127, allocations: 4 kB / 406.1 MB, free: 6.012 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002165/0.03343, allocations: 1.02 MB / 407.1 MB, free: 4.945 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/0.03349, allocations: 136.5 kB / 407.2 MB, free: 4.781 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000459/0.03395, allocations: 0.5881 MB / 407.8 MB, free: 4.176 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.03398, allocations: 37.7 kB / 407.9 MB, free: 4.133 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.0342, allocations: 466.7 kB / 408.3 MB, free: 3.672 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.038e-05/0.03428, allocations: 138.9 kB / 408.5 MB, free: 3.535 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.03443, allocations: 160.2 kB / 408.6 MB, free: 3.371 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.03458, allocations: 0.5508 MB / 409.2 MB, free: 2.809 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.03473, allocations: 89.94 kB / 409.2 MB, free: 2.723 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003619/0.03509, allocations: 0.6235 MB / 409.9 MB, free: 1.875 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005161/0.03561, allocations: 0.6497 MB / 410.5 MB, free: 1.039 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.03561, allocations: 0 / 410.5 MB, free: 1.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008793/0.03649, allocations: 0.6764 MB / 411.2 MB, free: 352 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.03651, allocations: 12.19 kB / 411.2 MB, free: 340 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.03652, allocations: 23.86 kB / 411.2 MB, free: 316 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006287/0.03715, allocations: 231 kB / 411.5 MB, free: 76 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.03739, allocations: 127.8 kB / 411.6 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008256/0.03822, allocations: 1.744 MB / 413.3 MB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002523/0.03847, allocations: 31.98 kB / 413.4 MB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.703e-05/0.03852, allocations: 44 kB / 413.4 MB, free: 14.07 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.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 (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.0001772/0.03869, allocations: 212.4 kB / 413.6 MB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.503e-05/0.03878, allocations: 71.62 kB / 413.7 MB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007843/0.03956, allocations: 0.5447 MB / 414.2 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.03957, allocations: 7.984 kB / 414.2 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.03957, allocations: 3.938 kB / 414.2 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.03958, allocations: 0 / 414.2 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.04063, allocations: 0.9066 MB / 415.1 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.04064, allocations: 4 kB / 415.1 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.748e-05/0.04074, allocations: 43.92 kB / 415.2 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004058/0.04114, allocations: 151.2 kB / 415.3 MB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.04117, allocations: 12.03 kB / 415.3 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000735/0.0419, allocations: 1.69 MB / 417 MB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.0419, allocations: 0 / 417 MB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006208/0.04252, allocations: 0.5653 MB / 417.6 MB, free: 9.656 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.04266, allocations: 103.6 kB / 417.7 MB, free: 9.555 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.515e-05/0.04271, allocations: 12 kB / 417.7 MB, free: 9.543 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.04287, allocations: 12 kB / 417.7 MB, free: 9.531 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/0.04293, allocations: 27.89 kB / 417.8 MB, free: 9.504 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/0.04296, allocations: 19.98 kB / 417.8 MB, free: 9.484 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002633/0.04322, allocations: 362.7 kB / 418.1 MB, free: 9.133 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.04322, allocations: 0 / 418.1 MB, free: 9.133 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005525/0.04377, allocations: 235.8 kB / 418.4 MB, free: 8.902 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.0003676/0.04414, allocations: 238.9 kB / 418.6 MB, free: 8.656 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000618/0.04476, allocations: 380 kB / 419 MB, free: 8.289 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.04476, allocations: 0 / 419 MB, free: 8.289 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002223/0.04498, allocations: 152.9 kB / 419.1 MB, free: 8.137 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007634/0.04575, allocations: 303.3 kB / 419.4 MB, free: 7.852 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.04742, allocations: 1.103 MB / 420.5 MB, free: 6.703 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.04753, allocations: 166.9 kB / 420.7 MB, free: 6.52 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003997/0.04793, allocations: 241 kB / 420.9 MB, free: 6.285 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.855e-05/0.04802, allocations: 56.48 kB / 421 MB, free: 6.23 MB / 394.7 MB Notification: Performance of SimCode: time 1.312e-06/0.04802, allocations: 0 / 421 MB, free: 6.23 MB / 394.7 MB Notification: Performance of Templates: time 0.01688/0.0649, allocations: 14.06 MB / 435 MB, free: 8.441 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.770289990119636]