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.001243/0.001248, allocations: 109.4 kB / 18.45 MB, free: 4.594 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.001332/0.001332, allocations: 184.3 kB / 19.38 MB, free: 3.672 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.403/1.403, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.2172/0.2172, allocations: 44.2 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 63.91 kB / 471.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.345, allocations: 60.83 MB / 0.5196 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003211/0.3483, allocations: 2.018 MB / 0.5216 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.3499, allocations: 1.07 MB / 0.5226 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.35, allocations: 1.312 kB / 0.5226 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000251/0.3503, allocations: 62.98 kB / 0.5227 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.3505, allocations: 77.14 kB / 0.5228 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00049/0.351, allocations: 162.4 kB / 0.5229 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003531/0.3514, allocations: 323.8 kB / 0.5232 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.657e-05/0.3514, allocations: 37.52 kB / 0.5233 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.3516, allocations: 122.4 kB / 0.5234 GB, free: 1.133 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.3518, allocations: 132.2 kB / 0.5235 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.958e-05/0.3519, allocations: 10.97 kB / 0.5235 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003487/0.3522, allocations: 204.9 kB / 0.5237 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.915e-05/0.3523, allocations: 68.66 kB / 0.5238 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.3524, allocations: 125.4 kB / 0.5239 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000528/0.353, allocations: 390.2 kB / 0.5243 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.353, allocations: 0 / 0.5243 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.353, allocations: 1.531 kB / 0.5243 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.353, allocations: 0 / 0.5243 GB, free: 0.7539 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.001025/0.354, allocations: 0.6274 MB / 0.5249 GB, free: 256 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3541, allocations: 13.69 kB / 0.5249 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.208e-05/0.3542, allocations: 36.2 kB / 0.5249 GB, free: 232 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.3544, allocations: 259.4 kB / 0.5252 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.3544, allocations: 24.31 kB / 0.5252 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/0.3545, allocations: 25.31 kB / 0.5252 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007859/0.3553, allocations: 432 kB / 0.5256 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.3553, allocations: 5.719 kB / 0.5256 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/0.3554, allocations: 10.45 kB / 0.5256 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.194e-05/0.3554, allocations: 19.67 kB / 0.5257 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007448/0.3561, allocations: 322.2 kB / 0.526 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.3576, allocations: 1.096 MB / 0.527 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005001/0.3582, allocations: 247.6 kB / 0.5273 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/0.3585, allocations: 109.3 kB / 0.5274 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.957e-05/0.3585, allocations: 7.125 kB / 0.5274 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.484e-05/0.3586, allocations: 41.28 kB / 0.5274 GB, free: 14.65 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 2.114e-06/0.3586, allocations: 0 / 0.5274 GB, free: 14.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001026/0.3596, allocations: 358 kB / 0.5278 GB, free: 14.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.3597, allocations: 109.3 kB / 0.5279 GB, free: 14.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004207/0.3601, allocations: 400.3 kB / 0.5283 GB, free: 14.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.3601, allocations: 29.7 kB / 0.5283 GB, free: 14.08 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.3603, allocations: 193.7 kB / 0.5285 GB, free: 13.9 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.017e-05/0.3603, allocations: 59.55 kB / 0.5285 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.3605, allocations: 56.78 kB / 0.5286 GB, free: 13.81 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.3606, allocations: 348.8 kB / 0.5289 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002997/0.3609, allocations: 113.3 kB / 0.529 GB, free: 13.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003749/0.3613, allocations: 240.4 kB / 0.5292 GB, free: 13.21 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006974/0.362, allocations: 369.5 kB / 0.5296 GB, free: 12.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.362, allocations: 1.312 kB / 0.5296 GB, free: 12.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008567/0.3629, allocations: 395.4 kB / 0.53 GB, free: 12.76 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.3629, allocations: 11.47 kB / 0.53 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.878e-05/0.3629, allocations: 25.3 kB / 0.53 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.363, allocations: 5.656 kB / 0.53 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.3632, allocations: 48.7 kB / 0.5301 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/0.3632, allocations: 10 kB / 0.5301 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003059/0.3636, allocations: 60.3 kB / 0.5301 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/0.3636, allocations: 21.52 kB / 0.5302 GB, free: 12.68 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.0001812/0.3638, allocations: 175.1 kB / 0.5303 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-05/0.3639, allocations: 28.22 kB / 0.5303 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006275/0.3645, allocations: 299.4 kB / 0.5306 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3645, allocations: 1.094 kB / 0.5306 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.864e-05/0.3646, allocations: 18.28 kB / 0.5307 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.3647, allocations: 113.5 kB / 0.5308 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.183e-05/0.3647, allocations: 1.094 kB / 0.5308 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/0.365, allocations: 18.31 kB / 0.5308 GB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/0.3651, allocations: 15.61 kB / 0.5308 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008024/0.3659, allocations: 490.2 kB / 0.5313 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007532/0.3667, allocations: 0.5874 MB / 0.5318 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003182/0.367, allocations: 100.4 kB / 0.5319 GB, free: 11.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003067/0.3673, allocations: 294.8 kB / 0.5322 GB, free: 11.17 MB / 398.1 MB Notification: Performance of Backend: time 6.51e-07/0.3673, allocations: 0 / 0.5322 GB, free: 11.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.3686, allocations: 465.5 kB / 0.5327 GB, free: 10.81 MB / 398.1 MB Notification: Performance of SimCode: time 0.001193/0.3698, allocations: 1.19 MB / 0.5338 GB, free: 9.785 MB / 398.1 MB Notification: Performance of Templates: time 0.01096/0.3808, allocations: 6.18 MB / 0.5399 GB, free: 6.766 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/jenkins1/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/jenkins1/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