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.001388/0.001387, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 221.5 MB / 230.7 MB, free: 7.516 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008197/0.0008196, allocations: 82 kB / 281.6 MB, free: 5.254 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.1768/0.1768, allocations: 44.15 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.415e-05/1.418e-05, allocations: 224 / 444.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1226, allocations: 61.92 MB / 0.4947 GB, free: 1.219 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4033/0.526, allocations: 93.13 MB / 0.5856 GB, free: 3.348 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/0.5263, allocations: 95.92 kB / 0.5857 GB, free: 3.254 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03675/0.5631, allocations: 13.63 MB / 0.599 GB, free: 5.531 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5632, allocations: 7.938 kB / 0.599 GB, free: 5.523 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.13e-05/0.5632, allocations: 4 kB / 0.599 GB, free: 5.52 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001077/0.5643, allocations: 0.5452 MB / 0.5996 GB, free: 4.926 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.5643, allocations: 15.98 kB / 0.5996 GB, free: 4.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.5645, allocations: 35.62 kB / 0.5996 GB, free: 4.875 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004236/0.5649, allocations: 254.5 kB / 0.5999 GB, free: 4.586 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.5649, allocations: 8 kB / 0.5999 GB, free: 4.578 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/0.565, allocations: 16 kB / 0.5999 GB, free: 4.562 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004081/0.5654, allocations: 229.2 kB / 0.6001 GB, free: 4.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005744/0.566, allocations: 369.6 kB / 0.6005 GB, free: 3.965 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.566, allocations: 4.875 kB / 0.6005 GB, free: 3.961 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.5661, allocations: 4 kB / 0.6005 GB, free: 3.957 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-05/0.5661, allocations: 16.56 kB / 0.6005 GB, free: 3.938 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.5676, allocations: 1.01 MB / 0.6015 GB, free: 2.879 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003051/0.5679, allocations: 207.8 kB / 0.6017 GB, free: 2.648 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.568, allocations: 74.53 kB / 0.6017 GB, free: 2.566 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.235e-05/0.5681, allocations: 19.94 kB / 0.6018 GB, free: 2.547 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.5681, allocations: 34.56 kB / 0.6018 GB, free: 2.504 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/0.5681, allocations: 0 / 0.6018 GB, free: 2.504 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.000418/0.5685, allocations: 189.4 kB / 0.602 GB, free: 2.312 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/0.5686, allocations: 102.8 kB / 0.6021 GB, free: 2.188 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.5688, allocations: 223.9 kB / 0.6023 GB, free: 1.965 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.5689, allocations: 25.7 kB / 0.6023 GB, free: 1.934 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.569, allocations: 203.5 kB / 0.6025 GB, free: 1.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.418e-05/0.569, allocations: 51.27 kB / 0.6026 GB, free: 1.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.477e-05/0.5691, allocations: 0 / 0.6026 GB, free: 1.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.5692, allocations: 330.8 kB / 0.6029 GB, free: 1.348 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.5693, allocations: 80.17 kB / 0.603 GB, free: 1.266 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.5695, allocations: 205.3 kB / 0.6031 GB, free: 1.012 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.5697, allocations: 119.9 kB / 0.6033 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.5697, allocations: 4 kB / 0.6033 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004611/0.5702, allocations: 297.5 kB / 0.6035 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.5702, allocations: 8 kB / 0.6036 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.224e-05/0.5703, allocations: 24.02 kB / 0.6036 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.5703, allocations: 11.94 kB / 0.6036 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.5705, allocations: 51.95 kB / 0.6036 GB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.5706, allocations: 11.94 kB / 0.6037 GB, free: 500 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002482/0.5708, allocations: 39.81 kB / 0.6037 GB, free: 460 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.5709, allocations: 19.98 kB / 0.6037 GB, free: 440 kB / 410.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 () * 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.0001135/0.571, allocations: 116.9 kB / 0.6038 GB, free: 316 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.816e-05/0.5711, allocations: 23.67 kB / 0.6038 GB, free: 292 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004426/0.5715, allocations: 263.1 kB / 0.6041 GB, free: 24 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.5715, allocations: 0 / 0.6041 GB, free: 24 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.5715, allocations: 4 kB / 0.6041 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5715, allocations: 3.984 kB / 0.6041 GB, free: 16 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003935/0.5719, allocations: 262 kB / 0.6044 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.255e-05/0.572, allocations: 19.98 kB / 0.6044 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.5721, allocations: 27.97 kB / 0.6044 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5722, allocations: 4 kB / 0.6044 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.5722, allocations: 7.984 kB / 0.6044 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.5722, allocations: 7.953 kB / 0.6044 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.5722, allocations: 0 / 0.6044 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004237/0.5726, allocations: 471.1 kB / 0.6049 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-05/0.5727, allocations: 96.88 kB / 0.605 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.5728, allocations: 7.984 kB / 0.605 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.573, allocations: 19.98 kB / 0.605 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.883e-05/0.5731, allocations: 15.98 kB / 0.605 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.5731, allocations: 7.984 kB / 0.605 GB, free: 15 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001489/0.5733, allocations: 168.5 kB / 0.6052 GB, free: 14.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5733, allocations: 0 / 0.6052 GB, free: 14.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006095/0.5739, allocations: 107.6 kB / 0.6053 GB, free: 14.73 MB / 426.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 () * 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.0005041/0.5744, allocations: 183.1 kB / 0.6054 GB, free: 14.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005245/0.575, allocations: 357.8 kB / 0.6058 GB, free: 14.15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.575, allocations: 0 / 0.6058 GB, free: 14.15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002591/0.5752, allocations: 246.1 kB / 0.606 GB, free: 13.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.5756, allocations: 29.8 kB / 0.606 GB, free: 13.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.5768, allocations: 399.8 kB / 0.6064 GB, free: 13.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005215/0.5773, allocations: 0.806 MB / 0.6072 GB, free: 12.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001752/0.5775, allocations: 45.8 kB / 0.6073 GB, free: 12.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.562e-05/0.5776, allocations: 15.44 kB / 0.6073 GB, free: 12.54 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5776, allocations: 0 / 0.6073 GB, free: 12.54 MB / 426.7 MB Notification: Performance of Templates: time 0.007989/0.5856, allocations: 3.501 MB / 0.6107 GB, free: 9.074 MB / 426.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