Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 180 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 221.3 MB / 236 MB, free: 2.906 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008653/0.0008653, allocations: 91.67 kB / 287 MB, free: 200 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1743/0.1743, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.205e-05/3.207e-05, allocations: 4.219 kB / 451.9 MB, free: 9.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1101, allocations: 61.91 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3401/0.4502, allocations: 91.73 MB / 0.5913 GB, free: 13.58 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/0.4505, allocations: 99.92 kB / 0.5914 GB, free: 13.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03118/0.4817, allocations: 12.17 MB / 0.6033 GB, free: 1.234 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4817, allocations: 3.938 kB / 0.6033 GB, free: 1.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.4817, allocations: 4 kB / 0.6033 GB, free: 1.227 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0005565/0.4823, allocations: 494.6 kB / 0.6038 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.4823, allocations: 8.031 kB / 0.6038 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.581e-05/0.4824, allocations: 31.62 kB / 0.6038 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.4826, allocations: 240.5 kB / 0.604 GB, free: 392 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.4827, allocations: 20.52 kB / 0.604 GB, free: 372 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.688e-05/0.4827, allocations: 28 kB / 0.6041 GB, free: 344 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004923/0.4832, allocations: 346 kB / 0.6044 GB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.4832, allocations: 0 / 0.6044 GB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/0.4833, allocations: 12 kB / 0.6044 GB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.115e-05/0.4833, allocations: 20.77 kB / 0.6044 GB, free: 15.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004123/0.4837, allocations: 342.8 kB / 0.6048 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.4849, allocations: 0.8586 MB / 0.6056 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003571/0.4852, allocations: 242.9 kB / 0.6058 GB, free: 14.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.4854, allocations: 85.56 kB / 0.6059 GB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.4854, allocations: 7.938 kB / 0.6059 GB, free: 14.37 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.4854, allocations: 38.56 kB / 0.606 GB, free: 14.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=16): time 1.203e-06/0.4854, allocations: 0 / 0.606 GB, free: 14.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003871/0.4858, allocations: 219.8 kB / 0.6062 GB, free: 14.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.4859, allocations: 55.41 kB / 0.6062 GB, free: 14.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.4861, allocations: 299.7 kB / 0.6065 GB, free: 13.74 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.4862, allocations: 29.7 kB / 0.6065 GB, free: 13.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.704e-05/0.4863, allocations: 175.9 kB / 0.6067 GB, free: 13.53 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.4863, allocations: 59.19 kB / 0.6068 GB, free: 13.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.323e-05/0.4863, allocations: 4 kB / 0.6068 GB, free: 13.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.4864, allocations: 338.8 kB / 0.6071 GB, free: 13.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.4866, allocations: 88.39 kB / 0.6072 GB, free: 13.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.4868, allocations: 173.1 kB / 0.6073 GB, free: 12.83 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.4869, allocations: 111.8 kB / 0.6074 GB, free: 12.72 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4869, allocations: 0 / 0.6074 GB, free: 12.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004461/0.4874, allocations: 321 kB / 0.6077 GB, free: 12.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.4874, allocations: 4 kB / 0.6078 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4874, allocations: 4 kB / 0.6078 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.4874, allocations: 7.938 kB / 0.6078 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005736/0.488, allocations: 119.8 kB / 0.6079 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001636/0.4897, allocations: 3.658 MB / 0.6115 GB, free: 8.469 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.4899, allocations: 39.59 kB / 0.6115 GB, free: 8.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.4899, allocations: 15.98 kB / 0.6115 GB, free: 8.414 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.189e-05/0.49, allocations: 121.1 kB / 0.6116 GB, free: 8.289 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.476e-05/0.49, allocations: 23.72 kB / 0.6116 GB, free: 8.266 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004943/0.4905, allocations: 297.7 kB / 0.6119 GB, free: 7.969 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.4906, allocations: 4 kB / 0.6119 GB, free: 7.965 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4906, allocations: 7.891 kB / 0.6119 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.4906, allocations: 0 / 0.6119 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.4909, allocations: 297.4 kB / 0.6122 GB, free: 7.617 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4909, allocations: 7.938 kB / 0.6122 GB, free: 7.609 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005101/0.4914, allocations: 103.9 kB / 0.6123 GB, free: 7.508 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.4914, allocations: 0 / 0.6123 GB, free: 7.508 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.4914, allocations: 7.984 kB / 0.6123 GB, free: 7.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001597/0.493, allocations: 3.645 MB / 0.6159 GB, free: 3.715 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4931, allocations: 3.953 kB / 0.6159 GB, free: 3.711 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003468/0.4934, allocations: 315.5 kB / 0.6162 GB, free: 3.387 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.139e-05/0.4935, allocations: 112.7 kB / 0.6163 GB, free: 3.258 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.4935, allocations: 4.188 kB / 0.6163 GB, free: 3.254 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.4937, allocations: 15.98 kB / 0.6163 GB, free: 3.238 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.4938, allocations: 15.98 kB / 0.6163 GB, free: 3.223 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.4938, allocations: 7.953 kB / 0.6163 GB, free: 3.215 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002027/0.494, allocations: 239.1 kB / 0.6166 GB, free: 2.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.494, allocations: 0 / 0.6166 GB, free: 2.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000345/0.4943, allocations: 79.92 kB / 0.6167 GB, free: 2.902 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002252/0.4946, allocations: 161.8 kB / 0.6168 GB, free: 2.734 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006991/0.4953, allocations: 274.8 kB / 0.6171 GB, free: 2.469 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4953, allocations: 3.938 kB / 0.6171 GB, free: 2.465 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004696/0.4958, allocations: 151.8 kB / 0.6172 GB, free: 2.316 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.4961, allocations: 63.84 kB / 0.6173 GB, free: 2.254 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006302/0.4967, allocations: 389.4 kB / 0.6176 GB, free: 1.848 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.497, allocations: 0.7951 MB / 0.6184 GB, free: 1.023 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001775/0.4972, allocations: 78.88 kB / 0.6185 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.207e-05/0.4973, allocations: 31.42 kB / 0.6185 GB, free: 0.918 MB / 426.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4973, allocations: 0 / 0.6185 GB, free: 0.918 MB / 426.7 MB Notification: Performance of Templates: time 0.008168/0.5055, allocations: 5.05 MB / 0.6235 GB, free: 11.93 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent_KC/kc_turbulent_KC.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches