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.001462/0.001462, allocations: 186.3 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.06/2.06, 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.001097/0.001097, allocations: 91.39 kB / 270.9 MB, free: 8.371 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.5182/0.5182, allocations: 43.55 MB / 362.7 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000492/0.0004921, allocations: 8 kB / 431.4 MB, free: 5.914 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1301, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4752/0.6053, allocations: 92.77 MB / 0.5693 GB, free: 9.758 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004521/0.6058, allocations: 99.92 kB / 0.5694 GB, free: 9.66 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06185/0.6677, allocations: 13.47 MB / 0.5826 GB, free: 12.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.6678, allocations: 0 / 0.5826 GB, free: 12.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.837e-05/0.6678, allocations: 4 kB / 0.5826 GB, free: 12.12 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.001205/0.669, allocations: 0.5842 MB / 0.5832 GB, free: 11.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.6691, allocations: 8.031 kB / 0.5832 GB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.635e-05/0.6692, allocations: 35.06 kB / 0.5832 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004031/0.6696, allocations: 266.4 kB / 0.5835 GB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.6697, allocations: 20.56 kB / 0.5835 GB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-05/0.6697, allocations: 24 kB / 0.5835 GB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.6709, allocations: 437.9 kB / 0.5839 GB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.671, allocations: 3.938 kB / 0.5839 GB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.668e-05/0.671, allocations: 13.03 kB / 0.5839 GB, free: 10.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-05/0.6711, allocations: 16.56 kB / 0.584 GB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.6723, allocations: 345.9 kB / 0.5843 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002233/0.6746, allocations: 1.108 MB / 0.5854 GB, free: 9.129 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008244/0.6754, allocations: 251.7 kB / 0.5856 GB, free: 8.855 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.965e-05/0.6755, allocations: 11.98 kB / 0.5856 GB, free: 8.844 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.6755, allocations: 42.59 kB / 0.5857 GB, free: 8.793 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 3.115e-06/0.6756, allocations: 0 / 0.5857 GB, free: 8.793 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.001886/0.6775, allocations: 0.6141 MB / 0.5863 GB, free: 8.117 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/0.6775, allocations: 106.8 kB / 0.5864 GB, free: 7.988 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006519/0.6782, allocations: 368.6 kB / 0.5867 GB, free: 7.629 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.6782, allocations: 25.7 kB / 0.5867 GB, free: 7.598 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.6784, allocations: 238.2 kB / 0.587 GB, free: 7.363 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.78e-05/0.6785, allocations: 55.33 kB / 0.587 GB, free: 7.309 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.6785, allocations: 0 / 0.587 GB, free: 7.309 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.6787, allocations: 326.8 kB / 0.5873 GB, free: 6.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005508/0.6792, allocations: 128.9 kB / 0.5875 GB, free: 6.852 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006302/0.6799, allocations: 247.7 kB / 0.5877 GB, free: 6.555 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006324/0.6805, allocations: 163.8 kB / 0.5878 GB, free: 6.395 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.6806, allocations: 0 / 0.5878 GB, free: 6.395 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001495/0.6821, allocations: 409.3 kB / 0.5882 GB, free: 5.988 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.6821, allocations: 8 kB / 0.5882 GB, free: 5.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.502e-05/0.6822, allocations: 21.62 kB / 0.5883 GB, free: 5.961 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.958e-05/0.6822, allocations: 12.17 kB / 0.5883 GB, free: 5.949 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004441/0.6827, allocations: 59.95 kB / 0.5883 GB, free: 5.891 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.6827, allocations: 11.94 kB / 0.5883 GB, free: 5.879 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005182/0.6832, allocations: 59.56 kB / 0.5884 GB, free: 5.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.816e-05/0.6833, allocations: 12 kB / 0.5884 GB, free: 5.809 MB / 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 () * 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.0002909/0.6836, allocations: 182.2 kB / 0.5886 GB, free: 5.621 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.6837, allocations: 27.62 kB / 0.5886 GB, free: 5.594 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.6848, allocations: 294.8 kB / 0.5889 GB, free: 5.301 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.6848, allocations: 8 kB / 0.5889 GB, free: 5.293 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.6849, allocations: 0 / 0.5889 GB, free: 5.293 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.6849, allocations: 0 / 0.5889 GB, free: 5.293 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000664/0.6855, allocations: 309.4 kB / 0.5892 GB, free: 4.941 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.135e-05/0.6856, allocations: 19.98 kB / 0.5892 GB, free: 4.922 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/0.6859, allocations: 32.06 kB / 0.5892 GB, free: 4.891 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.686, allocations: 7.938 kB / 0.5893 GB, free: 4.883 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/0.686, allocations: 11.98 kB / 0.5893 GB, free: 4.871 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.686, allocations: 3.938 kB / 0.5893 GB, free: 4.867 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.686, allocations: 0 / 0.5893 GB, free: 4.867 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.6873, allocations: 0.5533 MB / 0.5898 GB, free: 4.285 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.6874, allocations: 108.7 kB / 0.5899 GB, free: 4.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.078e-05/0.6875, allocations: 0 / 0.5899 GB, free: 4.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004432/0.688, allocations: 27.97 kB / 0.5899 GB, free: 4.133 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.639e-05/0.6881, allocations: 15.94 kB / 0.59 GB, free: 4.117 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.392e-05/0.6881, allocations: 11.98 kB / 0.59 GB, free: 4.105 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004565/0.6886, allocations: 291.1 kB / 0.5902 GB, free: 3.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6886, allocations: 0 / 0.5902 GB, free: 3.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007743/0.6894, allocations: 107.9 kB / 0.5903 GB, free: 3.715 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 (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.0004246/0.6898, allocations: 176.1 kB / 0.5905 GB, free: 3.539 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00137/0.6912, allocations: 454 kB / 0.5909 GB, free: 3.059 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6912, allocations: 0 / 0.5909 GB, free: 3.059 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006988/0.6919, allocations: 286.9 kB / 0.5912 GB, free: 2.742 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006874/0.6926, allocations: 74.36 kB / 0.5913 GB, free: 2.672 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.6944, allocations: 0.7056 MB / 0.592 GB, free: 1.926 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004631/0.6949, allocations: 0.7989 MB / 0.5928 GB, free: 1.102 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.695, allocations: 27.42 kB / 0.5928 GB, free: 1.078 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/0.695, allocations: 0 / 0.5928 GB, free: 1.078 MB / 410.7 MB Notification: Performance of Templates: time 0.01311/0.7081, allocations: 5.59 MB / 0.5982 GB, free: 11.51 MB / 426.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