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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 106.8 kB / 18.45 MB, free: 4.699 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.001277/0.001277, allocations: 187.1 kB / 19.38 MB, free: 3.773 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.347/1.347, allocations: 222.9 MB / 243.1 MB, free: 15.15 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.2088/0.2088, allocations: 44.19 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3629, allocations: 60.82 MB / 0.5196 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002774/0.3657, allocations: 1.881 MB / 0.5214 GB, free: 2.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.3669, allocations: 0.8044 MB / 0.5222 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.867e-05/0.367, allocations: 1.219 kB / 0.5222 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002321/0.3672, allocations: 54.41 kB / 0.5223 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002691/0.3675, allocations: 88.91 kB / 0.5223 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.3678, allocations: 70.98 kB / 0.5224 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002829/0.3681, allocations: 262.2 kB / 0.5227 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.967e-05/0.3681, allocations: 31.08 kB / 0.5227 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.3683, allocations: 104 kB / 0.5228 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.3685, allocations: 115.3 kB / 0.5229 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.3685, allocations: 6.438 kB / 0.5229 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002669/0.3688, allocations: 120.2 kB / 0.523 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.3689, allocations: 66.66 kB / 0.5231 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.369, allocations: 101.6 kB / 0.5232 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004149/0.3694, allocations: 316 kB / 0.5235 GB, free: 1.195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3695, allocations: 1.406 kB / 0.5235 GB, free: 1.195 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.3695, allocations: 0 / 0.5235 GB, free: 1.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.3695, allocations: 0 / 0.5235 GB, free: 1.195 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0007155/0.3702, allocations: 0.5519 MB / 0.524 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.3702, allocations: 8.719 kB / 0.524 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.043e-05/0.3703, allocations: 34.64 kB / 0.5241 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.3705, allocations: 244.2 kB / 0.5243 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.3706, allocations: 19.12 kB / 0.5243 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.3706, allocations: 28 kB / 0.5243 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005863/0.3712, allocations: 378.1 kB / 0.5247 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3712, allocations: 0 / 0.5247 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.3712, allocations: 5.828 kB / 0.5247 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.042e-05/0.3713, allocations: 28.14 kB / 0.5247 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006103/0.3719, allocations: 380.2 kB / 0.5251 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/0.3733, allocations: 0.8401 MB / 0.5259 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004931/0.3738, allocations: 253.4 kB / 0.5262 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.374, allocations: 97.27 kB / 0.5263 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.723e-05/0.3741, allocations: 14.16 kB / 0.5263 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.3741, allocations: 39.62 kB / 0.5263 GB, free: 15.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.844e-06/0.3741, allocations: 0 / 0.5263 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007579/0.3749, allocations: 325.8 kB / 0.5266 GB, free: 15.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.3749, allocations: 54.16 kB / 0.5267 GB, free: 15.4 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003329/0.3753, allocations: 342.8 kB / 0.527 GB, free: 15.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.3753, allocations: 29.7 kB / 0.527 GB, free: 15.15 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.3754, allocations: 171.3 kB / 0.5272 GB, free: 14.99 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.657e-05/0.3755, allocations: 59.72 kB / 0.5272 GB, free: 14.94 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.433e-05/0.3756, allocations: 66.62 kB / 0.5273 GB, free: 14.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3757, allocations: 335.1 kB / 0.5276 GB, free: 14.56 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.3759, allocations: 94.22 kB / 0.5277 GB, free: 14.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/0.3762, allocations: 197.3 kB / 0.5279 GB, free: 14.36 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004831/0.3767, allocations: 310.2 kB / 0.5282 GB, free: 14.15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3767, allocations: 1.125 kB / 0.5282 GB, free: 14.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000665/0.3774, allocations: 347.4 kB / 0.5285 GB, free: 13.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3774, allocations: 5.656 kB / 0.5285 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3774, allocations: 3.062 kB / 0.5285 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.3774, allocations: 5.406 kB / 0.5285 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005722/0.378, allocations: 122.7 kB / 0.5287 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/0.3802, allocations: 3.654 MB / 0.5322 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.3805, allocations: 52.77 kB / 0.5323 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/0.3805, allocations: 15.72 kB / 0.5323 GB, free: 10.26 MB / 398.1 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 (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002535/0.3808, allocations: 178 kB / 0.5325 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/0.3808, allocations: 23.45 kB / 0.5325 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007009/0.3815, allocations: 328 kB / 0.5328 GB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3815, allocations: 0 / 0.5328 GB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3815, allocations: 1.125 kB / 0.5328 GB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.266e-05/0.3816, allocations: 106 kB / 0.5329 GB, free: 9.801 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.615e-05/0.3817, allocations: 13 kB / 0.5329 GB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.3819, allocations: 4.719 kB / 0.5329 GB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.417e-05/0.3819, allocations: 18.53 kB / 0.5329 GB, free: 9.777 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001097/0.3831, allocations: 488.2 kB / 0.5334 GB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000767/0.3838, allocations: 0.5387 MB / 0.5339 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002025/0.384, allocations: 100.7 kB / 0.534 GB, free: 9.082 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002468/0.3843, allocations: 249.9 kB / 0.5343 GB, free: 8.922 MB / 398.1 MB Notification: Performance of Backend: time 6.21e-07/0.3843, allocations: 0 / 0.5343 GB, free: 8.922 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.3855, allocations: 346.9 kB / 0.5346 GB, free: 8.746 MB / 398.1 MB Notification: Performance of SimCode: time 0.001223/0.3867, allocations: 1.052 MB / 0.5356 GB, free: 7.891 MB / 398.1 MB Notification: Performance of Templates: time 0.01112/0.3978, allocations: 5.744 MB / 0.5412 GB, free: 5.121 MB / 398.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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