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_overall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,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.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.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_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,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.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.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_overall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001604/0.001603, allocations: 182.9 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008983/0.0008985, allocations: 94.83 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2182/0.2182, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000334/0.000334, allocations: 8 kB / 431.4 MB, free: 19.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1466, allocations: 58.85 MB / 490.3 MB, free: 8.648 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4412/0.5878, allocations: 99.32 MB / 0.5758 GB, free: 476 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.5882, allocations: 94.88 kB / 0.5759 GB, free: 420 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06534/0.6535, allocations: 24.16 MB / 0.5994 GB, free: 11.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.6536, allocations: 0 / 0.5994 GB, free: 11.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.018e-05/0.6536, allocations: 8 kB / 0.5995 GB, free: 11.56 MB / 410.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.001315/0.6549, allocations: 0.7612 MB / 0.6002 GB, free: 10.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.655, allocations: 8.031 kB / 0.6002 GB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.6551, allocations: 59.3 kB / 0.6003 GB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004957/0.6556, allocations: 308 kB / 0.6006 GB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.233e-05/0.6556, allocations: 40.55 kB / 0.6006 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.962e-05/0.6557, allocations: 55.81 kB / 0.6007 GB, free: 10.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.657, allocations: 0.7744 MB / 0.6014 GB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.657, allocations: 4 kB / 0.6014 GB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.514e-05/0.6571, allocations: 26.3 kB / 0.6014 GB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.313e-05/0.6571, allocations: 25.31 kB / 0.6015 GB, free: 9.688 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.6582, allocations: 0.5777 MB / 0.602 GB, free: 9.238 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002754/0.661, allocations: 1.699 MB / 0.6037 GB, free: 7.711 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006092/0.6616, allocations: 315.2 kB / 0.604 GB, free: 7.402 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.553e-05/0.6617, allocations: 8.125 kB / 0.604 GB, free: 7.395 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.6617, allocations: 46.38 kB / 0.604 GB, free: 7.344 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.755e-06/0.6617, allocations: 0 / 0.604 GB, free: 7.344 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001442/0.6632, allocations: 0.7667 MB / 0.6048 GB, free: 6.559 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.371e-05/0.6633, allocations: 106.8 kB / 0.6049 GB, free: 6.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007475/0.664, allocations: 0.5663 MB / 0.6054 GB, free: 5.961 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.635e-05/0.6641, allocations: 32.7 kB / 0.6055 GB, free: 5.926 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.6643, allocations: 292.4 kB / 0.6058 GB, free: 5.715 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.002e-05/0.6644, allocations: 73.86 kB / 0.6058 GB, free: 5.652 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.6644, allocations: 11.44 kB / 0.6058 GB, free: 5.648 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.6646, allocations: 365 kB / 0.6062 GB, free: 5.301 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004109/0.665, allocations: 198.1 kB / 0.6064 GB, free: 5.129 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005762/0.6656, allocations: 477.3 kB / 0.6068 GB, free: 4.578 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004872/0.6661, allocations: 277.4 kB / 0.6071 GB, free: 4.348 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.6661, allocations: 4 kB / 0.6071 GB, free: 4.344 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00125/0.6674, allocations: 0.7071 MB / 0.6078 GB, free: 3.715 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.6674, allocations: 8 kB / 0.6078 GB, free: 3.707 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.732e-05/0.6675, allocations: 48.06 kB / 0.6078 GB, free: 3.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.272e-05/0.6676, allocations: 19.94 kB / 0.6079 GB, free: 3.641 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003669/0.6679, allocations: 79.25 kB / 0.6079 GB, free: 3.566 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.328e-05/0.668, allocations: 19.89 kB / 0.6079 GB, free: 3.547 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004864/0.6685, allocations: 98.81 kB / 0.608 GB, free: 3.457 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.715e-05/0.6685, allocations: 35.42 kB / 0.6081 GB, free: 3.426 MB / 410.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_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,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 (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0003116/0.6688, allocations: 257.3 kB / 0.6083 GB, free: 3.199 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.669, allocations: 43.44 kB / 0.6084 GB, free: 3.156 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009744/0.6699, allocations: 492.2 kB / 0.6088 GB, free: 2.719 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.67, allocations: 8 kB / 0.6088 GB, free: 2.711 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.67, allocations: 0 / 0.6088 GB, free: 2.711 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.67, allocations: 3.953 kB / 0.6088 GB, free: 2.707 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006308/0.6706, allocations: 411 kB / 0.6092 GB, free: 2.309 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.857e-05/0.6707, allocations: 35.97 kB / 0.6093 GB, free: 2.273 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.6708, allocations: 31.97 kB / 0.6093 GB, free: 2.242 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.6709, allocations: 0 / 0.6093 GB, free: 2.242 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.304e-05/0.6709, allocations: 19.48 kB / 0.6093 GB, free: 2.227 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.6709, allocations: 7.938 kB / 0.6093 GB, free: 2.219 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6709, allocations: 0 / 0.6093 GB, free: 2.219 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009524/0.6719, allocations: 0.6657 MB / 0.61 GB, free: 1.559 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.672, allocations: 135.6 kB / 0.6101 GB, free: 1.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.433e-05/0.6721, allocations: 0 / 0.6101 GB, free: 1.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002985/0.6724, allocations: 23.42 kB / 0.6101 GB, free: 1.391 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.6725, allocations: 27.59 kB / 0.6102 GB, free: 1.367 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.992e-05/0.6726, allocations: 11.98 kB / 0.6102 GB, free: 1.355 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005131/0.6731, allocations: 446.9 kB / 0.6106 GB, free: 1.008 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6731, allocations: 0 / 0.6106 GB, free: 1.008 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009901/0.6741, allocations: 206.6 kB / 0.6108 GB, free: 0.8203 MB / 410.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 (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.0006281/0.6747, allocations: 296.8 kB / 0.6111 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001208/0.676, allocations: 0.7657 MB / 0.6118 GB, free: 15.74 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.676, allocations: 0 / 0.6118 GB, free: 15.74 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005395/0.6765, allocations: 499.3 kB / 0.6123 GB, free: 15.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005584/0.6771, allocations: 113.9 kB / 0.6124 GB, free: 15.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.6789, allocations: 1.095 MB / 0.6135 GB, free: 14.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005082/0.6794, allocations: 0.8963 MB / 0.6144 GB, free: 13.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003463/0.6798, allocations: 132.5 kB / 0.6145 GB, free: 12.99 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.266e-05/0.6799, allocations: 35.44 kB / 0.6145 GB, free: 12.96 MB / 426.7 MB Notification: Performance of SimCode: time 2.335e-06/0.6799, allocations: 3.938 kB / 0.6145 GB, free: 12.95 MB / 426.7 MB Notification: Performance of Templates: time 0.01896/0.6989, allocations: 9.98 MB / 0.6243 GB, free: 3 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_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_overall/kc_overall.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches