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.0009831/0.0009831, allocations: 80.31 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.001954/0.001954, allocations: 167 kB / 25.61 MB, free: 8.602 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.9215/0.9215, allocations: 177.1 MB / 206 MB, free: 4.477 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.1657/0.1657, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.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 1.844e-06/1.844e-06, allocations: 0 / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.208e-05/1.393e-05, allocations: 2.312 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.00617/0.006184, allocations: 8.255 MB / 385.5 MB, free: 17.27 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002305/0.008489, allocations: 2.242 MB / 387.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003064/0.008795, allocations: 27.75 kB / 387.8 MB, free: 15 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004213/0.009216, allocations: 206.5 kB / 388 MB, free: 14.79 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001719/0.01094, allocations: 1.294 MB / 389.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009528/0.01189, allocations: 0.8573 MB / 390.2 MB, free: 12.63 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001018/0.01291, allocations: 1.851 MB / 392 MB, free: 10.77 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003639/0.01327, allocations: 441.7 kB / 392.4 MB, free: 10.34 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001773/0.01504, allocations: 1.996 MB / 394.4 MB, free: 8.34 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004767/0.01552, allocations: 0.6116 MB / 395.1 MB, free: 7.727 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.102e-05/0.01559, allocations: 60 kB / 395.1 MB, free: 7.668 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005274/0.01612, allocations: 475.1 kB / 395.6 MB, free: 7.203 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.01628, allocations: 291.1 kB / 395.9 MB, free: 6.918 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.01645, allocations: 283.3 kB / 396.1 MB, free: 6.641 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008143/0.01727, allocations: 0.993 MB / 397.1 MB, free: 5.645 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.01727, allocations: 0 / 397.1 MB, free: 5.645 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.01727, allocations: 0 / 397.1 MB, free: 5.645 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.01728, allocations: 0 / 397.1 MB, free: 5.645 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.00109/0.01837, allocations: 1.13 MB / 398.3 MB, free: 4.477 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.0184, allocations: 11.98 kB / 398.3 MB, free: 4.465 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005911/0.01899, allocations: 231.9 kB / 398.5 MB, free: 4.238 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004518/0.01944, allocations: 496.7 kB / 399 MB, free: 3.723 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.549e-05/0.01951, allocations: 156.4 kB / 399.1 MB, free: 3.547 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.161e-05/0.01958, allocations: 60.36 kB / 399.2 MB, free: 3.488 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006095/0.02019, allocations: 0.9661 MB / 400.2 MB, free: 2.332 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.02021, allocations: 4 kB / 400.2 MB, free: 2.328 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.322e-05/0.02025, allocations: 27.94 kB / 400.2 MB, free: 2.301 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.924e-05/0.02029, allocations: 36.97 kB / 400.2 MB, free: 2.262 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003417/0.02063, allocations: 262.5 kB / 400.5 MB, free: 2.004 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002537/0.02317, allocations: 4.165 MB / 404.6 MB, free: 13.69 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.02344, allocations: 168.1 kB / 404.8 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.535e-05/0.02351, allocations: 55.66 kB / 404.9 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.49e-05/0.02359, allocations: 39.95 kB / 404.9 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.02361, allocations: 45.33 kB / 405 MB, free: 13.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 1.383e-06/0.02361, allocations: 7.875 kB / 405 MB, free: 13.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.001727/0.02534, allocations: 0.8993 MB / 405.9 MB, free: 12.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.02539, allocations: 136.5 kB / 406 MB, free: 12.24 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003821/0.02577, allocations: 0.5761 MB / 406.6 MB, free: 11.65 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.0258, allocations: 33.7 kB / 406.6 MB, free: 11.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.02601, allocations: 482.5 kB / 407.1 MB, free: 11.13 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.269e-05/0.02608, allocations: 138.9 kB / 407.2 MB, free: 10.99 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.02623, allocations: 164.1 kB / 407.4 MB, free: 10.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.02638, allocations: 0.5546 MB / 407.9 MB, free: 10.26 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.02648, allocations: 73.92 kB / 408 MB, free: 10.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/0.02679, allocations: 0.5999 MB / 408.6 MB, free: 9.363 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000432/0.02723, allocations: 0.6301 MB / 409.2 MB, free: 8.543 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.02723, allocations: 4 kB / 409.2 MB, free: 8.539 MB / 330.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009913/0.02822, allocations: 0.6253 MB / 409.9 MB, free: 7.898 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.02824, allocations: 8 kB / 409.9 MB, free: 7.891 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.02825, allocations: 12 kB / 409.9 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005688/0.02882, allocations: 226.3 kB / 410.1 MB, free: 7.652 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.02902, allocations: 135.8 kB / 410.2 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007405/0.02977, allocations: 1.733 MB / 412 MB, free: 5.723 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/0.02998, allocations: 31.94 kB / 412 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/0.03002, allocations: 32 kB / 412 MB, free: 5.66 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.0001699/0.03019, allocations: 212.2 kB / 412.2 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.539e-05/0.03028, allocations: 79.62 kB / 412.3 MB, free: 5.363 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007127/0.03099, allocations: 0.509 MB / 412.8 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.03099, allocations: 4 kB / 412.8 MB, free: 4.836 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.031, allocations: 3.984 kB / 412.8 MB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.031, allocations: 7.938 kB / 412.8 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000829/0.03183, allocations: 0.7862 MB / 413.6 MB, free: 3.984 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.03183, allocations: 0 / 413.6 MB, free: 3.984 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.574e-05/0.03192, allocations: 39.97 kB / 413.7 MB, free: 3.945 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003833/0.0323, allocations: 163.2 kB / 413.8 MB, free: 3.777 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.03232, allocations: 8 kB / 413.8 MB, free: 3.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006314/0.03295, allocations: 1.682 MB / 415.5 MB, free: 2.023 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.03295, allocations: 0 / 415.5 MB, free: 2.023 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005346/0.03349, allocations: 0.534 MB / 416 MB, free: 1.449 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.03361, allocations: 91.58 kB / 416.1 MB, free: 1.359 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.825e-05/0.03366, allocations: 7.984 kB / 416.1 MB, free: 1.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.03381, allocations: 16 kB / 416.2 MB, free: 1.336 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.03387, allocations: 27.75 kB / 416.2 MB, free: 1.309 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.847e-05/0.03389, allocations: 24.05 kB / 416.2 MB, free: 1.285 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001999/0.03409, allocations: 334.6 kB / 416.5 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03409, allocations: 0 / 416.5 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005097/0.0346, allocations: 239.7 kB / 416.8 MB, free: 0.7266 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.0006305/0.03523, allocations: 226.9 kB / 417 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004703/0.0357, allocations: 348.8 kB / 417.3 MB, free: 160 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.03571, allocations: 0 / 417.3 MB, free: 160 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.0359, allocations: 156.8 kB / 417.5 MB, free: 0 / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007568/0.03666, allocations: 305.5 kB / 417.8 MB, free: 15.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.03812, allocations: 1.083 MB / 418.9 MB, free: 14.6 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.03822, allocations: 175 kB / 419 MB, free: 14.41 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003172/0.03854, allocations: 183.6 kB / 419.2 MB, free: 14.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004484/0.03898, allocations: 341.9 kB / 419.5 MB, free: 13.89 MB / 346.7 MB Notification: Performance of SimCode: time 7.61e-07/0.03899, allocations: 0 / 419.5 MB, free: 13.89 MB / 346.7 MB Notification: Performance of Templates: time 0.01636/0.05535, allocations: 14.39 MB / 433.9 MB, free: 15.8 MB / 362.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.606704991776496]