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.001125/0.001125, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001316/0.001316, allocations: 173 kB / 24.91 MB, free: 8.77 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.9735/0.9735, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2916/0.2916, allocations: 34.27 MB / 296.1 MB, free: 0.6406 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.144e-06/2.144e-06, allocations: 0 / 325.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.485e-05/3.699e-05, allocations: 2.312 kB / 325.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.01334/0.01337, allocations: 8.304 MB / 333.6 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005742/0.01912, allocations: 2.293 MB / 335.9 MB, free: 12.99 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/0.02026, allocations: 27.75 kB / 335.9 MB, free: 12.96 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008615/0.02113, allocations: 202.5 kB / 336.1 MB, free: 12.76 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004615/0.02574, allocations: 1.294 MB / 337.4 MB, free: 11.46 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002317/0.02806, allocations: 0.8728 MB / 338.3 MB, free: 10.59 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002632/0.03069, allocations: 1.851 MB / 340.1 MB, free: 8.727 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.03174, allocations: 431 kB / 340.5 MB, free: 8.305 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003611/0.03535, allocations: 1.929 MB / 342.5 MB, free: 6.371 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.03653, allocations: 0.5687 MB / 343 MB, free: 5.801 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001902/0.03672, allocations: 60 kB / 343.1 MB, free: 5.742 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001203/0.03793, allocations: 475.1 kB / 343.6 MB, free: 5.277 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003209/0.03825, allocations: 295.1 kB / 343.8 MB, free: 4.988 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004836/0.03873, allocations: 287.3 kB / 344.1 MB, free: 4.707 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00182/0.04055, allocations: 0.9853 MB / 345.1 MB, free: 3.719 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.04055, allocations: 0 / 345.1 MB, free: 3.719 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.04056, allocations: 4 kB / 345.1 MB, free: 3.715 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.817e-05/0.04058, allocations: 0 / 345.1 MB, free: 3.715 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.001907/0.04249, allocations: 0.9821 MB / 346.1 MB, free: 2.707 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.04253, allocations: 12.03 kB / 346.1 MB, free: 2.695 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009384/0.04347, allocations: 236.2 kB / 346.3 MB, free: 2.465 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007442/0.04421, allocations: 419.4 kB / 346.7 MB, free: 2.027 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.04434, allocations: 152.4 kB / 346.9 MB, free: 1.855 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.04445, allocations: 60.36 kB / 347 MB, free: 1.797 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.04549, allocations: 0.9154 MB / 347.9 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.04551, allocations: 0 / 347.9 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.198e-05/0.04557, allocations: 28 kB / 347.9 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-05/0.04564, allocations: 48.84 kB / 347.9 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005588/0.04619, allocations: 241.4 kB / 348.2 MB, free: 412 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00353/0.04972, allocations: 2.958 MB / 351.1 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003557/0.05008, allocations: 153.2 kB / 351.3 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.402e-05/0.05016, allocations: 48.81 kB / 351.3 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001644/0.05033, allocations: 56.55 kB / 351.4 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.05036, allocations: 38.56 kB / 351.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 2.735e-06/0.05037, allocations: 0 / 351.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.002687/0.05305, allocations: 0.8841 MB / 352.3 MB, free: 12.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/0.05312, allocations: 132.5 kB / 352.4 MB, free: 11.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004881/0.05361, allocations: 0.5104 MB / 352.9 MB, free: 11.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.705e-05/0.05364, allocations: 29.7 kB / 353 MB, free: 11.38 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.05385, allocations: 360.9 kB / 353.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.63e-05/0.05395, allocations: 138.9 kB / 353.5 MB, free: 10.88 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.05413, allocations: 150.5 kB / 353.6 MB, free: 10.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.05429, allocations: 378.6 kB / 354 MB, free: 10.35 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.05442, allocations: 61.97 kB / 354 MB, free: 10.29 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003638/0.05478, allocations: 481.5 kB / 354.5 MB, free: 9.652 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005324/0.05532, allocations: 0.5046 MB / 355 MB, free: 9.004 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.05533, allocations: 4 kB / 355 MB, free: 9 MB / 330.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008645/0.05619, allocations: 0.5105 MB / 355.5 MB, free: 8.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.05622, allocations: 12 kB / 355.5 MB, free: 8.469 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.05623, allocations: 11.94 kB / 355.6 MB, free: 8.457 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000787/0.05702, allocations: 216.7 kB / 355.8 MB, free: 8.238 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.05732, allocations: 123.8 kB / 355.9 MB, free: 8.117 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007656/0.05809, allocations: 1.18 MB / 357.1 MB, free: 6.883 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003897/0.05848, allocations: 32.06 kB / 357.1 MB, free: 6.852 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.659e-05/0.05853, allocations: 32 kB / 357.1 MB, free: 6.82 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.0002341/0.05877, allocations: 167.6 kB / 357.3 MB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.05887, allocations: 55.97 kB / 357.3 MB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008729/0.05974, allocations: 492.6 kB / 357.8 MB, free: 6.094 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.05975, allocations: 4 kB / 357.8 MB, free: 6.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.05975, allocations: 3.938 kB / 357.8 MB, free: 6.086 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.05976, allocations: 3.938 kB / 357.8 MB, free: 6.082 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.06085, allocations: 0.6603 MB / 358.5 MB, free: 5.379 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.06085, allocations: 4 kB / 358.5 MB, free: 5.375 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.06097, allocations: 31.98 kB / 358.5 MB, free: 5.344 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005485/0.06152, allocations: 163.2 kB / 358.7 MB, free: 5.176 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.06155, allocations: 12 kB / 358.7 MB, free: 5.164 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00068/0.06223, allocations: 1.13 MB / 359.8 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.06223, allocations: 0 / 359.8 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006494/0.06288, allocations: 482.9 kB / 360.3 MB, free: 3.469 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.06305, allocations: 67.59 kB / 360.4 MB, free: 3.402 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.667e-05/0.06313, allocations: 12 kB / 360.4 MB, free: 3.391 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.06335, allocations: 11.98 kB / 360.4 MB, free: 3.379 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/0.06341, allocations: 31.88 kB / 360.4 MB, free: 3.348 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.688e-05/0.06345, allocations: 15.98 kB / 360.4 MB, free: 3.332 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002284/0.06368, allocations: 208.4 kB / 360.6 MB, free: 3.129 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06368, allocations: 32 / 360.6 MB, free: 3.129 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008336/0.06451, allocations: 239.8 kB / 360.9 MB, free: 2.895 MB / 330.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.0004269/0.06494, allocations: 212 kB / 361.1 MB, free: 2.676 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006449/0.06558, allocations: 333.8 kB / 361.4 MB, free: 2.352 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.557e-05/0.06561, allocations: 12.41 kB / 361.4 MB, free: 2.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002629/0.06587, allocations: 142.9 kB / 361.6 MB, free: 2.199 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009888/0.06686, allocations: 300 kB / 361.9 MB, free: 1.922 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.06902, allocations: 1.091 MB / 363 MB, free: 0.793 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.06917, allocations: 163 kB / 363.1 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00048/0.06965, allocations: 191.1 kB / 363.3 MB, free: 440 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005957/0.07024, allocations: 287 kB / 363.6 MB, free: 152 kB / 330.7 MB Notification: Performance of SimCode: time 1.233e-06/0.07024, allocations: 0 / 363.6 MB, free: 152 kB / 330.7 MB Notification: Performance of Templates: time 0.01937/0.08961, allocations: 14.2 MB / 377.8 MB, free: 2.242 MB / 346.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.3638659617863595]