Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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.002523/0.002523, allocations: 92.97 kB / 20.21 MB, free: 4.203 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.002539/0.002539, allocations: 169.2 kB / 23.53 MB, free: 0.8906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 158.6 MB / 185.3 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.224/0.224, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 3.938 kB / 347 MB, free: 9.758 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.94e-05/4.13e-05, allocations: 2.312 kB / 347 MB, free: 9.754 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003203/0.003244, allocations: 2.022 MB / 349 MB, free: 7.723 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.004779, allocations: 1.08 MB / 350.1 MB, free: 6.637 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.844e-05/0.004858, allocations: 4 kB / 350.1 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003159/0.005174, allocations: 63.55 kB / 350.2 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002063/0.00538, allocations: 75.52 kB / 350.2 MB, free: 6.496 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000587/0.005967, allocations: 171.2 kB / 350.4 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002987/0.006266, allocations: 334.4 kB / 350.7 MB, free: 6 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.792e-05/0.006314, allocations: 12.94 kB / 350.7 MB, free: 5.992 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002258/0.006539, allocations: 155.4 kB / 350.9 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.006719, allocations: 115.6 kB / 351 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.904e-05/0.006758, allocations: 16 kB / 351 MB, free: 5.711 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002805/0.007038, allocations: 131.8 kB / 351.1 MB, free: 5.582 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.825e-05/0.007126, allocations: 75.62 kB / 351.2 MB, free: 5.508 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.904e-05/0.007225, allocations: 79.7 kB / 351.3 MB, free: 5.43 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004665/0.007692, allocations: 382.6 kB / 351.7 MB, free: 5.055 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.007696, allocations: 0 / 351.7 MB, free: 5.055 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.007698, allocations: 4 kB / 351.7 MB, free: 5.051 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.007705, allocations: 0 / 351.7 MB, free: 5.051 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0009258/0.008631, allocations: 0.6553 MB / 352.3 MB, free: 4.359 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.008669, allocations: 8.031 kB / 352.3 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.585e-05/0.008764, allocations: 56.73 kB / 352.4 MB, free: 4.297 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.009052, allocations: 188.1 kB / 352.6 MB, free: 4.086 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.009072, allocations: 24.97 kB / 352.6 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/0.009109, allocations: 40.11 kB / 352.6 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004986/0.009607, allocations: 330.1 kB / 353 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.009622, allocations: 0 / 353 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/0.009653, allocations: 12 kB / 353 MB, free: 3.664 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.241e-05/0.009685, allocations: 16.64 kB / 353 MB, free: 3.648 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004255/0.01011, allocations: 194.4 kB / 353.2 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.01132, allocations: 1.125 MB / 354.3 MB, free: 2.281 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003059/0.01162, allocations: 157.3 kB / 354.5 MB, free: 2.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.01179, allocations: 78.84 kB / 354.5 MB, free: 2 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.75e-05/0.01185, allocations: 12 kB / 354.5 MB, free: 1.988 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.01187, allocations: 41.38 kB / 354.6 MB, free: 1.938 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.01187, allocations: 0 / 354.6 MB, free: 1.938 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006698/0.01254, allocations: 213.3 kB / 354.8 MB, free: 1.723 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.01258, allocations: 106.8 kB / 354.9 MB, free: 1.594 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.01281, allocations: 324.2 kB / 355.2 MB, free: 1.258 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.01283, allocations: 25.7 kB / 355.2 MB, free: 1.227 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.01293, allocations: 266.9 kB / 355.5 MB, free: 0.957 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.01296, allocations: 43.89 kB / 355.5 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.431e-05/0.01306, allocations: 79.55 kB / 355.6 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.639e-05/0.01315, allocations: 0.5157 MB / 356.1 MB, free: 308 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.01333, allocations: 56.19 kB / 356.2 MB, free: 252 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.0136, allocations: 230.7 kB / 356.4 MB, free: 15.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006371/0.01424, allocations: 314 kB / 356.7 MB, free: 15.56 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.01424, allocations: 0 / 356.7 MB, free: 15.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007287/0.01497, allocations: 293.4 kB / 357 MB, free: 15.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.015, allocations: 4 kB / 357 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.927e-05/0.01506, allocations: 24 kB / 357 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.01508, allocations: 4 kB / 357 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.01529, allocations: 39.91 kB / 357.1 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.84e-05/0.01531, allocations: 15.92 kB / 357.1 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.01552, allocations: 35.78 kB / 357.1 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-05/0.01555, allocations: 19.98 kB / 357.1 MB, free: 15.13 MB / 298.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: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0002377/0.01579, allocations: 218.1 kB / 357.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.126e-05/0.01588, allocations: 19.91 kB / 357.4 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005296/0.01641, allocations: 179.4 kB / 357.6 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.01642, allocations: 7.984 kB / 357.6 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.01643, allocations: 0 / 357.6 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.01643, allocations: 3.938 kB / 357.6 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004904/0.01692, allocations: 256.4 kB / 357.8 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.969e-05/0.01696, allocations: 16 kB / 357.8 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.01709, allocations: 23.97 kB / 357.9 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.01709, allocations: 4 kB / 357.9 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.01712, allocations: 8 kB / 357.9 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.01712, allocations: 0 / 357.9 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.01713, allocations: 4 kB / 357.9 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007281/0.01785, allocations: 0.5527 MB / 358.4 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.0179, allocations: 19.86 kB / 358.4 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.01794, allocations: 4 kB / 358.4 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.01815, allocations: 15.98 kB / 358.5 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.951e-05/0.01823, allocations: 15.98 kB / 358.5 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.01825, allocations: 11.98 kB / 358.5 MB, free: 13.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002331/0.01849, allocations: 209.1 kB / 358.7 MB, free: 13.51 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01849, allocations: 0 / 358.7 MB, free: 13.51 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005376/0.01902, allocations: 107.7 kB / 358.8 MB, free: 13.4 MB / 298.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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0003566/0.01938, allocations: 151.1 kB / 358.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007304/0.02011, allocations: 350.5 kB / 359.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.02011, allocations: 0 / 359.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003737/0.02049, allocations: 229.9 kB / 359.5 MB, free: 12.6 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005304/0.02102, allocations: 35.81 kB / 359.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.02232, allocations: 0.537 MB / 360.1 MB, free: 12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.02258, allocations: 177.5 kB / 360.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001431/0.02272, allocations: 45.58 kB / 360.3 MB, free: 11.76 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.137e-05/0.02279, allocations: 16.5 kB / 360.3 MB, free: 11.74 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02279, allocations: 3.938 kB / 360.3 MB, free: 11.74 MB / 298.7 MB Notification: Performance of Templates: time 0.01075/0.03354, allocations: 4.28 MB / 364.6 MB, free: 7.523 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.238633794942871]