Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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_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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001541/0.001541, allocations: 181.7 kB / 13.66 MB, free: 1.664 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.972/1.972, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001072/0.001072, allocations: 82.7 kB / 267.5 MB, free: 14.05 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.278/0.278, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.199e-05/3.216e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.116, allocations: 58.85 MB / 484.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4774/0.5934, allocations: 92.67 MB / 0.5633 GB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003668/0.5938, allocations: 105.5 kB / 0.5634 GB, free: 10.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06476/0.6586, allocations: 13.48 MB / 0.5766 GB, free: 15.31 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.6586, allocations: 3.844 kB / 0.5766 GB, free: 15.31 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.6586, allocations: 4 kB / 0.5766 GB, free: 15.3 MB / 394.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.001212/0.6599, allocations: 0.5539 MB / 0.5771 GB, free: 14.72 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.6599, allocations: 8.031 kB / 0.5771 GB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.66, allocations: 35.58 kB / 0.5772 GB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004402/0.6605, allocations: 254.1 kB / 0.5774 GB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.6605, allocations: 23.56 kB / 0.5774 GB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.372e-05/0.6606, allocations: 22.62 kB / 0.5774 GB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009037/0.6615, allocations: 406.4 kB / 0.5778 GB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.6616, allocations: 0 / 0.5778 GB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.154e-05/0.6616, allocations: 10.75 kB / 0.5778 GB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.223e-05/0.6617, allocations: 20.55 kB / 0.5779 GB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006846/0.6624, allocations: 262.8 kB / 0.5781 GB, free: 13.83 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002406/0.6648, allocations: 1.115 MB / 0.5792 GB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005608/0.6654, allocations: 211.1 kB / 0.5794 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000236/0.6657, allocations: 81.47 kB / 0.5795 GB, free: 12.49 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.045e-05/0.6657, allocations: 15.97 kB / 0.5795 GB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.6658, allocations: 34.55 kB / 0.5795 GB, free: 12.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 3.446e-06/0.6658, allocations: 0 / 0.5795 GB, free: 12.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007819/0.6666, allocations: 215 kB / 0.5797 GB, free: 12.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.074e-05/0.6667, allocations: 106.8 kB / 0.5798 GB, free: 12.11 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006381/0.6673, allocations: 353.5 kB / 0.5802 GB, free: 11.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.908e-05/0.6674, allocations: 36.95 kB / 0.5802 GB, free: 11.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.6676, allocations: 228 kB / 0.5804 GB, free: 11.58 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.878e-05/0.6677, allocations: 57.56 kB / 0.5805 GB, free: 11.53 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.6677, allocations: 3.125 kB / 0.5805 GB, free: 11.53 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.6679, allocations: 325.4 kB / 0.5808 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/0.6682, allocations: 87.66 kB / 0.5809 GB, free: 11.13 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003777/0.6685, allocations: 203.5 kB / 0.5811 GB, free: 10.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003626/0.6689, allocations: 125.1 kB / 0.5812 GB, free: 10.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.6689, allocations: 0 / 0.5812 GB, free: 10.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009254/0.6699, allocations: 331.7 kB / 0.5815 GB, free: 10.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.6699, allocations: 4 kB / 0.5815 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.781e-05/0.67, allocations: 23.98 kB / 0.5815 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.67, allocations: 4 kB / 0.5815 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004962/0.6705, allocations: 55.89 kB / 0.5816 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.794e-05/0.6706, allocations: 7.938 kB / 0.5816 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005425/0.6711, allocations: 66.59 kB / 0.5817 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.945e-05/0.6712, allocations: 12 kB / 0.5817 GB, free: 10.33 MB / 394.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.0001518/0.6714, allocations: 136.6 kB / 0.5818 GB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.6715, allocations: 27.62 kB / 0.5818 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008457/0.6724, allocations: 257.3 kB / 0.5821 GB, free: 9.949 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.6724, allocations: 4 kB / 0.5821 GB, free: 9.945 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.6724, allocations: 0 / 0.5821 GB, free: 9.945 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.6724, allocations: 4 kB / 0.5821 GB, free: 9.941 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006957/0.6731, allocations: 310.2 kB / 0.5824 GB, free: 9.621 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-05/0.6732, allocations: 19.23 kB / 0.5824 GB, free: 9.605 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003154/0.6735, allocations: 39.91 kB / 0.5824 GB, free: 9.566 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.6736, allocations: 0 / 0.5824 GB, free: 9.566 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/0.6736, allocations: 4 kB / 0.5824 GB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.6736, allocations: 11.94 kB / 0.5825 GB, free: 9.551 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6736, allocations: 0 / 0.5825 GB, free: 9.551 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007438/0.6744, allocations: 482.8 kB / 0.5829 GB, free: 9.078 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/0.6746, allocations: 108.7 kB / 0.583 GB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.092e-05/0.6747, allocations: 4 kB / 0.583 GB, free: 8.949 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004754/0.6752, allocations: 23.42 kB / 0.583 GB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.81e-05/0.6753, allocations: 23.86 kB / 0.5831 GB, free: 8.906 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/0.6753, allocations: 11.44 kB / 0.5831 GB, free: 8.898 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004866/0.6758, allocations: 279 kB / 0.5833 GB, free: 8.672 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6758, allocations: 0 / 0.5833 GB, free: 8.672 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007834/0.6766, allocations: 99.06 kB / 0.5834 GB, free: 8.582 MB / 394.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.0004598/0.6771, allocations: 187.2 kB / 0.5836 GB, free: 8.395 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000832/0.6779, allocations: 366.4 kB / 0.584 GB, free: 8.027 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.678, allocations: 5.062 kB / 0.584 GB, free: 8.023 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000376/0.6784, allocations: 242.8 kB / 0.5842 GB, free: 7.762 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007784/0.6791, allocations: 70.91 kB / 0.5843 GB, free: 7.711 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.6806, allocations: 465 kB / 0.5847 GB, free: 7.25 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004888/0.6811, allocations: 0.8053 MB / 0.5855 GB, free: 6.426 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.6813, allocations: 23.38 kB / 0.5855 GB, free: 6.402 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6813, allocations: 0 / 0.5855 GB, free: 6.402 MB / 394.7 MB Notification: Performance of Templates: time 0.01416/0.6955, allocations: 5.601 MB / 0.591 GB, free: 0.832 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins1/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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches