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.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 109.5 kB / 17.78 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001265, allocations: 188 kB / 18.71 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2634/0.2634, allocations: 44.17 MB / 336.7 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.88 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4778/0.4791, allocations: 60.83 MB / 0.5189 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.005183/0.4844, allocations: 2.005 MB / 0.5209 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.4865, allocations: 1.074 MB / 0.5219 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.4867, allocations: 2.375 kB / 0.5219 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003683/0.487, allocations: 58.52 kB / 0.522 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002959/0.4874, allocations: 78.7 kB / 0.5221 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006454/0.4881, allocations: 155.5 kB / 0.5222 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004544/0.4885, allocations: 323.3 kB / 0.5225 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.116e-05/0.4886, allocations: 33.11 kB / 0.5226 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.4888, allocations: 120.2 kB / 0.5227 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002154/0.4891, allocations: 138.6 kB / 0.5228 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.664e-05/0.4891, allocations: 10.88 kB / 0.5228 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004206/0.4895, allocations: 198.4 kB / 0.523 GB, free: 1.023 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.4897, allocations: 73.47 kB / 0.5231 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.4898, allocations: 121.6 kB / 0.5232 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006324/0.4904, allocations: 389 kB / 0.5236 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.4905, allocations: 0 / 0.5236 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4905, allocations: 0 / 0.5236 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.4905, allocations: 4 kB / 0.5236 GB, free: 0.7695 MB / 382.1 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.001137/0.4916, allocations: 0.6218 MB / 0.5242 GB, free: 280 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.4917, allocations: 9.156 kB / 0.5242 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.281e-05/0.4918, allocations: 32.58 kB / 0.5242 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.4921, allocations: 259.7 kB / 0.5245 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.4921, allocations: 22.31 kB / 0.5245 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.937e-05/0.4922, allocations: 30.19 kB / 0.5245 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000917/0.4931, allocations: 433.5 kB / 0.5249 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.4931, allocations: 0 / 0.5249 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.064e-05/0.4932, allocations: 13.75 kB / 0.5249 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.863e-05/0.4932, allocations: 21.22 kB / 0.525 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008541/0.4941, allocations: 326.2 kB / 0.5253 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001721/0.4958, allocations: 1.091 MB / 0.5263 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005193/0.4964, allocations: 246.9 kB / 0.5266 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002818/0.4967, allocations: 114.8 kB / 0.5267 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.266e-05/0.4967, allocations: 4.156 kB / 0.5267 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.4967, allocations: 36.16 kB / 0.5267 GB, free: 14.7 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.4968, allocations: 0 / 0.5267 GB, free: 14.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001014/0.4978, allocations: 357.6 kB / 0.5271 GB, free: 14.53 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/0.4978, allocations: 113.6 kB / 0.5272 GB, free: 14.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004562/0.4983, allocations: 404.9 kB / 0.5276 GB, free: 14.15 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.4983, allocations: 33.7 kB / 0.5276 GB, free: 14.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.4985, allocations: 189.5 kB / 0.5278 GB, free: 13.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.109e-05/0.4985, allocations: 54.31 kB / 0.5278 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.4987, allocations: 58.5 kB / 0.5279 GB, free: 13.85 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.4988, allocations: 343 kB / 0.5282 GB, free: 13.51 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/0.4991, allocations: 117.5 kB / 0.5283 GB, free: 13.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003798/0.4995, allocations: 240.7 kB / 0.5285 GB, free: 13.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000683/0.5002, allocations: 369.9 kB / 0.5289 GB, free: 12.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.5002, allocations: 1.5 kB / 0.5289 GB, free: 12.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008746/0.5011, allocations: 395.3 kB / 0.5293 GB, free: 12.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.5011, allocations: 7.031 kB / 0.5293 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.774e-05/0.5012, allocations: 29.03 kB / 0.5293 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.5012, allocations: 6.844 kB / 0.5293 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.5014, allocations: 47.73 kB / 0.5294 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.5015, allocations: 10.03 kB / 0.5294 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/0.5018, allocations: 60.09 kB / 0.5294 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.5018, allocations: 17.81 kB / 0.5294 GB, free: 12.72 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002042/0.502, allocations: 181.8 kB / 0.5296 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.762e-05/0.5021, allocations: 28.84 kB / 0.5296 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000676/0.5028, allocations: 284.2 kB / 0.5299 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.5028, allocations: 2.312 kB / 0.5299 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.5029, allocations: 5.156 kB / 0.5299 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.5029, allocations: 1.062 kB / 0.5299 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005219/0.5034, allocations: 305.3 kB / 0.5302 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-05/0.5034, allocations: 19.5 kB / 0.5302 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.5036, allocations: 22.81 kB / 0.5303 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.5036, allocations: 2.406 kB / 0.5303 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.5036, allocations: 12.64 kB / 0.5303 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.5036, allocations: 1.062 kB / 0.5303 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.5037, allocations: 9.125 kB / 0.5303 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000759/0.5044, allocations: 0.489 MB / 0.5308 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.5045, allocations: 112.2 kB / 0.5309 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.801e-05/0.5046, allocations: 10.45 kB / 0.5309 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002561/0.5049, allocations: 17.42 kB / 0.5309 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.668e-05/0.5049, allocations: 21.02 kB / 0.5309 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.505, allocations: 6.062 kB / 0.5309 GB, free: 11.58 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003393/0.5053, allocations: 291.5 kB / 0.5312 GB, free: 11.4 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5053, allocations: 0 / 0.5312 GB, free: 11.4 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006028/0.5059, allocations: 91.09 kB / 0.5313 GB, free: 11.39 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003337/0.5063, allocations: 169.4 kB / 0.5314 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009104/0.5072, allocations: 436.1 kB / 0.5319 GB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5072, allocations: 0 / 0.5319 GB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003851/0.5076, allocations: 270.3 kB / 0.5321 GB, free: 10.72 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006125/0.5082, allocations: 74.02 kB / 0.5322 GB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.5096, allocations: 0.5998 MB / 0.5328 GB, free: 10.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.51, allocations: 0.7972 MB / 0.5335 GB, free: 9.566 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001993/0.5102, allocations: 71.2 kB / 0.5336 GB, free: 9.535 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.484e-05/0.5103, allocations: 21.56 kB / 0.5336 GB, free: 9.527 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.5103, allocations: 0 / 0.5336 GB, free: 9.527 MB / 398.1 MB Notification: Performance of Templates: time 0.01083/0.5211, allocations: 5.84 MB / 0.5393 GB, free: 6.613 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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_turbulent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches