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.001055/0.001055, allocations: 180.2 kB / 16.77 MB, free: 5.051 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.463/1.463, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0008072/0.0008069, allocations: 82.36 kB / 271.3 MB, free: 8.254 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.3555/0.3555, allocations: 43.56 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.000366, allocations: 16 kB / 432.7 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1244, allocations: 58.85 MB / 491.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3716/0.4961, allocations: 92.83 MB / 0.5706 GB, free: 9.156 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/0.4964, allocations: 95.94 kB / 0.5707 GB, free: 9.062 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03831/0.5348, allocations: 13.47 MB / 0.5839 GB, free: 11.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.5348, allocations: 0 / 0.5839 GB, free: 11.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.576e-05/0.5349, allocations: 8 kB / 0.5839 GB, free: 11.53 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.001123/0.536, allocations: 0.5804 MB / 0.5845 GB, free: 10.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.5361, allocations: 8.031 kB / 0.5845 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.5362, allocations: 36.56 kB / 0.5845 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/0.5365, allocations: 259.7 kB / 0.5847 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.029e-05/0.5366, allocations: 24.92 kB / 0.5848 GB, free: 10.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.584e-05/0.5366, allocations: 27.09 kB / 0.5848 GB, free: 10.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007837/0.5374, allocations: 442.4 kB / 0.5852 GB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.5375, allocations: 3.938 kB / 0.5852 GB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.5375, allocations: 12 kB / 0.5852 GB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.742e-05/0.5375, allocations: 24.48 kB / 0.5853 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007207/0.5383, allocations: 338 kB / 0.5856 GB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.5399, allocations: 1.1 MB / 0.5867 GB, free: 8.543 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000511/0.5404, allocations: 251.7 kB / 0.5869 GB, free: 8.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/0.5407, allocations: 118.5 kB / 0.587 GB, free: 8.145 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.724e-05/0.5408, allocations: 11.94 kB / 0.587 GB, free: 8.133 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.5408, allocations: 42.48 kB / 0.5871 GB, free: 8.082 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.385e-06/0.5408, allocations: 0 / 0.5871 GB, free: 8.082 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.001044/0.5419, allocations: 393.5 kB / 0.5874 GB, free: 7.691 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.874e-05/0.542, allocations: 110.8 kB / 0.5875 GB, free: 7.559 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004869/0.5425, allocations: 405.5 kB / 0.5879 GB, free: 7.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.5425, allocations: 25.7 kB / 0.5879 GB, free: 7.129 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.5427, allocations: 191.8 kB / 0.5881 GB, free: 6.938 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.866e-05/0.5427, allocations: 47.3 kB / 0.5882 GB, free: 6.891 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.737e-05/0.5428, allocations: 4.031 kB / 0.5882 GB, free: 6.887 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.5429, allocations: 346.8 kB / 0.5885 GB, free: 6.539 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003078/0.5432, allocations: 132.1 kB / 0.5886 GB, free: 6.406 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003628/0.5436, allocations: 247.7 kB / 0.5889 GB, free: 6.109 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007587/0.5444, allocations: 399.1 kB / 0.5893 GB, free: 5.664 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5444, allocations: 0 / 0.5893 GB, free: 5.664 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008769/0.5453, allocations: 420.7 kB / 0.5897 GB, free: 5.246 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.5453, allocations: 12.69 kB / 0.5897 GB, free: 5.234 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-05/0.5454, allocations: 24.48 kB / 0.5897 GB, free: 5.211 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.5454, allocations: 4 kB / 0.5897 GB, free: 5.207 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.5457, allocations: 59.89 kB / 0.5898 GB, free: 5.148 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.5457, allocations: 4 kB / 0.5898 GB, free: 5.145 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002998/0.546, allocations: 55.58 kB / 0.5898 GB, free: 5.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.722e-05/0.546, allocations: 19.98 kB / 0.5898 GB, free: 5.07 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.0002059/0.5462, allocations: 189.6 kB / 0.59 GB, free: 4.875 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.248e-05/0.5463, allocations: 31.81 kB / 0.59 GB, free: 4.844 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006054/0.547, allocations: 289.2 kB / 0.5903 GB, free: 4.555 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/0.547, allocations: 4 kB / 0.5903 GB, free: 4.551 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.547, allocations: 0 / 0.5903 GB, free: 4.551 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.547, allocations: 0 / 0.5903 GB, free: 4.551 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004645/0.5475, allocations: 313.3 kB / 0.5906 GB, free: 4.195 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.309e-05/0.5475, allocations: 20 kB / 0.5906 GB, free: 4.176 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001945/0.5477, allocations: 31.97 kB / 0.5907 GB, free: 4.145 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.5477, allocations: 4 kB / 0.5907 GB, free: 4.141 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.5478, allocations: 8 kB / 0.5907 GB, free: 4.133 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.5478, allocations: 7.922 kB / 0.5907 GB, free: 4.125 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.5478, allocations: 4 kB / 0.5907 GB, free: 4.121 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000738/0.5485, allocations: 0.5248 MB / 0.5912 GB, free: 3.578 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.5487, allocations: 104.7 kB / 0.5913 GB, free: 3.457 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.578e-05/0.5487, allocations: 7.984 kB / 0.5913 GB, free: 3.449 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.549, allocations: 19.98 kB / 0.5913 GB, free: 3.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.075e-05/0.549, allocations: 15.98 kB / 0.5913 GB, free: 3.414 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.5491, allocations: 15.98 kB / 0.5914 GB, free: 3.398 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003117/0.5494, allocations: 291.1 kB / 0.5916 GB, free: 3.113 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5494, allocations: 0 / 0.5916 GB, free: 3.113 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005667/0.55, allocations: 99.94 kB / 0.5917 GB, free: 3.016 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.0004146/0.5504, allocations: 187.1 kB / 0.5919 GB, free: 2.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008119/0.5512, allocations: 450.8 kB / 0.5923 GB, free: 2.344 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5512, allocations: 0 / 0.5923 GB, free: 2.344 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003804/0.5516, allocations: 290.1 kB / 0.5926 GB, free: 2.023 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000677/0.5523, allocations: 69.5 kB / 0.5927 GB, free: 1.957 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.5535, allocations: 0.6824 MB / 0.5933 GB, free: 1.246 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.5539, allocations: 0.795 MB / 0.5941 GB, free: 436 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002098/0.5542, allocations: 62.92 kB / 0.5942 GB, free: 372 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.74e-05/0.5542, allocations: 27.44 kB / 0.5942 GB, free: 344 kB / 410.7 MB Notification: Performance of SimCode: time 3.2e-07/0.5542, allocations: 0 / 0.5942 GB, free: 344 kB / 410.7 MB Notification: Performance of Templates: time 0.01112/0.5654, allocations: 5.562 MB / 0.5996 GB, free: 10.82 MB / 426.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/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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches