Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009012/0.0009012, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009253/0.0009253, allocations: 161.9 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9716/0.9716, allocations: 177 MB / 205.2 MB, free: 4.422 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1477/0.1477, allocations: 34.88 MB / 296.6 MB, free: 13.38 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 325.9 MB, free: 52 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/2.927e-05, allocations: 5.406 kB / 325.9 MB, free: 48 kB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.01141/0.01144, allocations: 8.316 MB / 334.2 MB, free: 7.684 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00307/0.01451, allocations: 2.28 MB / 336.5 MB, free: 5.398 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003073/0.01482, allocations: 27.75 kB / 336.6 MB, free: 5.371 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004984/0.01532, allocations: 210.5 kB / 336.8 MB, free: 5.164 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002033/0.01735, allocations: 1.306 MB / 338.1 MB, free: 3.852 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.01857, allocations: 0.8534 MB / 338.9 MB, free: 2.996 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001349/0.01991, allocations: 1.844 MB / 340.8 MB, free: 1.145 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004445/0.02036, allocations: 449.7 kB / 341.2 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1518/0.1722, allocations: 1.914 MB / 343.1 MB, free: 21.23 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.1733, allocations: 0.5658 MB / 343.7 MB, free: 21.23 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001485/0.1735, allocations: 61.22 kB / 343.7 MB, free: 21.23 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.1746, allocations: 476.8 kB / 344.2 MB, free: 21.23 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000359/0.175, allocations: 292 kB / 344.5 MB, free: 21.23 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003833/0.1754, allocations: 284.7 kB / 344.8 MB, free: 21.23 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.1767, allocations: 0.9927 MB / 345.8 MB, free: 21.21 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1767, allocations: 0.75 kB / 345.8 MB, free: 21.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1767, allocations: 0.6094 kB / 345.8 MB, free: 21.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.1767, allocations: 1.906 kB / 345.8 MB, free: 21.21 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.001438/0.1782, allocations: 0.9785 MB / 346.7 MB, free: 20.7 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.1782, allocations: 9.438 kB / 346.8 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006871/0.1789, allocations: 239.9 kB / 347 MB, free: 20.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005645/0.1794, allocations: 426 kB / 347.4 MB, free: 20.47 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-05/0.1795, allocations: 156.1 kB / 347.6 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.199e-05/0.1796, allocations: 61.36 kB / 347.6 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000764/0.1804, allocations: 0.9117 MB / 348.5 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.1804, allocations: 6.875 kB / 348.5 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.074e-05/0.1804, allocations: 27.84 kB / 348.6 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.449e-05/0.1805, allocations: 43.72 kB / 348.6 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003976/0.1809, allocations: 240.5 kB / 348.8 MB, free: 19.65 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002017/0.1829, allocations: 2.946 MB / 351.8 MB, free: 17.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.1832, allocations: 157.6 kB / 351.9 MB, free: 17.48 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.14e-05/0.1832, allocations: 46.39 kB / 352 MB, free: 17.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001083/0.1833, allocations: 62.95 kB / 352 MB, free: 17.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.1834, allocations: 44.16 kB / 352.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 1.242e-06/0.1834, allocations: 0 / 352.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.001758/0.1851, allocations: 0.8803 MB / 353 MB, free: 17.19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.1851, allocations: 137.3 kB / 353.1 MB, free: 17.03 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003505/0.1855, allocations: 0.4972 MB / 353.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.1855, allocations: 36.36 kB / 353.6 MB, free: 16.85 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.1857, allocations: 374.5 kB / 354 MB, free: 16.6 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.909e-05/0.1857, allocations: 134.2 kB / 354.1 MB, free: 16.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.1858, allocations: 146.3 kB / 354.3 MB, free: 16.49 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.039e-05/0.1859, allocations: 379.7 kB / 354.6 MB, free: 16.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.501e-05/0.186, allocations: 63.27 kB / 354.7 MB, free: 16.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.1862, allocations: 478.9 kB / 355.2 MB, free: 15.69 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000312/0.1865, allocations: 0.5036 MB / 355.7 MB, free: 15.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1865, allocations: 3.562 kB / 355.7 MB, free: 15.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0005206/0.187, allocations: 0.5062 MB / 356.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.187, allocations: 11.42 kB / 356.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.187, allocations: 10.84 kB / 356.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005023/0.1875, allocations: 225.1 kB / 356.4 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.1877, allocations: 128.7 kB / 356.6 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003655/0.1881, allocations: 1.179 MB / 357.7 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.1883, allocations: 29.88 kB / 357.8 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/0.1884, allocations: 36.39 kB / 357.8 MB, free: 14.16 MB / 314.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.0001286/0.1885, allocations: 165.6 kB / 358 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.097e-05/0.1886, allocations: 48.88 kB / 358 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005669/0.1891, allocations: 480.3 kB / 358.5 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.1891, allocations: 6.969 kB / 358.5 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.1891, allocations: 2.875 kB / 358.5 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1891, allocations: 6 kB / 358.5 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006613/0.1898, allocations: 0.6619 MB / 359.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1898, allocations: 2.938 kB / 359.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.879e-05/0.1899, allocations: 37.03 kB / 359.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003531/0.1902, allocations: 151.6 kB / 359.3 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.1903, allocations: 13 kB / 359.4 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000339/0.1906, allocations: 1.15 MB / 360.5 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1906, allocations: 0 / 360.5 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003929/0.191, allocations: 465.3 kB / 361 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.668e-05/0.1911, allocations: 70.59 kB / 361 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.697e-05/0.1911, allocations: 11.41 kB / 361 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.1913, allocations: 18.19 kB / 361.1 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.1913, allocations: 28.5 kB / 361.1 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.1913, allocations: 18.03 kB / 361.1 MB, free: 12.3 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001405/0.1915, allocations: 212.1 kB / 361.3 MB, free: 12.28 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1915, allocations: 0 / 361.3 MB, free: 12.28 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004614/0.1919, allocations: 237.1 kB / 361.5 MB, free: 12.26 MB / 314.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.0002868/0.1922, allocations: 210.9 kB / 361.7 MB, free: 12.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003855/0.1926, allocations: 320.7 kB / 362.1 MB, free: 12.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-05/0.1926, allocations: 8.75 kB / 362.1 MB, free: 12.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.1928, allocations: 145.6 kB / 362.2 MB, free: 12.14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006702/0.1935, allocations: 298.8 kB / 362.5 MB, free: 12.07 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.1948, allocations: 1.098 MB / 363.6 MB, free: 11.33 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.628e-05/0.1949, allocations: 159.6 kB / 363.8 MB, free: 11.16 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003004/0.1952, allocations: 186.4 kB / 363.9 MB, free: 11 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000389/0.1956, allocations: 290.9 kB / 364.2 MB, free: 10.73 MB / 314.7 MB Notification: Performance of SimCode: time 6.12e-07/0.1956, allocations: 0 / 364.2 MB, free: 10.73 MB / 314.7 MB Notification: Performance of Templates: time 0.01392/0.2095, allocations: 14.19 MB / 378.4 MB, free: 13.04 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.4398506633006036]