Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00105/0.00105, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001659/0.001659, allocations: 174.4 kB / 24.82 MB, free: 9.262 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.124/1.124, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3436/0.3436, allocations: 34.26 MB / 296.1 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 378.5 MB, free: 2.305 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.12e-05/3.342e-05, allocations: 2.312 kB / 378.6 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003227/0.003261, allocations: 2.27 MB / 380.8 MB, free: 12 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002997/0.006258, allocations: 2.075 MB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.006417, allocations: 0 / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003224/0.006739, allocations: 75.47 kB / 383 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002539/0.006993, allocations: 119.2 kB / 383.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.008105, allocations: 466 kB / 383.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005117/0.008617, allocations: 0.5439 MB / 384.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.873e-05/0.008695, allocations: 21.28 kB / 384.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003706/0.009066, allocations: 235.2 kB / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002152/0.009281, allocations: 179.4 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.607e-05/0.009317, allocations: 16 kB / 384.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006416/0.009959, allocations: 407.2 kB / 384.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.0101, allocations: 111.5 kB / 385 MB, free: 11.78 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.01022, allocations: 127.5 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008865/0.01111, allocations: 0.7434 MB / 385.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.01112, allocations: 0 / 385.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.01112, allocations: 0 / 385.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.01113, allocations: 0 / 385.9 MB, free: 10.91 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.001012/0.01214, allocations: 0.8814 MB / 386.8 MB, free: 9.992 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.01219, allocations: 16.03 kB / 386.8 MB, free: 9.977 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003243/0.01251, allocations: 128.5 kB / 386.9 MB, free: 9.852 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.01281, allocations: 243.7 kB / 387.2 MB, free: 9.586 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.084e-05/0.01284, allocations: 37.69 kB / 387.2 MB, free: 9.547 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.006e-05/0.01289, allocations: 52.38 kB / 387.3 MB, free: 9.496 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005834/0.01347, allocations: 489 kB / 387.7 MB, free: 8.992 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.01349, allocations: 3.938 kB / 387.7 MB, free: 8.988 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.267e-05/0.01353, allocations: 20 kB / 387.8 MB, free: 8.969 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.084e-05/0.01359, allocations: 33.3 kB / 387.8 MB, free: 8.938 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002341/0.01383, allocations: 169 kB / 387.9 MB, free: 8.773 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.01577, allocations: 1.428 MB / 389.4 MB, free: 7.305 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.01602, allocations: 157.2 kB / 389.5 MB, free: 7.113 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.462e-05/0.01609, allocations: 51.05 kB / 389.6 MB, free: 7.051 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.159e-05/0.01616, allocations: 31.73 kB / 389.6 MB, free: 7.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.01619, allocations: 37.38 kB / 389.6 MB, free: 6.973 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 5.41e-06/0.01619, allocations: 7.984 kB / 389.7 MB, free: 6.965 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004298/0.01662, allocations: 203.4 kB / 389.9 MB, free: 6.762 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.01668, allocations: 102.8 kB / 390 MB, free: 6.637 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.01696, allocations: 421.9 kB / 390.4 MB, free: 6.203 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.01699, allocations: 29.7 kB / 390.4 MB, free: 6.168 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.01719, allocations: 382.2 kB / 390.8 MB, free: 5.789 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.358e-05/0.01724, allocations: 75.41 kB / 390.8 MB, free: 5.715 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.01738, allocations: 139.7 kB / 391 MB, free: 5.566 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.01757, allocations: 0.5312 MB / 391.5 MB, free: 5.023 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.611e-05/0.01765, allocations: 40.97 kB / 391.5 MB, free: 4.984 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003371/0.01799, allocations: 443.9 kB / 392 MB, free: 4.379 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004556/0.01845, allocations: 0.5317 MB / 392.5 MB, free: 3.672 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.01845, allocations: 0 / 392.5 MB, free: 3.672 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005026/0.01895, allocations: 417.6 kB / 392.9 MB, free: 3.258 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.01898, allocations: 8 kB / 392.9 MB, free: 3.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.836e-05/0.01904, allocations: 51.98 kB / 393 MB, free: 3.199 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.01906, allocations: 12 kB / 393 MB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.01923, allocations: 67.78 kB / 393.1 MB, free: 3.121 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.01924, allocations: 19.92 kB / 393.1 MB, free: 3.102 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.01943, allocations: 67.5 kB / 393.1 MB, free: 3.035 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/0.01947, allocations: 35.98 kB / 393.2 MB, free: 3 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_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.0001986/0.01967, allocations: 204.5 kB / 393.4 MB, free: 2.789 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.227e-05/0.01974, allocations: 35.81 kB / 393.4 MB, free: 2.754 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004264/0.02017, allocations: 281.8 kB / 393.7 MB, free: 2.473 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.02018, allocations: 4 kB / 393.7 MB, free: 2.469 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.02018, allocations: 0 / 393.7 MB, free: 2.469 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.02018, allocations: 0 / 393.7 MB, free: 2.469 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003939/0.02058, allocations: 268.9 kB / 394 MB, free: 2.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.991e-05/0.02062, allocations: 39.98 kB / 394 MB, free: 2.141 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.824e-05/0.0207, allocations: 19.98 kB / 394 MB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.0207, allocations: 0 / 394 MB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.02072, allocations: 15.98 kB / 394 MB, free: 2.105 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.02072, allocations: 4 kB / 394 MB, free: 2.102 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.02072, allocations: 4 kB / 394 MB, free: 2.098 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003947/0.02112, allocations: 0.5479 MB / 394.6 MB, free: 1.531 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.015e-05/0.02116, allocations: 27.75 kB / 394.6 MB, free: 1.504 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.02118, allocations: 7.984 kB / 394.6 MB, free: 1.496 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.0213, allocations: 19.92 kB / 394.6 MB, free: 1.477 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.644e-05/0.02137, allocations: 27.97 kB / 394.7 MB, free: 1.449 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.02139, allocations: 12 kB / 394.7 MB, free: 1.438 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001206/0.02151, allocations: 222.9 kB / 394.9 MB, free: 1.223 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02151, allocations: 0 / 394.9 MB, free: 1.223 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007072/0.02222, allocations: 215.3 kB / 395.1 MB, free: 1.012 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.000817/0.02303, allocations: 262.7 kB / 395.4 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004777/0.02351, allocations: 0.5295 MB / 395.9 MB, free: 148 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.02351, allocations: 4.125 kB / 395.9 MB, free: 144 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.02373, allocations: 388 kB / 396.3 MB, free: 15.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004481/0.02417, allocations: 44.62 kB / 396.3 MB, free: 15.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.02567, allocations: 0.8341 MB / 397.2 MB, free: 14.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.02578, allocations: 156.5 kB / 397.3 MB, free: 14.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000101/0.02588, allocations: 38.83 kB / 397.3 MB, free: 14.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/0.0261, allocations: 186.2 kB / 397.5 MB, free: 14.36 MB / 378.7 MB Notification: Performance of SimCode: time 2.475e-06/0.0261, allocations: 0 / 397.5 MB, free: 14.36 MB / 378.7 MB Notification: Performance of Templates: time 0.01165/0.03775, allocations: 8.461 MB / 406 MB, free: 5.961 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.775907676666975]