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_KC.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_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 177 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.332/1.332, allocations: 223.2 MB / 241 MB, free: 11.88 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.0008608/0.0008607, allocations: 86.56 kB / 292.2 MB, free: 10.92 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.3248/0.3248, allocations: 44.22 MB / 387.5 MB, free: 38.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003088/0.0003089, allocations: 8 kB / 459.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3212, allocations: 61.91 MB / 0.5096 GB, free: 37.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1176/0.4389, allocations: 91.81 MB / 0.5992 GB, free: 3.301 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/0.4393, allocations: 111.7 kB / 0.5993 GB, free: 3.199 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03399/0.4733, allocations: 12.13 MB / 0.6112 GB, free: 6.965 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4733, allocations: 0 / 0.6112 GB, free: 6.965 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.4733, allocations: 4 kB / 0.6112 GB, free: 6.961 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0006858/0.474, allocations: 0.5108 MB / 0.6117 GB, free: 6.398 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.804e-05/0.4741, allocations: 8.031 kB / 0.6117 GB, free: 6.391 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.482e-05/0.4742, allocations: 31.72 kB / 0.6117 GB, free: 6.359 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.4745, allocations: 236 kB / 0.612 GB, free: 6.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.4745, allocations: 28.5 kB / 0.612 GB, free: 6.062 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/0.4746, allocations: 24 kB / 0.612 GB, free: 6.039 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006157/0.4752, allocations: 365.2 kB / 0.6124 GB, free: 5.684 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.4752, allocations: 0 / 0.6124 GB, free: 5.684 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.4753, allocations: 12 kB / 0.6124 GB, free: 5.672 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.228e-05/0.4753, allocations: 20.66 kB / 0.6124 GB, free: 5.652 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005868/0.4759, allocations: 378.3 kB / 0.6127 GB, free: 5.281 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.4772, allocations: 0.858 MB / 0.6136 GB, free: 4.367 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004395/0.4776, allocations: 260.5 kB / 0.6138 GB, free: 4.105 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.4777, allocations: 4 kB / 0.6138 GB, free: 4.102 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.4777, allocations: 38.5 kB / 0.6139 GB, free: 4.055 MB / 426.7 MB Notification: Performance of pre-optimization done (n=16): time 1.212e-06/0.4777, allocations: 0 / 0.6139 GB, free: 4.055 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007173/0.4784, allocations: 351.4 kB / 0.6142 GB, free: 3.707 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.4785, allocations: 55.36 kB / 0.6143 GB, free: 3.641 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.4788, allocations: 306.1 kB / 0.6146 GB, free: 3.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.4788, allocations: 29.7 kB / 0.6146 GB, free: 3.305 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.4789, allocations: 171.9 kB / 0.6147 GB, free: 3.133 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.479, allocations: 51.2 kB / 0.6148 GB, free: 3.082 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.331e-05/0.479, allocations: 8 kB / 0.6148 GB, free: 3.074 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.4791, allocations: 334.8 kB / 0.6151 GB, free: 2.738 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.4793, allocations: 104.4 kB / 0.6152 GB, free: 2.633 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002516/0.4796, allocations: 204.6 kB / 0.6154 GB, free: 2.395 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/0.4798, allocations: 135.8 kB / 0.6155 GB, free: 2.262 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4798, allocations: 0 / 0.6155 GB, free: 2.262 MB / 426.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005742/0.4804, allocations: 344.9 kB / 0.6159 GB, free: 1.918 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.4805, allocations: 4 kB / 0.6159 GB, free: 1.914 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4805, allocations: 7.938 kB / 0.6159 GB, free: 1.906 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.4805, allocations: 4 kB / 0.6159 GB, free: 1.902 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005655/0.4811, allocations: 124.2 kB / 0.616 GB, free: 1.781 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002032/0.4831, allocations: 3.661 MB / 0.6196 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.4833, allocations: 43.64 kB / 0.6196 GB, free: 13.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.4833, allocations: 12 kB / 0.6196 GB, free: 13.93 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001719/0.4835, allocations: 176.7 kB / 0.6198 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.857e-05/0.4836, allocations: 27.62 kB / 0.6198 GB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006554/0.4842, allocations: 330.2 kB / 0.6201 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.4843, allocations: 4 kB / 0.6202 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.4843, allocations: 0 / 0.6202 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.4843, allocations: 11.92 kB / 0.6202 GB, free: 13.37 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003173/0.4846, allocations: 297.4 kB / 0.6204 GB, free: 13.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4846, allocations: 0 / 0.6204 GB, free: 13.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004735/0.4851, allocations: 107.8 kB / 0.6206 GB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.4851, allocations: 0 / 0.6206 GB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.4851, allocations: 15.98 kB / 0.6206 GB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/0.487, allocations: 3.641 MB / 0.6241 GB, free: 9.129 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.487, allocations: 0 / 0.6241 GB, free: 9.129 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004919/0.4875, allocations: 367.4 kB / 0.6245 GB, free: 8.754 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.892e-05/0.4876, allocations: 104.8 kB / 0.6246 GB, free: 8.633 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.899e-05/0.4876, allocations: 7.984 kB / 0.6246 GB, free: 8.625 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.4878, allocations: 8 kB / 0.6246 GB, free: 8.617 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.4879, allocations: 11.97 kB / 0.6246 GB, free: 8.605 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.4879, allocations: 16 kB / 0.6246 GB, free: 8.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000223/0.4881, allocations: 245.8 kB / 0.6248 GB, free: 8.348 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4881, allocations: 0 / 0.6248 GB, free: 8.348 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003702/0.4885, allocations: 72 kB / 0.6249 GB, free: 8.277 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002458/0.4887, allocations: 160.3 kB / 0.6251 GB, free: 8.113 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007847/0.4895, allocations: 310.2 kB / 0.6254 GB, free: 7.812 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4895, allocations: 0 / 0.6254 GB, free: 7.812 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005018/0.4901, allocations: 171.8 kB / 0.6255 GB, free: 7.645 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.4904, allocations: 64.83 kB / 0.6256 GB, free: 7.578 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009306/0.4913, allocations: 0.639 MB / 0.6262 GB, free: 6.914 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.4917, allocations: 0.7912 MB / 0.627 GB, free: 6.094 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001834/0.4919, allocations: 86.81 kB / 0.6271 GB, free: 6.012 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.4919, allocations: 27.42 kB / 0.6271 GB, free: 5.984 MB / 442.7 MB Notification: Performance of SimCode: time 6.21e-07/0.4919, allocations: 0 / 0.6271 GB, free: 5.984 MB / 442.7 MB Notification: Performance of Templates: time 0.008448/0.5004, allocations: 4.959 MB / 0.6319 GB, free: 1.102 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_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/kc_turbulent_KC.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches