Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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.HelicalPipe.kc_turbulent,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|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.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|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.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001455/0.001455, allocations: 181.2 kB / 16.4 MB, free: 5.723 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.993/1.993, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001093/0.001093, allocations: 92.38 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5583/0.5583, allocations: 43.56 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004796/0.0004797, allocations: 12 kB / 431.4 MB, free: 6.137 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1308, allocations: 58.84 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4672/0.598, allocations: 92.93 MB / 0.5695 GB, free: 9.758 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000378/0.5985, allocations: 94.38 kB / 0.5696 GB, free: 9.668 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04816/0.6466, allocations: 10.67 MB / 0.58 GB, free: 14.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.015e-06/0.6467, allocations: 0 / 0.58 GB, free: 14.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.092e-05/0.6467, allocations: 4 kB / 0.58 GB, free: 14.87 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001501/0.6482, allocations: 0.6462 MB / 0.5806 GB, free: 14.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.6483, allocations: 12.03 kB / 0.5807 GB, free: 14.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.6485, allocations: 42.97 kB / 0.5807 GB, free: 14.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005052/0.649, allocations: 287.1 kB / 0.581 GB, free: 13.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.318e-05/0.649, allocations: 33 kB / 0.581 GB, free: 13.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.189e-05/0.6491, allocations: 36 kB / 0.581 GB, free: 13.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.6507, allocations: 0.5855 MB / 0.5816 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.6508, allocations: 0 / 0.5816 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.483e-05/0.6508, allocations: 19.98 kB / 0.5816 GB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.499e-05/0.6509, allocations: 22.03 kB / 0.5816 GB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.6525, allocations: 455.5 kB / 0.5821 GB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003163/0.6557, allocations: 1.402 MB / 0.5834 GB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009647/0.6567, allocations: 291.5 kB / 0.5837 GB, free: 10.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.622e-05/0.6568, allocations: 4 kB / 0.5837 GB, free: 10.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.356e-05/0.6569, allocations: 43.3 kB / 0.5838 GB, free: 10.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 3.406e-06/0.6569, allocations: 0 / 0.5838 GB, free: 10.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.002386/0.6593, allocations: 0.7034 MB / 0.5845 GB, free: 10.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.576e-05/0.6594, allocations: 110.9 kB / 0.5846 GB, free: 9.918 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000947/0.6604, allocations: 457 kB / 0.585 GB, free: 9.473 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.704e-05/0.6604, allocations: 29.7 kB / 0.585 GB, free: 9.438 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.6606, allocations: 238.7 kB / 0.5853 GB, free: 9.203 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.01e-05/0.6607, allocations: 59.16 kB / 0.5853 GB, free: 9.145 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.6608, allocations: 4 kB / 0.5853 GB, free: 9.141 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.6609, allocations: 318.8 kB / 0.5856 GB, free: 8.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006233/0.6616, allocations: 140 kB / 0.5858 GB, free: 8.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006294/0.6622, allocations: 189 kB / 0.5859 GB, free: 8.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006435/0.6629, allocations: 159.5 kB / 0.5861 GB, free: 8.328 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.6629, allocations: 0 / 0.5861 GB, free: 8.328 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001524/0.6644, allocations: 369.2 kB / 0.5864 GB, free: 7.961 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.6645, allocations: 8.156 kB / 0.5864 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001078/0.6646, allocations: 31.97 kB / 0.5865 GB, free: 7.922 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.6646, allocations: 4.109 kB / 0.5865 GB, free: 7.918 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003788/0.665, allocations: 39.91 kB / 0.5865 GB, free: 7.879 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.665, allocations: 8.641 kB / 0.5865 GB, free: 7.871 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005136/0.6655, allocations: 75.34 kB / 0.5866 GB, free: 7.797 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-05/0.6656, allocations: 8 kB / 0.5866 GB, free: 7.789 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0003247/0.6659, allocations: 185.8 kB / 0.5868 GB, free: 7.598 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.6661, allocations: 39.52 kB / 0.5868 GB, free: 7.559 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.6675, allocations: 408.5 kB / 0.5872 GB, free: 7.156 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.6675, allocations: 0 / 0.5872 GB, free: 7.156 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.6675, allocations: 4 kB / 0.5872 GB, free: 7.152 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.6675, allocations: 3.953 kB / 0.5872 GB, free: 7.148 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008569/0.6684, allocations: 357.4 kB / 0.5876 GB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.652e-05/0.6685, allocations: 27.97 kB / 0.5876 GB, free: 6.723 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002955/0.6688, allocations: 31.97 kB / 0.5876 GB, free: 6.691 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.848e-06/0.6688, allocations: 4 kB / 0.5876 GB, free: 6.688 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.635e-05/0.6689, allocations: 7.984 kB / 0.5876 GB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.6689, allocations: 4 kB / 0.5876 GB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6689, allocations: 0 / 0.5876 GB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.6704, allocations: 0.6221 MB / 0.5882 GB, free: 6.023 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/0.6706, allocations: 124.5 kB / 0.5884 GB, free: 5.883 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.397e-05/0.6707, allocations: 4 kB / 0.5884 GB, free: 5.879 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004854/0.6712, allocations: 27.94 kB / 0.5884 GB, free: 5.852 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.6713, allocations: 19.97 kB / 0.5884 GB, free: 5.832 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.552e-05/0.6714, allocations: 15.98 kB / 0.5884 GB, free: 5.816 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007239/0.6721, allocations: 367.1 kB / 0.5888 GB, free: 5.457 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6721, allocations: 0 / 0.5888 GB, free: 5.457 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008054/0.673, allocations: 123.9 kB / 0.5889 GB, free: 5.336 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.000467/0.6734, allocations: 205.7 kB / 0.5891 GB, free: 5.125 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001534/0.675, allocations: 0.5421 MB / 0.5896 GB, free: 4.527 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.675, allocations: 0 / 0.5896 GB, free: 4.527 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008346/0.6759, allocations: 399.2 kB / 0.59 GB, free: 4.082 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008562/0.6767, allocations: 92.81 kB / 0.5901 GB, free: 3.996 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.6792, allocations: 0.9075 MB / 0.591 GB, free: 3.059 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006465/0.6799, allocations: 0.8538 MB / 0.5918 GB, free: 2.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.68, allocations: 27.44 kB / 0.5918 GB, free: 2.152 MB / 410.7 MB Notification: Performance of SimCode: time 1.322e-06/0.68, allocations: 0 / 0.5918 GB, free: 2.152 MB / 410.7 MB Notification: Performance of Templates: time 0.01724/0.6973, allocations: 7.088 MB / 0.5988 GB, free: 11.1 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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/HelicalPipe/kc_turbulent/kc_turbulent.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches