Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009233/0.0009233, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.00202/0.00202, allocations: 169 kB / 24.25 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9229/0.9229, allocations: 158.6 MB / 186 MB, free: 2.516 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1345/0.1345, allocations: 32.37 MB / 270.7 MB, free: 14.75 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.697e-06/3.697e-06, allocations: 3.938 kB / 347.7 MB, free: 9.746 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.603e-05/3.973e-05, allocations: 6.25 kB / 347.7 MB, free: 9.738 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.02489/0.02493, allocations: 30.66 MB / 378.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005542/0.03048, allocations: 4.628 MB / 383 MB, free: 6.32 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004809/0.03096, allocations: 27.75 kB / 383 MB, free: 6.293 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007372/0.03169, allocations: 294 kB / 383.3 MB, free: 6.004 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003641/0.03534, allocations: 1.87 MB / 385.2 MB, free: 4.125 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002955/0.03829, allocations: 1.546 MB / 386.7 MB, free: 2.574 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002601/0.04089, allocations: 1.883 MB / 388.6 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007245/0.04162, allocations: 449.8 kB / 389 MB, free: 248 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004914/0.04653, allocations: 3.464 MB / 392.5 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.04812, allocations: 1.282 MB / 393.8 MB, free: 11.48 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.04825, allocations: 64 kB / 393.8 MB, free: 11.42 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002422/0.05068, allocations: 1.407 MB / 395.3 MB, free: 10.01 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002665/0.05094, allocations: 291.1 kB / 395.5 MB, free: 9.727 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003184/0.05126, allocations: 291.3 kB / 395.8 MB, free: 9.441 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002038/0.0533, allocations: 1.297 MB / 397.1 MB, free: 8.141 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.0533, allocations: 0 / 397.1 MB, free: 8.141 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.0533, allocations: 0 / 397.1 MB, free: 8.141 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.781e-05/0.05332, allocations: 4 kB / 397.1 MB, free: 8.137 MB / 330.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.00179/0.05511, allocations: 1.199 MB / 398.3 MB, free: 6.898 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.05516, allocations: 12.03 kB / 398.3 MB, free: 6.887 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008503/0.05601, allocations: 251.8 kB / 398.6 MB, free: 6.641 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006649/0.05668, allocations: 496.8 kB / 399.1 MB, free: 6.129 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.05679, allocations: 156.4 kB / 399.2 MB, free: 5.953 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.954e-05/0.05687, allocations: 56.38 kB / 399.3 MB, free: 5.898 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009994/0.05787, allocations: 1.06 MB / 400.3 MB, free: 4.637 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.05789, allocations: 4.125 kB / 400.3 MB, free: 4.633 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.28e-05/0.05795, allocations: 31.94 kB / 400.4 MB, free: 4.602 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.163e-05/0.058, allocations: 36.98 kB / 400.4 MB, free: 4.562 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005881/0.05859, allocations: 317.4 kB / 400.7 MB, free: 4.254 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003391/0.06198, allocations: 4.345 MB / 405.1 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003671/0.06234, allocations: 183.2 kB / 405.2 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.06245, allocations: 63.66 kB / 405.3 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/0.06261, allocations: 92.5 kB / 405.4 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.06264, allocations: 45.39 kB / 405.4 MB, free: 15.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=30): time 2.625e-06/0.06265, allocations: 0 / 405.4 MB, free: 15.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.002828/0.06547, allocations: 1.04 MB / 406.5 MB, free: 14.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.496e-05/0.06555, allocations: 132.5 kB / 406.6 MB, free: 14.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006116/0.06616, allocations: 0.5803 MB / 407.2 MB, free: 13.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.836e-05/0.0662, allocations: 29.7 kB / 407.2 MB, free: 13.46 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002819/0.06648, allocations: 466.7 kB / 407.7 MB, free: 13 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003137/0.06962, allocations: 134.9 kB / 407.8 MB, free: 12.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/0.06983, allocations: 156.2 kB / 408 MB, free: 12.7 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000225/0.07006, allocations: 0.5508 MB / 408.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.07026, allocations: 89.94 kB / 408.6 MB, free: 12.05 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000721/0.07098, allocations: 0.5884 MB / 409.2 MB, free: 11.26 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006629/0.07164, allocations: 0.631 MB / 409.8 MB, free: 10.45 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.07165, allocations: 4 kB / 409.8 MB, free: 10.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004253/0.0759, allocations: 0.6681 MB / 410.5 MB, free: 9.766 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/0.07593, allocations: 10.34 kB / 410.5 MB, free: 9.758 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/0.07595, allocations: 15.92 kB / 410.5 MB, free: 9.742 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009619/0.07691, allocations: 235.7 kB / 410.7 MB, free: 9.504 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.07721, allocations: 131.8 kB / 410.9 MB, free: 9.375 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/0.07825, allocations: 1.744 MB / 412.6 MB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003408/0.08166, allocations: 24 kB / 412.6 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.656e-05/0.08173, allocations: 51.98 kB / 412.7 MB, free: 7.492 MB / 346.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.0002582/0.08199, allocations: 208.3 kB / 412.9 MB, free: 7.277 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.08211, allocations: 75.58 kB / 413 MB, free: 7.203 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.08313, allocations: 476.6 kB / 413.4 MB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.08313, allocations: 4 kB / 413.4 MB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.08314, allocations: 3.938 kB / 413.4 MB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.08315, allocations: 11.98 kB / 413.4 MB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004409/0.08756, allocations: 0.9143 MB / 414.4 MB, free: 5.734 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.08756, allocations: 0 / 414.4 MB, free: 5.734 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.0877, allocations: 43.92 kB / 414.4 MB, free: 5.691 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006414/0.08834, allocations: 167.2 kB / 414.6 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.033e-05/0.08837, allocations: 8.062 kB / 414.6 MB, free: 5.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/0.0895, allocations: 1.698 MB / 416.3 MB, free: 3.75 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.0895, allocations: 3.938 kB / 416.3 MB, free: 3.746 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003882/0.09338, allocations: 0.5809 MB / 416.9 MB, free: 3.125 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002568/0.09364, allocations: 95.56 kB / 416.9 MB, free: 3.031 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.288e-05/0.09372, allocations: 12 kB / 417 MB, free: 3.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.09398, allocations: 15.94 kB / 417 MB, free: 3.004 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.397e-05/0.09405, allocations: 35.88 kB / 417 MB, free: 2.969 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.216e-05/0.0941, allocations: 28.05 kB / 417 MB, free: 2.941 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003607/0.09446, allocations: 350.8 kB / 417.4 MB, free: 2.602 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.09446, allocations: 0 / 417.4 MB, free: 2.602 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008948/0.09535, allocations: 295.6 kB / 417.7 MB, free: 2.312 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.0007356/0.09609, allocations: 382.2 kB / 418 MB, free: 1.941 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006785/0.1029, allocations: 372.9 kB / 418.4 MB, free: 1.582 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.1029, allocations: 0 / 418.4 MB, free: 1.582 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002992/0.1032, allocations: 168 kB / 418.6 MB, free: 1.414 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009929/0.1042, allocations: 301 kB / 418.9 MB, free: 1.117 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00807/0.1122, allocations: 1.089 MB / 420 MB, free: 15.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.1124, allocations: 166.9 kB / 420.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004881/0.1129, allocations: 181.1 kB / 420.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.113, allocations: 60.48 kB / 420.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of SimCode: time 2.234e-06/0.113, allocations: 0 / 420.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of Templates: time 0.04713/0.1601, allocations: 14.61 MB / 435 MB, free: 1.039 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.6278126428369433]