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_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 175.7 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 223.2 MB / 241 MB, free: 11.86 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008681/0.000868, allocations: 95.61 kB / 292.2 MB, free: 10.89 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3475/0.3475, allocations: 44.2 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003331, allocations: 12 kB / 459.9 MB, free: 1.473 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3329, allocations: 61.9 MB / 0.5096 GB, free: 38.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1126/0.4456, allocations: 93.87 MB / 0.6013 GB, free: 1.223 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003524/0.446, allocations: 103.7 kB / 0.6014 GB, free: 1.129 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03747/0.4835, allocations: 13.74 MB / 0.6148 GB, free: 3.281 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.4835, allocations: 0 / 0.6148 GB, free: 3.281 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.4835, allocations: 8 kB / 0.6148 GB, free: 3.273 MB / 426.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.000856/0.4844, allocations: 0.573 MB / 0.6153 GB, free: 2.648 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.4844, allocations: 12.03 kB / 0.6153 GB, free: 2.637 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.49e-05/0.4845, allocations: 43.61 kB / 0.6154 GB, free: 2.594 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.4848, allocations: 258.9 kB / 0.6156 GB, free: 2.301 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.4848, allocations: 20.56 kB / 0.6157 GB, free: 2.281 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.095e-05/0.4849, allocations: 24 kB / 0.6157 GB, free: 2.258 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006956/0.4856, allocations: 449.7 kB / 0.6161 GB, free: 1.805 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.4856, allocations: 0 / 0.6161 GB, free: 1.805 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/0.4856, allocations: 8 kB / 0.6161 GB, free: 1.797 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.853e-05/0.4857, allocations: 16.56 kB / 0.6161 GB, free: 1.781 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006477/0.4863, allocations: 349.9 kB / 0.6165 GB, free: 1.441 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/0.4878, allocations: 1.108 MB / 0.6175 GB, free: 276 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004949/0.4883, allocations: 255.8 kB / 0.6178 GB, free: 15.99 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.133e-05/0.4884, allocations: 15.98 kB / 0.6178 GB, free: 15.97 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.4884, allocations: 30.56 kB / 0.6178 GB, free: 15.93 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.4884, allocations: 0 / 0.6178 GB, free: 15.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.001071/0.4895, allocations: 0.6177 MB / 0.6184 GB, free: 15.26 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.4895, allocations: 110.8 kB / 0.6185 GB, free: 15.12 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003746/0.4899, allocations: 364.6 kB / 0.6189 GB, free: 14.76 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.49, allocations: 25.7 kB / 0.6189 GB, free: 14.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.4901, allocations: 191.8 kB / 0.6191 GB, free: 14.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.4901, allocations: 51.31 kB / 0.6191 GB, free: 14.49 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.594e-05/0.4901, allocations: 8 kB / 0.6192 GB, free: 14.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.4903, allocations: 338.8 kB / 0.6195 GB, free: 14.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/0.4905, allocations: 136.1 kB / 0.6196 GB, free: 14 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000324/0.4909, allocations: 246 kB / 0.6198 GB, free: 13.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003176/0.4912, allocations: 164.1 kB / 0.62 GB, free: 13.55 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4912, allocations: 0 / 0.62 GB, free: 13.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008003/0.492, allocations: 432.8 kB / 0.6204 GB, free: 13.12 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.4921, allocations: 8 kB / 0.6204 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.196e-05/0.4921, allocations: 23.98 kB / 0.6204 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.4921, allocations: 8 kB / 0.6204 GB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/0.4924, allocations: 56.08 kB / 0.6205 GB, free: 13.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.4924, allocations: 8 kB / 0.6205 GB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/0.4927, allocations: 55.56 kB / 0.6206 GB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.4928, allocations: 16 kB / 0.6206 GB, free: 12.95 MB / 442.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001709/0.4929, allocations: 183 kB / 0.6208 GB, free: 12.76 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.438e-05/0.493, allocations: 31.58 kB / 0.6208 GB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000606/0.4936, allocations: 296.3 kB / 0.6211 GB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.4937, allocations: 3.984 kB / 0.6211 GB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.4937, allocations: 7.984 kB / 0.6211 GB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.4937, allocations: 4 kB / 0.6211 GB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004295/0.4941, allocations: 309.3 kB / 0.6214 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.131e-05/0.4942, allocations: 19.98 kB / 0.6214 GB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.4943, allocations: 35.84 kB / 0.6214 GB, free: 12.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.361e-06/0.4943, allocations: 7.953 kB / 0.6214 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.4944, allocations: 8 kB / 0.6214 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.4944, allocations: 0 / 0.6214 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4944, allocations: 0 / 0.6214 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007108/0.4951, allocations: 0.5556 MB / 0.622 GB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.4952, allocations: 112.7 kB / 0.6221 GB, free: 11.28 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.223e-05/0.4953, allocations: 0 / 0.6221 GB, free: 11.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002684/0.4955, allocations: 23.98 kB / 0.6221 GB, free: 11.26 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.933e-05/0.4956, allocations: 19.91 kB / 0.6221 GB, free: 11.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.4956, allocations: 8 kB / 0.6221 GB, free: 11.23 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002743/0.4959, allocations: 291.1 kB / 0.6224 GB, free: 10.95 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4959, allocations: 0 / 0.6224 GB, free: 10.95 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006377/0.4966, allocations: 96.03 kB / 0.6225 GB, free: 10.86 MB / 442.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003286/0.4969, allocations: 175.1 kB / 0.6227 GB, free: 10.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007799/0.4977, allocations: 450 kB / 0.6231 GB, free: 10.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4977, allocations: 0.875 kB / 0.6231 GB, free: 10.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003753/0.4981, allocations: 286 kB / 0.6234 GB, free: 9.883 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.4985, allocations: 81.7 kB / 0.6235 GB, free: 9.805 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.4996, allocations: 0.6745 MB / 0.6241 GB, free: 9.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.5, allocations: 0.8028 MB / 0.6249 GB, free: 8.262 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001774/0.5002, allocations: 66.92 kB / 0.625 GB, free: 8.199 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.458e-05/0.5003, allocations: 19.44 kB / 0.625 GB, free: 8.18 MB / 442.7 MB Notification: Performance of SimCode: time 5.41e-07/0.5003, allocations: 0 / 0.625 GB, free: 8.18 MB / 442.7 MB Notification: Performance of Templates: time 0.01033/0.5106, allocations: 5.339 MB / 0.6302 GB, free: 2.926 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches