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.0009509/0.0009509, allocations: 182.7 kB / 18.08 MB, free: 3.609 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.297/1.297, allocations: 223.3 MB / 242.1 MB, free: 9.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007322/0.0007321, allocations: 100.8 kB / 293.3 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2884/0.2884, allocations: 44.14 MB / 388.5 MB, free: 38.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003391/0.0003391, allocations: 8 kB / 461.1 MB, free: 1.285 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3199, allocations: 61.88 MB / 0.5107 GB, free: 37.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1155/0.4354, allocations: 91.82 MB / 0.6004 GB, free: 3.246 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.4358, allocations: 99.92 kB / 0.6005 GB, free: 3.152 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03202/0.4678, allocations: 12.15 MB / 0.6124 GB, free: 6.906 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4679, allocations: 4 kB / 0.6124 GB, free: 6.902 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.589e-05/0.4679, allocations: 4 kB / 0.6124 GB, free: 6.898 MB / 426.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.0006962/0.4686, allocations: 0.5032 MB / 0.6129 GB, free: 6.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.4686, allocations: 15.97 kB / 0.6129 GB, free: 6.324 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.679e-05/0.4687, allocations: 28.59 kB / 0.6129 GB, free: 6.297 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.469, allocations: 251.8 kB / 0.6132 GB, free: 6.012 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.469, allocations: 12.94 kB / 0.6132 GB, free: 6 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.729e-05/0.4691, allocations: 28.38 kB / 0.6132 GB, free: 5.973 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005743/0.4696, allocations: 365.8 kB / 0.6135 GB, free: 5.617 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.4697, allocations: 192 / 0.6135 GB, free: 5.617 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.4697, allocations: 15.94 kB / 0.6136 GB, free: 5.602 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.663e-05/0.4697, allocations: 20.64 kB / 0.6136 GB, free: 5.582 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005972/0.4703, allocations: 386.3 kB / 0.6139 GB, free: 5.199 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.4717, allocations: 0.8384 MB / 0.6148 GB, free: 4.305 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004342/0.4722, allocations: 262.3 kB / 0.615 GB, free: 4.039 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.4724, allocations: 95.23 kB / 0.6151 GB, free: 3.945 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.189e-05/0.4724, allocations: 11.98 kB / 0.6151 GB, free: 3.934 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.4725, allocations: 30.56 kB / 0.6151 GB, free: 3.895 MB / 426.7 MB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.4725, allocations: 0 / 0.6151 GB, free: 3.895 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007201/0.4732, allocations: 349.1 kB / 0.6155 GB, free: 3.547 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.4733, allocations: 55.41 kB / 0.6155 GB, free: 3.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003445/0.4736, allocations: 334.9 kB / 0.6159 GB, free: 3.148 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.4736, allocations: 29.7 kB / 0.6159 GB, free: 3.113 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.4738, allocations: 168 kB / 0.616 GB, free: 2.945 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.072e-05/0.4738, allocations: 63.17 kB / 0.6161 GB, free: 2.883 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.157e-05/0.4738, allocations: 7.938 kB / 0.6161 GB, free: 2.875 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.474, allocations: 342.8 kB / 0.6164 GB, free: 2.531 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.4742, allocations: 100.4 kB / 0.6165 GB, free: 2.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/0.4745, allocations: 196.7 kB / 0.6167 GB, free: 2.199 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000511/0.475, allocations: 313.8 kB / 0.617 GB, free: 1.855 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.475, allocations: 0 / 0.617 GB, free: 1.855 MB / 426.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006321/0.4757, allocations: 352.8 kB / 0.6174 GB, free: 1.504 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.4757, allocations: 7.984 kB / 0.6174 GB, free: 1.496 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.4757, allocations: 7.938 kB / 0.6174 GB, free: 1.488 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.4758, allocations: 7.938 kB / 0.6174 GB, free: 1.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005642/0.4763, allocations: 132.2 kB / 0.6175 GB, free: 1.352 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/0.4785, allocations: 3.645 MB / 0.6211 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/0.4787, allocations: 43.61 kB / 0.6211 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.626e-05/0.4788, allocations: 16 kB / 0.6211 GB, free: 13.51 MB / 442.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 () * Number of clocked 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 0.0001899/0.479, allocations: 173.8 kB / 0.6213 GB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.686e-05/0.479, allocations: 27.66 kB / 0.6213 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006248/0.4796, allocations: 335.5 kB / 0.6216 GB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.4797, allocations: 4 kB / 0.6216 GB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.4797, allocations: 0 / 0.6216 GB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4797, allocations: 3.938 kB / 0.6216 GB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003816/0.4801, allocations: 297.3 kB / 0.6219 GB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4801, allocations: 0 / 0.6219 GB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004252/0.4805, allocations: 119.9 kB / 0.622 GB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.4805, allocations: 0 / 0.622 GB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.4806, allocations: 11.98 kB / 0.6221 GB, free: 12.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001905/0.4825, allocations: 3.649 MB / 0.6256 GB, free: 8.699 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4825, allocations: 0 / 0.6256 GB, free: 8.699 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005044/0.483, allocations: 361.5 kB / 0.626 GB, free: 8.332 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.566e-05/0.4831, allocations: 104.8 kB / 0.6261 GB, free: 8.211 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.185e-05/0.4831, allocations: 4 kB / 0.6261 GB, free: 8.207 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.4833, allocations: 8 kB / 0.6261 GB, free: 8.199 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.292e-05/0.4834, allocations: 15.97 kB / 0.6261 GB, free: 8.184 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.4834, allocations: 11.94 kB / 0.6261 GB, free: 8.172 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000248/0.4837, allocations: 249.9 kB / 0.6263 GB, free: 7.926 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4837, allocations: 0 / 0.6263 GB, free: 7.926 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004124/0.4841, allocations: 79.84 kB / 0.6264 GB, free: 7.848 MB / 442.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 () * Number of clocked 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.0002869/0.4844, allocations: 147.7 kB / 0.6266 GB, free: 7.695 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008504/0.4852, allocations: 332.2 kB / 0.6269 GB, free: 7.371 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4852, allocations: 4 kB / 0.6269 GB, free: 7.367 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005136/0.4858, allocations: 191.8 kB / 0.6271 GB, free: 7.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.4862, allocations: 64.78 kB / 0.6271 GB, free: 7.113 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.4873, allocations: 0.6355 MB / 0.6277 GB, free: 6.457 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.4877, allocations: 0.7873 MB / 0.6285 GB, free: 5.645 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002089/0.488, allocations: 78.89 kB / 0.6286 GB, free: 5.566 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.236e-05/0.488, allocations: 27.42 kB / 0.6286 GB, free: 5.539 MB / 442.7 MB Notification: Performance of SimCode: time 3.31e-07/0.488, allocations: 0 / 0.6286 GB, free: 5.539 MB / 442.7 MB Notification: Performance of Templates: time 0.009354/0.4974, allocations: 5.165 MB / 0.6337 GB, free: 464 kB / 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/jenkins1/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