Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.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.001423/0.001423, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001717/0.001717, allocations: 166.9 kB / 24.91 MB, free: 9.152 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 1.042/1.042, allocations: 177.1 MB / 205.3 MB, free: 5.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.2703/0.2703, allocations: 32.81 MB / 294.6 MB, free: 1.168 MB / 266.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.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Nu_3.[0-9,]+.|Nu_4.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Nu_3.[0-9,]+.|Nu_4.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 3.938 kB / 323.3 MB, free: 9.664 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.868e-05/3.022e-05, allocations: 6 kB / 323.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.004076/0.004106, allocations: 2.236 MB / 325.5 MB, free: 7.406 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002414/0.00652, allocations: 1.165 MB / 326.7 MB, free: 6.238 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002428/0.006763, allocations: 0 / 326.7 MB, free: 6.238 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003665/0.00713, allocations: 79.52 kB / 326.7 MB, free: 6.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003659/0.007496, allocations: 111.2 kB / 326.9 MB, free: 6.051 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008238/0.008319, allocations: 191.2 kB / 327 MB, free: 5.863 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007417/0.009061, allocations: 0.5247 MB / 327.6 MB, free: 5.336 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.009172, allocations: 33.2 kB / 327.6 MB, free: 5.297 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005019/0.009674, allocations: 223.2 kB / 327.8 MB, free: 5.078 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002869/0.009961, allocations: 171.4 kB / 328 MB, free: 4.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.094e-05/0.01001, allocations: 16 kB / 328 MB, free: 4.895 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004156/0.01043, allocations: 147.7 kB / 328.1 MB, free: 4.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.01057, allocations: 107.5 kB / 328.3 MB, free: 4.645 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001788/0.01075, allocations: 119.5 kB / 328.4 MB, free: 4.527 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008076/0.01155, allocations: 0.4942 MB / 328.9 MB, free: 4.031 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.01156, allocations: 0 / 328.9 MB, free: 4.031 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.01156, allocations: 0 / 328.9 MB, free: 4.031 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.01157, allocations: 4 kB / 328.9 MB, free: 4.027 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001064/0.01263, allocations: 0.6371 MB / 329.5 MB, free: 3.367 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.01268, allocations: 12.03 kB / 329.5 MB, free: 3.355 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003669/0.01305, allocations: 96.86 kB / 329.6 MB, free: 3.262 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.01339, allocations: 209.1 kB / 329.8 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.805e-05/0.01343, allocations: 33.38 kB / 329.8 MB, free: 3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.334e-05/0.0135, allocations: 44.38 kB / 329.9 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000646/0.01414, allocations: 411.8 kB / 330.3 MB, free: 2.531 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.01416, allocations: 7.938 kB / 330.3 MB, free: 2.523 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.355e-05/0.0142, allocations: 23.98 kB / 330.3 MB, free: 2.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.403e-05/0.01426, allocations: 28.92 kB / 330.4 MB, free: 2.469 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002976/0.01456, allocations: 164.6 kB / 330.5 MB, free: 2.309 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.01623, allocations: 1.011 MB / 331.5 MB, free: 1.262 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.01653, allocations: 170.3 kB / 331.7 MB, free: 1.062 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.043e-05/0.01662, allocations: 34.56 kB / 331.7 MB, free: 1.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.525e-05/0.01667, allocations: 19.92 kB / 331.7 MB, free: 1 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.01671, allocations: 38.56 kB / 331.8 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 2.825e-06/0.01671, allocations: 0 / 331.8 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004347/0.01714, allocations: 128.8 kB / 331.9 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/0.01721, allocations: 102.8 kB / 332 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.01743, allocations: 229 kB / 332.2 MB, free: 476 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.01746, allocations: 33.7 kB / 332.3 MB, free: 436 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.01763, allocations: 236.2 kB / 332.5 MB, free: 196 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.504e-05/0.01771, allocations: 79.33 kB / 332.6 MB, free: 116 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.01784, allocations: 69.89 kB / 332.6 MB, free: 36 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.01799, allocations: 339 kB / 333 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.0181, allocations: 35.09 kB / 333 MB, free: 15.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.01827, allocations: 156.6 kB / 333.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000343/0.01862, allocations: 223.8 kB / 333.4 MB, free: 15.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.01862, allocations: 4 kB / 333.4 MB, free: 15.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004119/0.01903, allocations: 200.5 kB / 333.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.01906, allocations: 8 kB / 333.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.402e-05/0.01913, allocations: 27.98 kB / 333.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.01916, allocations: 4 kB / 333.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.01934, allocations: 32.45 kB / 333.6 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.063e-05/0.01936, allocations: 15.92 kB / 333.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.01956, allocations: 35.78 kB / 333.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.151e-05/0.01961, allocations: 15.98 kB / 333.7 MB, free: 14.83 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_1[1].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[3].target,m_flow_IN_con_2[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[3].target,m_flow_IN_con_3[1].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[3].target,m_flow_IN_con_4[1].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[3].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002241/0.01983, allocations: 136.5 kB / 333.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.745e-05/0.01993, allocations: 19.98 kB / 333.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004809/0.02041, allocations: 203.5 kB / 334.1 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.02042, allocations: 4 kB / 334.1 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.02042, allocations: 7.938 kB / 334.1 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.02043, allocations: 3.984 kB / 334.1 MB, free: 14.44 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005317/0.02096, allocations: 189.6 kB / 334.3 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.919e-05/0.02102, allocations: 27.98 kB / 334.3 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.02113, allocations: 15.98 kB / 334.3 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.02114, allocations: 0 / 334.3 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/0.02116, allocations: 11.94 kB / 334.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.02117, allocations: 0 / 334.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.02117, allocations: 4 kB / 334.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004902/0.02166, allocations: 404.8 kB / 334.7 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-05/0.02174, allocations: 23.84 kB / 334.7 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.078e-05/0.02178, allocations: 4 kB / 334.7 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.02202, allocations: 15.98 kB / 334.8 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.781e-05/0.02211, allocations: 19.97 kB / 334.8 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/0.02215, allocations: 11.98 kB / 334.8 MB, free: 13.69 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001281/0.02227, allocations: 66.8 kB / 334.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02227, allocations: 0 / 334.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008586/0.02313, allocations: 155.4 kB / 335 MB, free: 13.47 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003702/0.0235, allocations: 140.2 kB / 335.1 MB, free: 13.33 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005493/0.02405, allocations: 454.5 kB / 335.6 MB, free: 12.81 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.825e-05/0.02407, allocations: 5.125 kB / 335.6 MB, free: 12.8 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000283/0.02435, allocations: 375.9 kB / 336 MB, free: 12.36 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005566/0.02491, allocations: 42.16 kB / 336 MB, free: 12.32 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.02703, allocations: 0.7454 MB / 336.7 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001768/0.02721, allocations: 127.9 kB / 336.9 MB, free: 11.4 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001449/0.02735, allocations: 25.83 kB / 336.9 MB, free: 11.37 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003293/0.02768, allocations: 147.3 kB / 337 MB, free: 11.23 MB / 314.7 MB Notification: Performance of SimCode: time 2.284e-06/0.02768, allocations: 0 / 337 MB, free: 11.23 MB / 314.7 MB Notification: Performance of Templates: time 0.0129/0.04059, allocations: 5.928 MB / 343 MB, free: 5.387 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.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.35676591610536]