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_overall.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.0009216/0.0009216, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001036/0.001036, allocations: 174.3 kB / 24.92 MB, free: 8.77 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.9535/0.9535, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.2469/0.2469, allocations: 32.8 MB / 294.6 MB, free: 1.211 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_overall,tolerance=1e-05,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_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,tolerance=1e-05,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_overall") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 323.3 MB, free: 9.711 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.67e-05/1.783e-05, allocations: 4.172 kB / 323.3 MB, free: 9.707 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.002418/0.002436, allocations: 2.296 MB / 325.6 MB, free: 7.395 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002222/0.004657, allocations: 2.107 MB / 327.7 MB, free: 5.281 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.004761, allocations: 4 kB / 327.7 MB, free: 5.277 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002464/0.005007, allocations: 83.45 kB / 327.7 MB, free: 5.195 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002162/0.005224, allocations: 123.1 kB / 327.9 MB, free: 5.074 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008542/0.006078, allocations: 442.1 kB / 328.3 MB, free: 4.641 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004379/0.006516, allocations: 0.5596 MB / 328.9 MB, free: 4.078 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.429e-05/0.00658, allocations: 41.19 kB / 328.9 MB, free: 4.031 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002727/0.006853, allocations: 235.1 kB / 329.1 MB, free: 3.801 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.007037, allocations: 179.3 kB / 329.3 MB, free: 3.621 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.007065, allocations: 16 kB / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004947/0.00756, allocations: 399.3 kB / 329.7 MB, free: 3.215 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.805e-05/0.007658, allocations: 111.4 kB / 329.8 MB, free: 3.105 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.007764, allocations: 127.5 kB / 329.9 MB, free: 2.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006756/0.00844, allocations: 0.7511 MB / 330.7 MB, free: 2.227 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.008443, allocations: 0 / 330.7 MB, free: 2.227 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.008444, allocations: 4 kB / 330.7 MB, free: 2.223 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.008451, allocations: 0 / 330.7 MB, free: 2.223 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.0008643/0.009315, allocations: 0.715 MB / 331.4 MB, free: 1.484 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.009349, allocations: 12.03 kB / 331.4 MB, free: 1.473 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002431/0.009592, allocations: 104.8 kB / 331.5 MB, free: 1.371 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.009837, allocations: 229 kB / 331.7 MB, free: 1.121 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.009864, allocations: 41.69 kB / 331.8 MB, free: 1.082 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.425e-05/0.009908, allocations: 52.38 kB / 331.8 MB, free: 1.031 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004659/0.01037, allocations: 492.4 kB / 332.3 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.01039, allocations: 3.938 kB / 332.3 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.01042, allocations: 20 kB / 332.3 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.97e-05/0.01046, allocations: 33.28 kB / 332.4 MB, free: 480 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.01066, allocations: 198.7 kB / 332.6 MB, free: 280 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.01184, allocations: 1.141 MB / 333.7 MB, free: 15.1 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.01206, allocations: 170.3 kB / 333.9 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.666e-05/0.01213, allocations: 38.58 kB / 333.9 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.047e-05/0.01217, allocations: 15.92 kB / 333.9 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.0122, allocations: 34.56 kB / 334 MB, free: 14.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 1.212e-06/0.0122, allocations: 0 / 334 MB, free: 14.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003202/0.01252, allocations: 132.6 kB / 334.1 MB, free: 14.67 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.01256, allocations: 106.8 kB / 334.2 MB, free: 14.54 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.01275, allocations: 310.7 kB / 334.5 MB, free: 14.23 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.01277, allocations: 29.7 kB / 334.5 MB, free: 14.19 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.0129, allocations: 315.7 kB / 334.8 MB, free: 13.88 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.742e-05/0.01294, allocations: 75.41 kB / 334.9 MB, free: 13.8 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.01305, allocations: 110 kB / 335 MB, free: 13.69 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.01315, allocations: 342.7 kB / 335.4 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.397e-05/0.01323, allocations: 59.8 kB / 335.4 MB, free: 13.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.01343, allocations: 304.9 kB / 335.7 MB, free: 12.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003459/0.01377, allocations: 433.6 kB / 336.1 MB, free: 12.3 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.01378, allocations: 4 kB / 336.1 MB, free: 12.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0003744/0.01415, allocations: 338.7 kB / 336.5 MB, free: 11.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.01417, allocations: 12 kB / 336.5 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.542e-05/0.01421, allocations: 31.98 kB / 336.5 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.01423, allocations: 12 kB / 336.5 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.01436, allocations: 68.52 kB / 336.6 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.01438, allocations: 23.92 kB / 336.6 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.01455, allocations: 67.55 kB / 336.7 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.01458, allocations: 27.94 kB / 336.7 MB, free: 11.72 MB / 314.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: 24 (m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * 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.0001359/0.01471, allocations: 168.4 kB / 336.9 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.01477, allocations: 19.98 kB / 336.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003073/0.01507, allocations: 219.7 kB / 337.1 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.01508, allocations: 4 kB / 337.1 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.01508, allocations: 4 kB / 337.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01509, allocations: 3.984 kB / 337.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.01535, allocations: 193.6 kB / 337.3 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.059e-05/0.01538, allocations: 23.98 kB / 337.3 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.265e-05/0.01544, allocations: 23.86 kB / 337.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.01544, allocations: 4 kB / 337.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.01545, allocations: 7.984 kB / 337.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.01546, allocations: 8 kB / 337.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01546, allocations: 0 / 337.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.01571, allocations: 405.2 kB / 337.8 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.185e-05/0.01574, allocations: 31.8 kB / 337.8 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.01577, allocations: 3.938 kB / 337.8 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.01588, allocations: 12 kB / 337.8 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.01593, allocations: 15.97 kB / 337.8 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.01595, allocations: 11.98 kB / 337.8 MB, free: 10.53 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.728e-05/0.01603, allocations: 96.62 kB / 337.9 MB, free: 10.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01603, allocations: 0 / 337.9 MB, free: 10.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004984/0.01652, allocations: 223.2 kB / 338.2 MB, free: 10.21 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.0003061/0.01683, allocations: 235.9 kB / 338.4 MB, free: 9.973 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003527/0.01718, allocations: 0.4986 MB / 338.9 MB, free: 9.398 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/0.01719, allocations: 5.25 kB / 338.9 MB, free: 9.395 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001705/0.01736, allocations: 371.5 kB / 339.3 MB, free: 8.957 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.01767, allocations: 48.97 kB / 339.3 MB, free: 8.914 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.01884, allocations: 0.8193 MB / 340.1 MB, free: 8.055 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.543e-05/0.01894, allocations: 144.5 kB / 340.3 MB, free: 7.891 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.26e-05/0.01902, allocations: 42.81 kB / 340.3 MB, free: 7.852 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/0.01923, allocations: 155.3 kB / 340.5 MB, free: 7.699 MB / 314.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01923, allocations: 0 / 340.5 MB, free: 7.699 MB / 314.7 MB Notification: Performance of Templates: time 0.01386/0.03309, allocations: 8.291 MB / 348.7 MB, free: 15.5 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall/kc_overall.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.1549285408109426]