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.0013/0.0013, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001026/0.001026, allocations: 162.2 kB / 25.6 MB, free: 8.59 MB / 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.9537/0.9537, allocations: 177.1 MB / 206 MB, free: 4.512 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.1423/0.1423, allocations: 34.26 MB / 296.8 MB, free: 13.92 MB / 282.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.402e-06/1.402e-06, allocations: 0 / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.53e-05, allocations: 2.312 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.006419/0.006444, allocations: 8.262 MB / 387.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002642/0.009086, allocations: 2.246 MB / 389.8 MB, free: 12.84 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003494/0.009436, allocations: 35.69 kB / 389.8 MB, free: 12.8 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003742/0.00981, allocations: 202.5 kB / 390 MB, free: 12.6 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001817/0.01163, allocations: 1.29 MB / 391.3 MB, free: 11.3 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.01272, allocations: 0.8535 MB / 392.2 MB, free: 10.45 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001322/0.01404, allocations: 1.848 MB / 394 MB, free: 8.594 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005072/0.01455, allocations: 449.7 kB / 394.5 MB, free: 8.152 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00185/0.0164, allocations: 1.996 MB / 396.5 MB, free: 6.152 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005739/0.01697, allocations: 0.6038 MB / 397.1 MB, free: 5.547 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.044e-05/0.01705, allocations: 56 kB / 397.1 MB, free: 5.492 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005975/0.01765, allocations: 483.2 kB / 397.6 MB, free: 5.02 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.01781, allocations: 287.1 kB / 397.9 MB, free: 4.738 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.018, allocations: 283.4 kB / 398.2 MB, free: 4.461 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000865/0.01887, allocations: 0.9969 MB / 399.2 MB, free: 3.461 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.01887, allocations: 0 / 399.2 MB, free: 3.461 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.01887, allocations: 0 / 399.2 MB, free: 3.461 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.01888, allocations: 0 / 399.2 MB, free: 3.461 MB / 314.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.001028/0.0199, allocations: 1.126 MB / 400.3 MB, free: 2.297 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.502e-05/0.01993, allocations: 15.97 kB / 400.3 MB, free: 2.281 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00058/0.02051, allocations: 231.8 kB / 400.5 MB, free: 2.055 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004109/0.02092, allocations: 496.7 kB / 401 MB, free: 1.539 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.714e-05/0.02098, allocations: 152.4 kB / 401.2 MB, free: 1.367 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.078e-05/0.02104, allocations: 56.36 kB / 401.2 MB, free: 1.312 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005469/0.02159, allocations: 0.9701 MB / 402.2 MB, free: 156 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.0216, allocations: 11.92 kB / 402.2 MB, free: 144 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.202e-05/0.02164, allocations: 24 kB / 402.2 MB, free: 120 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.23e-05/0.02168, allocations: 36.98 kB / 402.2 MB, free: 80 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003831/0.02206, allocations: 258.5 kB / 402.5 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002547/0.02461, allocations: 4.169 MB / 406.7 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000283/0.02489, allocations: 176.1 kB / 406.8 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.731e-05/0.02496, allocations: 51.66 kB / 406.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.342e-05/0.02503, allocations: 35.97 kB / 406.9 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.02506, allocations: 53.31 kB / 407 MB, free: 11.17 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 1.392e-06/0.02506, allocations: 0 / 407 MB, free: 11.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.00177/0.02683, allocations: 0.8953 MB / 407.9 MB, free: 10.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.02687, allocations: 136.5 kB / 408 MB, free: 10.06 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003919/0.02727, allocations: 0.58 MB / 408.6 MB, free: 9.461 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.0273, allocations: 29.7 kB / 408.6 MB, free: 9.426 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.02751, allocations: 482.5 kB / 409.1 MB, free: 8.945 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.402e-05/0.02759, allocations: 130.9 kB / 409.2 MB, free: 8.816 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.02775, allocations: 176.1 kB / 409.4 MB, free: 8.637 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.02793, allocations: 0.5546 MB / 409.9 MB, free: 8.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.02804, allocations: 65.94 kB / 410 MB, free: 8.004 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003141/0.02835, allocations: 0.6 MB / 410.6 MB, free: 7.188 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004407/0.02879, allocations: 0.634 MB / 411.2 MB, free: 6.359 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.0288, allocations: 4 kB / 411.2 MB, free: 6.355 MB / 330.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0007498/0.02955, allocations: 0.6254 MB / 411.9 MB, free: 5.719 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.02956, allocations: 8 kB / 411.9 MB, free: 5.711 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.02957, allocations: 8 kB / 411.9 MB, free: 5.703 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006566/0.03023, allocations: 235.5 kB / 412.1 MB, free: 5.465 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.03043, allocations: 127.8 kB / 412.2 MB, free: 5.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006838/0.03112, allocations: 1.736 MB / 414 MB, free: 3.539 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000284/0.0314, allocations: 27.94 kB / 414 MB, free: 3.512 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.432e-05/0.03146, allocations: 39.94 kB / 414 MB, free: 3.473 MB / 330.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.0001544/0.03161, allocations: 204.3 kB / 414.2 MB, free: 3.262 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.754e-05/0.0317, allocations: 75.61 kB / 414.3 MB, free: 3.188 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007058/0.0324, allocations: 0.5096 MB / 414.8 MB, free: 2.664 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.03241, allocations: 4 kB / 414.8 MB, free: 2.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.03241, allocations: 0 / 414.8 MB, free: 2.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.03241, allocations: 11.92 kB / 414.8 MB, free: 2.648 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009106/0.03332, allocations: 0.7901 MB / 415.6 MB, free: 1.805 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.03333, allocations: 0 / 415.6 MB, free: 1.805 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.212e-05/0.03342, allocations: 43.92 kB / 415.7 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003891/0.03381, allocations: 159.2 kB / 415.8 MB, free: 1.598 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.03383, allocations: 11.98 kB / 415.8 MB, free: 1.586 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006335/0.03446, allocations: 1.674 MB / 417.5 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.03447, allocations: 4 kB / 417.5 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005609/0.03503, allocations: 0.5301 MB / 418.1 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.03516, allocations: 91.56 kB / 418.1 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.21e-05/0.03522, allocations: 12 kB / 418.2 MB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.03539, allocations: 15.98 kB / 418.2 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.03543, allocations: 35.69 kB / 418.2 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/0.03546, allocations: 19.98 kB / 418.2 MB, free: 15.1 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001994/0.03566, allocations: 334.6 kB / 418.5 MB, free: 14.78 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03566, allocations: 4.031 kB / 418.6 MB, free: 14.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005006/0.03616, allocations: 239.7 kB / 418.8 MB, free: 14.54 MB / 346.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.0002876/0.03645, allocations: 222.9 kB / 419 MB, free: 14.31 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006549/0.0371, allocations: 348.4 kB / 419.3 MB, free: 13.97 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.03711, allocations: 0 / 419.3 MB, free: 13.97 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002502/0.03736, allocations: 154 kB / 419.5 MB, free: 13.82 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007287/0.03808, allocations: 307.3 kB / 419.8 MB, free: 13.53 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.0395, allocations: 1.083 MB / 420.9 MB, free: 12.4 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.03961, allocations: 167 kB / 421 MB, free: 12.22 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003311/0.03994, allocations: 184.1 kB / 421.2 MB, free: 12.04 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004679/0.04041, allocations: 341.9 kB / 421.6 MB, free: 11.7 MB / 346.7 MB Notification: Performance of SimCode: time 6.31e-07/0.04041, allocations: 3.938 kB / 421.6 MB, free: 11.7 MB / 346.7 MB Notification: Performance of Templates: time 0.01568/0.05609, allocations: 14.39 MB / 436 MB, free: 13.6 MB / 362.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.482150722295046]