Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00145/0.00145, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.002019/0.002019, allocations: 161 kB / 24.55 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 1.035/1.035, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2578/0.2578, allocations: 32.82 MB / 294.3 MB, free: 1.281 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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|volume.medium.T|p_start|T_start|h_start|X_start.[0-9,]+.|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.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.[0-9,]+.|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.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.553e-05, allocations: 2.312 kB / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.008191/0.008217, allocations: 8.363 MB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003098/0.01131, allocations: 2.242 MB / 386.6 MB, free: 9.984 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000415/0.01173, allocations: 27.75 kB / 386.7 MB, free: 9.957 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005681/0.0123, allocations: 210.5 kB / 386.9 MB, free: 9.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002453/0.01475, allocations: 1.294 MB / 388.2 MB, free: 8.449 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001421/0.01617, allocations: 0.8572 MB / 389 MB, free: 7.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001713/0.01789, allocations: 1.848 MB / 390.9 MB, free: 5.738 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005891/0.01847, allocations: 441.8 kB / 391.3 MB, free: 5.301 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001972/0.02045, allocations: 1.543 MB / 392.8 MB, free: 3.754 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.02159, allocations: 1.021 MB / 393.9 MB, free: 2.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.02171, allocations: 64 kB / 393.9 MB, free: 2.668 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007814/0.02249, allocations: 479.1 kB / 394.4 MB, free: 2.199 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002254/0.02272, allocations: 295.2 kB / 394.7 MB, free: 1.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002662/0.02298, allocations: 283.3 kB / 395 MB, free: 1.633 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.02422, allocations: 1.001 MB / 396 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.02422, allocations: 0 / 396 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.02422, allocations: 0 / 396 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.02423, allocations: 0 / 396 MB, free: 0.6289 MB / 362.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.001507/0.02574, allocations: 1.134 MB / 397.1 MB, free: 15.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.02578, allocations: 15.97 kB / 397.1 MB, free: 15.44 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007046/0.02648, allocations: 239.8 kB / 397.3 MB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006301/0.02711, allocations: 0.4968 MB / 397.8 MB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.02723, allocations: 156.4 kB / 398 MB, free: 14.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.129e-05/0.02731, allocations: 56.36 kB / 398.1 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009372/0.02825, allocations: 1.042 MB / 399.1 MB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.02826, allocations: 3.953 kB / 399.1 MB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.764e-05/0.02831, allocations: 24 kB / 399.1 MB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.166e-05/0.02836, allocations: 44.92 kB / 399.2 MB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000541/0.0289, allocations: 301.5 kB / 399.5 MB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002919/0.03182, allocations: 4.282 MB / 403.7 MB, free: 8.402 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003366/0.03216, allocations: 183.2 kB / 403.9 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.03226, allocations: 72.08 kB / 404 MB, free: 8.137 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.109e-05/0.03235, allocations: 35.97 kB / 404 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.03238, allocations: 41.39 kB / 404.1 MB, free: 8.051 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.934e-06/0.03239, allocations: 0 / 404.1 MB, free: 8.051 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002749/0.03514, allocations: 1.016 MB / 405.1 MB, free: 6.988 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.95e-05/0.0352, allocations: 140.4 kB / 405.2 MB, free: 6.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000572/0.03578, allocations: 0.5764 MB / 405.8 MB, free: 6.227 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.03582, allocations: 33.7 kB / 405.8 MB, free: 6.188 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002591/0.03608, allocations: 462.7 kB / 406.3 MB, free: 5.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.822e-05/0.03617, allocations: 142.9 kB / 406.4 MB, free: 5.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.03635, allocations: 152.2 kB / 406.6 MB, free: 5.434 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.03655, allocations: 0.5508 MB / 407.1 MB, free: 4.871 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.03674, allocations: 89.92 kB / 407.2 MB, free: 4.785 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004342/0.03718, allocations: 0.5884 MB / 407.8 MB, free: 3.992 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006369/0.03781, allocations: 0.6194 MB / 408.4 MB, free: 3.195 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.03782, allocations: 0 / 408.4 MB, free: 3.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001102/0.03892, allocations: 0.66 MB / 409.1 MB, free: 2.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.03895, allocations: 8.875 kB / 409.1 MB, free: 2.512 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.03896, allocations: 19.92 kB / 409.1 MB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008285/0.03979, allocations: 235.1 kB / 409.3 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.04008, allocations: 127.8 kB / 409.5 MB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009578/0.04104, allocations: 1.747 MB / 411.2 MB, free: 328 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003278/0.04137, allocations: 20 kB / 411.2 MB, free: 308 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.862e-05/0.04143, allocations: 44 kB / 411.3 MB, free: 264 kB / 378.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.000202/0.04163, allocations: 212.2 kB / 411.5 MB, free: 40 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.04175, allocations: 75.69 kB / 411.6 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.04276, allocations: 0.5482 MB / 412.1 MB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.04277, allocations: 4 kB / 412.1 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.04278, allocations: 3.938 kB / 412.1 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.04278, allocations: 0 / 412.1 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.04412, allocations: 0.9104 MB / 413 MB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.04412, allocations: 0 / 413 MB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.04425, allocations: 39.92 kB / 413.1 MB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005293/0.04478, allocations: 159.3 kB / 413.2 MB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/0.0448, allocations: 8 kB / 413.2 MB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008226/0.04563, allocations: 1.694 MB / 414.9 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.04563, allocations: 4 kB / 414.9 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000783/0.04641, allocations: 0.5614 MB / 415.5 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001836/0.0466, allocations: 103.5 kB / 415.6 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.228e-05/0.04666, allocations: 12 kB / 415.6 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.04688, allocations: 20.08 kB / 415.6 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.97e-05/0.04694, allocations: 27.89 kB / 415.6 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.846e-05/0.04698, allocations: 23.98 kB / 415.7 MB, free: 11.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003234/0.0473, allocations: 350.8 kB / 416 MB, free: 11.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0473, allocations: 0 / 416 MB, free: 11.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007238/0.04803, allocations: 231.8 kB / 416.2 MB, free: 11.09 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.000404/0.04843, allocations: 222.9 kB / 416.4 MB, free: 10.86 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007235/0.04916, allocations: 376.3 kB / 416.8 MB, free: 10.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.04916, allocations: 4.125 kB / 416.8 MB, free: 10.49 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004987/0.04966, allocations: 156.8 kB / 417 MB, free: 10.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.05066, allocations: 294.8 kB / 417.3 MB, free: 10.05 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.05275, allocations: 1.102 MB / 418.4 MB, free: 8.91 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.05287, allocations: 167 kB / 418.5 MB, free: 8.727 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005098/0.05338, allocations: 232.8 kB / 418.8 MB, free: 8.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.0535, allocations: 52.48 kB / 418.8 MB, free: 8.449 MB / 394.7 MB Notification: Performance of SimCode: time 1.423e-06/0.0535, allocations: 0 / 418.8 MB, free: 8.449 MB / 394.7 MB Notification: Performance of Templates: time 0.01897/0.07247, allocations: 12.94 MB / 431.7 MB, free: 11.76 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.9076198409311473]