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.0009449/0.0009449, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009695/0.0009695, allocations: 160.5 kB / 24.55 MB, free: 12 kB / 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.9179/0.9179, allocations: 177 MB / 204.8 MB, free: 5.566 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.2315/0.2315, allocations: 34.87 MB / 296.3 MB, free: 0.5273 MB / 266.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 2.474e-06/2.474e-06, allocations: 0 / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.11e-05/3.357e-05, allocations: 7.156 kB / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.009224/0.009257, allocations: 8.361 MB / 387.1 MB, free: 9.645 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003471/0.01273, allocations: 2.242 MB / 389.4 MB, free: 7.395 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005714/0.0133, allocations: 27.75 kB / 389.4 MB, free: 7.367 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006334/0.01393, allocations: 206.5 kB / 389.6 MB, free: 7.164 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002633/0.01657, allocations: 1.298 MB / 390.9 MB, free: 5.859 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.01838, allocations: 0.8611 MB / 391.8 MB, free: 4.996 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001905/0.02029, allocations: 1.848 MB / 393.6 MB, free: 3.145 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006753/0.02096, allocations: 433.8 kB / 394 MB, free: 2.715 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002876/0.02384, allocations: 2.003 MB / 396.1 MB, free: 0.707 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007914/0.02463, allocations: 0.6077 MB / 396.7 MB, free: 100 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.02475, allocations: 63.94 kB / 396.7 MB, free: 36 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008343/0.02558, allocations: 463.2 kB / 397.2 MB, free: 15.58 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002159/0.0258, allocations: 295.1 kB / 397.5 MB, free: 15.29 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002579/0.02606, allocations: 291.3 kB / 397.7 MB, free: 15.01 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.02739, allocations: 0.9892 MB / 398.7 MB, free: 14.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.02739, allocations: 0 / 398.7 MB, free: 14.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.02739, allocations: 0 / 398.7 MB, free: 14.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.0274, allocations: 0 / 398.7 MB, free: 14.02 MB / 378.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.001543/0.02895, allocations: 1.13 MB / 399.9 MB, free: 12.85 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.02899, allocations: 8.031 kB / 399.9 MB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006724/0.02966, allocations: 239.8 kB / 400.1 MB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005853/0.03024, allocations: 0.5007 MB / 400.6 MB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.03035, allocations: 152.4 kB / 400.8 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-05/0.03042, allocations: 56.38 kB / 400.8 MB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009079/0.03133, allocations: 1.009 MB / 401.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.03135, allocations: 11.89 kB / 401.8 MB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.214e-05/0.0314, allocations: 23.98 kB / 401.9 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-05/0.03145, allocations: 40.97 kB / 401.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007757/0.03223, allocations: 313.5 kB / 402.2 MB, free: 10.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002851/0.03508, allocations: 4.266 MB / 406.5 MB, free: 5.836 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.0354, allocations: 187.2 kB / 406.7 MB, free: 5.641 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.17e-05/0.03549, allocations: 67.59 kB / 406.7 MB, free: 5.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.278e-05/0.03556, allocations: 31.97 kB / 406.7 MB, free: 5.539 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.03559, allocations: 41.39 kB / 406.8 MB, free: 5.488 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.863e-06/0.03559, allocations: 0 / 406.8 MB, free: 5.488 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002048/0.03764, allocations: 1.032 MB / 407.8 MB, free: 4.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.03769, allocations: 132.5 kB / 408 MB, free: 4.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004369/0.03813, allocations: 0.5959 MB / 408.5 MB, free: 3.637 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.03816, allocations: 37.64 kB / 408.6 MB, free: 3.594 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/0.03838, allocations: 466.7 kB / 409 MB, free: 3.133 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.562e-05/0.03846, allocations: 134.9 kB / 409.2 MB, free: 3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.03859, allocations: 164.2 kB / 409.3 MB, free: 2.832 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000375/0.03897, allocations: 0.5469 MB / 409.9 MB, free: 2.273 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.03911, allocations: 85.94 kB / 410 MB, free: 2.191 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003539/0.03946, allocations: 0.6235 MB / 410.6 MB, free: 1.344 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004949/0.03996, allocations: 0.6575 MB / 411.2 MB, free: 0.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.03996, allocations: 4 kB / 411.2 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008368/0.0408, allocations: 0.6764 MB / 411.9 MB, free: 15.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.04082, allocations: 16.16 kB / 411.9 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.04083, allocations: 11.94 kB / 412 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006256/0.04145, allocations: 245.5 kB / 412.2 MB, free: 15.53 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.04168, allocations: 123.8 kB / 412.3 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007223/0.04241, allocations: 1.744 MB / 414.1 MB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.04264, allocations: 31.98 kB / 414.1 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.326e-05/0.04268, allocations: 44 kB / 414.1 MB, free: 13.52 MB / 394.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.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 (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.0001497/0.04283, allocations: 212.3 kB / 414.3 MB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.552e-05/0.0429, allocations: 71.62 kB / 414.4 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007741/0.04368, allocations: 0.544 MB / 415 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.04368, allocations: 4 kB / 415 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.04369, allocations: 3.938 kB / 415 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.04369, allocations: 7.984 kB / 415 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009895/0.04468, allocations: 0.8948 MB / 415.9 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.04469, allocations: 4.031 kB / 415.9 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.695e-05/0.04478, allocations: 47.91 kB / 415.9 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004123/0.04519, allocations: 159.1 kB / 416.1 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.04522, allocations: 12 kB / 416.1 MB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008847/0.0461, allocations: 1.694 MB / 417.8 MB, free: 9.715 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.04611, allocations: 0 / 417.8 MB, free: 9.715 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006277/0.04673, allocations: 0.5692 MB / 418.3 MB, free: 9.105 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.04687, allocations: 107.6 kB / 418.4 MB, free: 9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.53e-05/0.04692, allocations: 11.98 kB / 418.5 MB, free: 8.988 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.04709, allocations: 8 kB / 418.5 MB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.63e-05/0.04714, allocations: 31.89 kB / 418.5 MB, free: 8.949 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/0.04717, allocations: 19.98 kB / 418.5 MB, free: 8.93 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002688/0.04744, allocations: 354.8 kB / 418.9 MB, free: 8.586 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04744, allocations: 0 / 418.9 MB, free: 8.586 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005509/0.04799, allocations: 231.8 kB / 419.1 MB, free: 8.359 MB / 394.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.0003501/0.04834, allocations: 238.8 kB / 419.3 MB, free: 8.113 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005894/0.04893, allocations: 376.2 kB / 419.7 MB, free: 7.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.04893, allocations: 0 / 419.7 MB, free: 7.75 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002331/0.04917, allocations: 160.8 kB / 419.8 MB, free: 7.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00074/0.04991, allocations: 290.1 kB / 420.1 MB, free: 7.312 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.0516, allocations: 1.104 MB / 421.2 MB, free: 6.168 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.0517, allocations: 167 kB / 421.4 MB, free: 5.984 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004158/0.05212, allocations: 232.8 kB / 421.6 MB, free: 5.758 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.856e-05/0.05222, allocations: 68.41 kB / 421.7 MB, free: 5.691 MB / 394.7 MB Notification: Performance of SimCode: time 1.353e-06/0.05222, allocations: 0 / 421.7 MB, free: 5.691 MB / 394.7 MB Notification: Performance of Templates: time 0.01747/0.06969, allocations: 14.06 MB / 435.8 MB, free: 7.891 MB / 410.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.7765591689385474]