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_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_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_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.001102/0.001103, allocations: 182.5 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.674/1.674, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001091/0.001091, allocations: 94.84 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.2357/0.2357, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004135/0.0004135, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1521, allocations: 58.86 MB / 490.3 MB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4429/0.5951, allocations: 92.77 MB / 0.5694 GB, free: 7.062 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003503/0.5955, allocations: 104.4 kB / 0.5695 GB, free: 7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03668/0.6322, allocations: 13.46 MB / 0.5826 GB, free: 11.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.447e-06/0.6323, allocations: 0 / 0.5826 GB, free: 11.46 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.125e-05/0.6323, allocations: 7.938 kB / 0.5826 GB, free: 11.45 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.001038/0.6334, allocations: 0.5841 MB / 0.5832 GB, free: 10.83 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.6334, allocations: 8.031 kB / 0.5832 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.004e-05/0.6335, allocations: 39.48 kB / 0.5832 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.6339, allocations: 253.9 kB / 0.5835 GB, free: 10.51 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.6339, allocations: 19.69 kB / 0.5835 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.12e-05/0.634, allocations: 23.69 kB / 0.5835 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007397/0.6347, allocations: 452 kB / 0.584 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.6347, allocations: 0 / 0.584 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.863e-05/0.6348, allocations: 11.69 kB / 0.584 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.255e-05/0.6348, allocations: 12.56 kB / 0.584 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006642/0.6355, allocations: 351.2 kB / 0.5843 GB, free: 9.816 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.637, allocations: 1.106 MB / 0.5854 GB, free: 8.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004648/0.6375, allocations: 250.8 kB / 0.5856 GB, free: 8.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.986e-05/0.6375, allocations: 12.02 kB / 0.5856 GB, free: 8.508 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.6376, allocations: 34.44 kB / 0.5857 GB, free: 8.469 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.753e-06/0.6376, allocations: 0 / 0.5857 GB, free: 8.469 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.001114/0.6387, allocations: 0.6209 MB / 0.5863 GB, free: 7.816 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/0.6388, allocations: 106.8 kB / 0.5864 GB, free: 7.688 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003794/0.6392, allocations: 365.5 kB / 0.5867 GB, free: 7.383 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.6392, allocations: 37.58 kB / 0.5868 GB, free: 7.344 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.6393, allocations: 189.7 kB / 0.587 GB, free: 7.199 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.101e-05/0.6394, allocations: 47.17 kB / 0.587 GB, free: 7.156 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.445e-05/0.6394, allocations: 3.875 kB / 0.587 GB, free: 7.156 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.6395, allocations: 346.1 kB / 0.5873 GB, free: 6.824 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/0.6398, allocations: 127.9 kB / 0.5875 GB, free: 6.707 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003548/0.6402, allocations: 246.4 kB / 0.5877 GB, free: 6.434 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/0.6405, allocations: 163.2 kB / 0.5878 GB, free: 6.293 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.6406, allocations: 0 / 0.5878 GB, free: 6.293 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008137/0.6414, allocations: 426.3 kB / 0.5883 GB, free: 5.914 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.6414, allocations: 8 kB / 0.5883 GB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.51e-05/0.6415, allocations: 20.17 kB / 0.5883 GB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.6415, allocations: 8.5 kB / 0.5883 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.6418, allocations: 63.83 kB / 0.5883 GB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.6418, allocations: 7.938 kB / 0.5884 GB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000299/0.6421, allocations: 63.44 kB / 0.5884 GB, free: 5.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/0.6421, allocations: 15.75 kB / 0.5884 GB, free: 5.738 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 () * 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.0001873/0.6423, allocations: 188.9 kB / 0.5886 GB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.423e-05/0.6424, allocations: 27.62 kB / 0.5886 GB, free: 5.531 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006205/0.643, allocations: 287 kB / 0.5889 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.6431, allocations: 4 kB / 0.5889 GB, free: 5.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.6431, allocations: 3.984 kB / 0.5889 GB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.6431, allocations: 0 / 0.5889 GB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004411/0.6435, allocations: 308.8 kB / 0.5892 GB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-05/0.6436, allocations: 24.06 kB / 0.5892 GB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.6437, allocations: 35.91 kB / 0.5893 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.6438, allocations: 7.938 kB / 0.5893 GB, free: 4.883 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.6438, allocations: 4 kB / 0.5893 GB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.6438, allocations: 0 / 0.5893 GB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6438, allocations: 0 / 0.5893 GB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000775/0.6446, allocations: 0.5538 MB / 0.5898 GB, free: 4.324 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.6447, allocations: 108.7 kB / 0.5899 GB, free: 4.199 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.466e-05/0.6447, allocations: 2.625 kB / 0.5899 GB, free: 4.199 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.645, allocations: 23.98 kB / 0.5899 GB, free: 4.176 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.283e-05/0.6451, allocations: 30.73 kB / 0.59 GB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.6451, allocations: 8 kB / 0.59 GB, free: 4.141 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000311/0.6454, allocations: 290.9 kB / 0.5903 GB, free: 3.906 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6455, allocations: 0 / 0.5903 GB, free: 3.906 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005921/0.6461, allocations: 98.31 kB / 0.5904 GB, free: 3.816 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 () * 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.0003651/0.6464, allocations: 177.2 kB / 0.5905 GB, free: 3.641 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008058/0.6472, allocations: 447.5 kB / 0.591 GB, free: 3.195 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6473, allocations: 4.062 kB / 0.591 GB, free: 3.191 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003744/0.6476, allocations: 283.5 kB / 0.5912 GB, free: 2.891 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.6481, allocations: 75 kB / 0.5913 GB, free: 2.836 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.6493, allocations: 0.6805 MB / 0.592 GB, free: 2.148 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.6497, allocations: 0.8056 MB / 0.5928 GB, free: 1.324 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001786/0.6499, allocations: 66.91 kB / 0.5928 GB, free: 1.262 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.376e-05/0.65, allocations: 19.44 kB / 0.5928 GB, free: 1.242 MB / 394.7 MB Notification: Performance of SimCode: time 7.21e-07/0.65, allocations: 0 / 0.5928 GB, free: 1.242 MB / 394.7 MB Notification: Performance of Templates: time 0.009708/0.6597, allocations: 5.343 MB / 0.5981 GB, free: 11.93 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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_turbulent/kc_turbulent.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches