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.001203/0.001203, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001333/0.001333, allocations: 172.4 kB / 25.61 MB, free: 8.902 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.9622/0.9622, allocations: 177.1 MB / 206 MB, free: 4.496 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.1304/0.1304, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.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.764e-06/1.764e-06, allocations: 0 / 377.3 MB, free: 25.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.557e-05, allocations: 2.312 kB / 377.3 MB, free: 25.53 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003727/0.003752, allocations: 2.285 MB / 379.6 MB, free: 23.23 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002649/0.006401, allocations: 2.063 MB / 381.7 MB, free: 21.16 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002261/0.006627, allocations: 4 kB / 381.7 MB, free: 21.15 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000343/0.00697, allocations: 75.53 kB / 381.7 MB, free: 21.08 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000255/0.007225, allocations: 123.2 kB / 381.9 MB, free: 20.96 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008431/0.008068, allocations: 446 kB / 382.3 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003455/0.008414, allocations: 0.544 MB / 382.8 MB, free: 19.97 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.006e-05/0.008474, allocations: 21.28 kB / 382.9 MB, free: 19.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002323/0.008706, allocations: 243 kB / 383.1 MB, free: 19.71 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.008875, allocations: 187.3 kB / 383.3 MB, free: 19.53 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.008902, allocations: 12 kB / 383.3 MB, free: 19.52 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000463/0.009365, allocations: 399.3 kB / 383.7 MB, free: 19.12 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.637e-05/0.009451, allocations: 107.4 kB / 383.8 MB, free: 19.02 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.005e-05/0.009541, allocations: 131.5 kB / 383.9 MB, free: 18.89 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005849/0.01013, allocations: 0.7433 MB / 384.7 MB, free: 18.14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.01013, allocations: 0 / 384.7 MB, free: 18.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01013, allocations: 0 / 384.7 MB, free: 18.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.01014, allocations: 4 kB / 384.7 MB, free: 18.14 MB / 314.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.000666/0.0108, allocations: 0.8892 MB / 385.5 MB, free: 17.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.892e-05/0.01083, allocations: 11.98 kB / 385.6 MB, free: 17.2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00025/0.01108, allocations: 124.6 kB / 385.7 MB, free: 17.08 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.01129, allocations: 247.7 kB / 385.9 MB, free: 16.81 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.01132, allocations: 41.69 kB / 386 MB, free: 16.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.557e-05/0.01135, allocations: 52.38 kB / 386 MB, free: 16.72 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003715/0.01173, allocations: 484.9 kB / 386.5 MB, free: 16.22 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.01174, allocations: 7.938 kB / 386.5 MB, free: 16.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.01177, allocations: 23.98 kB / 386.5 MB, free: 16.19 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.993e-05/0.0118, allocations: 25.31 kB / 386.5 MB, free: 16.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.01196, allocations: 173 kB / 386.7 MB, free: 16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009945/0.01296, allocations: 1.428 MB / 388.1 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.01311, allocations: 153.2 kB / 388.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.788e-05/0.01317, allocations: 54.98 kB / 388.3 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.0132, allocations: 15.92 kB / 388.4 MB, free: 14.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/0.01321, allocations: 49.38 kB / 388.4 MB, free: 14.2 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.01321, allocations: 0 / 388.4 MB, free: 14.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.000329/0.01354, allocations: 191.5 kB / 388.6 MB, free: 14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.01357, allocations: 114.7 kB / 388.7 MB, free: 13.87 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.0138, allocations: 413.9 kB / 389.1 MB, free: 13.44 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.01383, allocations: 25.7 kB / 389.1 MB, free: 13.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.01398, allocations: 378.2 kB / 389.5 MB, free: 13.04 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.459e-05/0.01404, allocations: 79.36 kB / 389.6 MB, free: 12.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.01417, allocations: 147.7 kB / 389.7 MB, free: 12.8 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.07e-05/0.01422, allocations: 0.5237 MB / 390.3 MB, free: 12.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.09e-05/0.01429, allocations: 44.97 kB / 390.3 MB, free: 12.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.01444, allocations: 447.7 kB / 390.7 MB, free: 11.61 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/0.01472, allocations: 0.5278 MB / 391.3 MB, free: 10.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.01472, allocations: 4 kB / 391.3 MB, free: 10.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0003967/0.01512, allocations: 417.2 kB / 391.7 MB, free: 10.49 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.01513, allocations: 12 kB / 391.7 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.361e-05/0.01518, allocations: 47.98 kB / 391.7 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.01519, allocations: 12 kB / 391.7 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.01531, allocations: 59.84 kB / 391.8 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.01532, allocations: 23.86 kB / 391.8 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.01547, allocations: 71.88 kB / 391.9 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.0155, allocations: 39.98 kB / 391.9 MB, free: 10.23 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.0001085/0.01561, allocations: 212.3 kB / 392.1 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.211e-05/0.01567, allocations: 31.81 kB / 392.2 MB, free: 9.977 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003117/0.01598, allocations: 271.7 kB / 392.4 MB, free: 9.707 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.01598, allocations: 4 kB / 392.4 MB, free: 9.703 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.01599, allocations: 8 kB / 392.4 MB, free: 9.695 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.01599, allocations: 3.984 kB / 392.5 MB, free: 9.691 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.01625, allocations: 260.9 kB / 392.7 MB, free: 9.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-05/0.01628, allocations: 39.98 kB / 392.7 MB, free: 9.371 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.874e-05/0.01633, allocations: 19.92 kB / 392.8 MB, free: 9.352 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.01633, allocations: 0 / 392.8 MB, free: 9.352 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.01635, allocations: 19.98 kB / 392.8 MB, free: 9.332 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.01635, allocations: 0 / 392.8 MB, free: 9.332 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01635, allocations: 0 / 392.8 MB, free: 9.332 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.01658, allocations: 0.5444 MB / 393.3 MB, free: 8.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.452e-05/0.01661, allocations: 31.81 kB / 393.4 MB, free: 8.738 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.01663, allocations: 7.984 kB / 393.4 MB, free: 8.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.01674, allocations: 12 kB / 393.4 MB, free: 8.719 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/0.01679, allocations: 27.91 kB / 393.4 MB, free: 8.691 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.01682, allocations: 16 kB / 393.4 MB, free: 8.676 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.472e-05/0.01688, allocations: 226.9 kB / 393.6 MB, free: 8.457 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01688, allocations: 0 / 393.6 MB, free: 8.457 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004361/0.01732, allocations: 223.2 kB / 393.9 MB, free: 8.238 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.00027/0.01759, allocations: 258.7 kB / 394.1 MB, free: 7.973 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003017/0.01789, allocations: 0.5286 MB / 394.6 MB, free: 7.371 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01789, allocations: 0 / 394.6 MB, free: 7.371 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.01801, allocations: 392 kB / 395 MB, free: 6.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.01835, allocations: 51.47 kB / 395.1 MB, free: 6.859 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009913/0.01934, allocations: 0.8366 MB / 395.9 MB, free: 5.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.608e-05/0.01941, allocations: 156.5 kB / 396.1 MB, free: 5.805 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.883e-05/0.01949, allocations: 34.89 kB / 396.1 MB, free: 5.773 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.01971, allocations: 182.2 kB / 396.3 MB, free: 5.594 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01971, allocations: 0 / 396.3 MB, free: 5.594 MB / 314.7 MB Notification: Performance of Templates: time 0.009462/0.02917, allocations: 8.579 MB / 404.9 MB, free: 13.14 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.4737808727659285]