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.00147/0.00147, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.00182/0.00182, allocations: 161 kB / 24.55 MB, free: 24 kB / 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.045/1.045, allocations: 177.1 MB / 205 MB, free: 5.633 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.2495/0.2495, allocations: 32.81 MB / 294.3 MB, free: 1.219 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 2.014e-06/2.014e-06, allocations: 0 / 376.1 MB, free: 4.605 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.523e-05/2.724e-05, allocations: 2.312 kB / 376.1 MB, free: 4.602 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003784/0.003811, allocations: 2.309 MB / 378.4 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003648/0.007459, allocations: 2.091 MB / 380.5 MB, free: 180 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.007617, allocations: 4 kB / 380.5 MB, free: 176 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003736/0.00799, allocations: 79.41 kB / 380.5 MB, free: 96 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002783/0.008269, allocations: 119.2 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009319/0.009201, allocations: 458 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004822/0.009683, allocations: 0.5479 MB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.997e-05/0.009743, allocations: 21.28 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003102/0.01005, allocations: 235.2 kB / 381.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.01026, allocations: 183.3 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.35e-05/0.01029, allocations: 12 kB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005061/0.0108, allocations: 407.2 kB / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.01091, allocations: 111.4 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.01103, allocations: 135.5 kB / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007356/0.01177, allocations: 0.7356 MB / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.01177, allocations: 0 / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.01177, allocations: 0 / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.01178, allocations: 0 / 383.5 MB, free: 13.15 MB / 362.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.0009435/0.01272, allocations: 0.8776 MB / 384.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.01276, allocations: 16.03 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002698/0.01303, allocations: 128.5 kB / 384.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.01331, allocations: 255.7 kB / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.01334, allocations: 41.69 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.754e-05/0.01339, allocations: 52.38 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005551/0.01395, allocations: 0.5088 MB / 385.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.01397, allocations: 3.938 kB / 385.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.01401, allocations: 27.94 kB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.012e-05/0.01405, allocations: 29.31 kB / 385.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002807/0.01433, allocations: 211.7 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.01572, allocations: 1.552 MB / 387.2 MB, free: 9.324 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.01596, allocations: 169.1 kB / 387.3 MB, free: 9.121 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.252e-05/0.01605, allocations: 59.05 kB / 387.4 MB, free: 9.051 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.834e-05/0.01609, allocations: 15.92 kB / 387.4 MB, free: 9.035 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.01611, allocations: 41.33 kB / 387.4 MB, free: 8.984 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.412e-06/0.01611, allocations: 0 / 387.4 MB, free: 8.984 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004483/0.01656, allocations: 217.5 kB / 387.6 MB, free: 8.766 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.0166, allocations: 106.8 kB / 387.8 MB, free: 8.637 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/0.01688, allocations: 422 kB / 388.2 MB, free: 8.203 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.0169, allocations: 29.7 kB / 388.2 MB, free: 8.168 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.01706, allocations: 378.2 kB / 388.6 MB, free: 7.793 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/0.01711, allocations: 71.42 kB / 388.6 MB, free: 7.723 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.01725, allocations: 143.7 kB / 388.8 MB, free: 7.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.0174, allocations: 0.5196 MB / 389.3 MB, free: 7.039 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.01751, allocations: 56.95 kB / 389.3 MB, free: 6.984 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.0178, allocations: 455.9 kB / 389.8 MB, free: 6.363 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004701/0.01827, allocations: 0.547 MB / 390.3 MB, free: 5.641 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.01828, allocations: 4 kB / 390.3 MB, free: 5.637 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.000525/0.01881, allocations: 437.6 kB / 390.8 MB, free: 5.203 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.01882, allocations: 14.17 kB / 390.8 MB, free: 5.191 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.858e-05/0.01887, allocations: 48 kB / 390.8 MB, free: 5.145 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.761e-05/0.0189, allocations: 12 kB / 390.8 MB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.01903, allocations: 63.83 kB / 390.9 MB, free: 5.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.01905, allocations: 23.86 kB / 390.9 MB, free: 5.047 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.01921, allocations: 67.55 kB / 391 MB, free: 4.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.541e-05/0.01925, allocations: 43.98 kB / 391 MB, free: 4.938 MB / 362.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_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[1].target) * 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.0001322/0.01938, allocations: 204.5 kB / 391.2 MB, free: 4.727 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.255e-05/0.01944, allocations: 39.8 kB / 391.3 MB, free: 4.688 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003965/0.01984, allocations: 287.5 kB / 391.6 MB, free: 4.398 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.01985, allocations: 4 kB / 391.6 MB, free: 4.395 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.01986, allocations: 4 kB / 391.6 MB, free: 4.391 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.01986, allocations: 7.922 kB / 391.6 MB, free: 4.383 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003549/0.02022, allocations: 364.4 kB / 391.9 MB, free: 3.992 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.963e-05/0.02026, allocations: 39.98 kB / 392 MB, free: 3.953 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.365e-05/0.02031, allocations: 19.92 kB / 392 MB, free: 3.934 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.02031, allocations: 4 kB / 392 MB, free: 3.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.02033, allocations: 19.98 kB / 392 MB, free: 3.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.02034, allocations: 0 / 392 MB, free: 3.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.02034, allocations: 0 / 392 MB, free: 3.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00037/0.02071, allocations: 0.5571 MB / 392.6 MB, free: 3.332 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.798e-05/0.02073, allocations: 27.75 kB / 392.6 MB, free: 3.305 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.02076, allocations: 8 kB / 392.6 MB, free: 3.297 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.02087, allocations: 15.98 kB / 392.6 MB, free: 3.281 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.02093, allocations: 27.91 kB / 392.6 MB, free: 3.254 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.02095, allocations: 12 kB / 392.7 MB, free: 3.242 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001271/0.02107, allocations: 235 kB / 392.9 MB, free: 3.016 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02107, allocations: 0 / 392.9 MB, free: 3.016 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004789/0.02155, allocations: 219.3 kB / 393.1 MB, free: 2.801 MB / 362.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.0003246/0.02188, allocations: 250.8 kB / 393.3 MB, free: 2.547 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000447/0.02232, allocations: 0.5516 MB / 393.9 MB, free: 1.926 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.02233, allocations: 0 / 393.9 MB, free: 1.926 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.02253, allocations: 392 kB / 394.3 MB, free: 1.465 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.02286, allocations: 61.12 kB / 394.3 MB, free: 1.402 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.02406, allocations: 0.8417 MB / 395.2 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.02417, allocations: 152.5 kB / 395.3 MB, free: 360 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00013/0.0243, allocations: 82.8 kB / 395.4 MB, free: 276 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.074e-05/0.02434, allocations: 28.5 kB / 395.4 MB, free: 244 kB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02434, allocations: 0 / 395.4 MB, free: 244 kB / 362.7 MB Notification: Performance of Templates: time 0.008465/0.0328, allocations: 7.608 MB / 403 MB, free: 8.742 MB / 378.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.5332878148183227]