Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.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.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|velocity.3.|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_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|velocity.3.|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_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 111.7 kB / 18.46 MB, free: 4.617 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.001078/0.001078, allocations: 186.1 kB / 19.39 MB, free: 3.695 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.39/1.39, allocations: 222.9 MB / 243.1 MB, free: 15.17 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.2065/0.2065, allocations: 44.18 MB / 337.4 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002345/0.002345, allocations: 63.89 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3724, allocations: 60.82 MB / 0.5196 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent): time 0.002845/0.3753, allocations: 1.903 MB / 0.5214 GB, free: 2.316 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.3768, allocations: 1.092 MB / 0.5225 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.211e-05/0.3769, allocations: 1.156 kB / 0.5225 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.3771, allocations: 44.25 kB / 0.5226 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.3773, allocations: 72.02 kB / 0.5226 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004957/0.3778, allocations: 171.4 kB / 0.5228 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.3781, allocations: 227.4 kB / 0.523 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.803e-05/0.3782, allocations: 15.27 kB / 0.523 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.3783, allocations: 88.27 kB / 0.5231 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.3785, allocations: 99.53 kB / 0.5232 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.939e-05/0.3785, allocations: 9.094 kB / 0.5232 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004051/0.3789, allocations: 237.1 kB / 0.5234 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.466e-05/0.379, allocations: 65.55 kB / 0.5235 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.078e-05/0.3791, allocations: 88.64 kB / 0.5236 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004188/0.3795, allocations: 320.8 kB / 0.5239 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3795, allocations: 0 / 0.5239 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3796, allocations: 1.625 kB / 0.5239 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.3796, allocations: 0 / 0.5239 GB, free: 0.9414 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001/0.3806, allocations: 0.5584 MB / 0.5244 GB, free: 480 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.3806, allocations: 9.172 kB / 0.5244 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.232e-05/0.3807, allocations: 23.78 kB / 0.5245 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.3809, allocations: 223.4 kB / 0.5247 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.3809, allocations: 10.28 kB / 0.5247 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.578e-05/0.381, allocations: 21.95 kB / 0.5247 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005678/0.3816, allocations: 287.1 kB / 0.525 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3816, allocations: 0 / 0.525 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.3816, allocations: 6.094 kB / 0.525 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.273e-05/0.3816, allocations: 15.03 kB / 0.525 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005738/0.3822, allocations: 220.5 kB / 0.5252 GB, free: 40 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.3834, allocations: 0.7672 MB / 0.526 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006033/0.3841, allocations: 234.1 kB / 0.5262 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/0.3844, allocations: 97.12 kB / 0.5263 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.749e-05/0.3844, allocations: 3.594 kB / 0.5263 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.3844, allocations: 40.53 kB / 0.5263 GB, free: 15.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.3844, allocations: 1.375 kB / 0.5263 GB, free: 15.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.000939/0.3854, allocations: 323.3 kB / 0.5266 GB, free: 15.19 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.3855, allocations: 109.2 kB / 0.5267 GB, free: 15.06 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002821/0.3857, allocations: 278.1 kB / 0.527 GB, free: 14.88 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.3858, allocations: 29.7 kB / 0.527 GB, free: 14.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.828e-05/0.3859, allocations: 140 kB / 0.5272 GB, free: 14.71 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.882e-05/0.3859, allocations: 47.84 kB / 0.5272 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.579e-05/0.386, allocations: 37.73 kB / 0.5272 GB, free: 14.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.3861, allocations: 337.2 kB / 0.5276 GB, free: 14.31 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002463/0.3864, allocations: 81.52 kB / 0.5276 GB, free: 14.28 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.3867, allocations: 122.5 kB / 0.5278 GB, free: 14.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005217/0.3872, allocations: 221.9 kB / 0.528 GB, free: 14.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3872, allocations: 0 / 0.528 GB, free: 14.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006657/0.3879, allocations: 263.4 kB / 0.5282 GB, free: 13.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.3879, allocations: 5.5 kB / 0.5282 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.187e-05/0.3879, allocations: 20.05 kB / 0.5282 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.388, allocations: 2.75 kB / 0.5282 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.3882, allocations: 42.12 kB / 0.5283 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.3882, allocations: 2.75 kB / 0.5283 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.3884, allocations: 33.47 kB / 0.5283 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.3885, allocations: 10.88 kB / 0.5283 GB, free: 13.88 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001538/0.3886, allocations: 145 kB / 0.5285 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.247e-05/0.3887, allocations: 23 kB / 0.5285 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004875/0.3892, allocations: 228.8 kB / 0.5287 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3892, allocations: 0 / 0.5287 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-05/0.3892, allocations: 8.344 kB / 0.5287 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.967e-05/0.3893, allocations: 108.3 kB / 0.5288 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.923e-05/0.3894, allocations: 1.562 kB / 0.5288 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/0.3896, allocations: 17.62 kB / 0.5288 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.046e-05/0.3897, allocations: 14.39 kB / 0.5289 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007519/0.3905, allocations: 473.5 kB / 0.5293 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007486/0.3912, allocations: 0.5471 MB / 0.5298 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000294/0.3915, allocations: 89.25 kB / 0.5299 GB, free: 12.63 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002112/0.3918, allocations: 212.2 kB / 0.5301 GB, free: 12.48 MB / 398.1 MB Notification: Performance of Backend: time 5.71e-07/0.3918, allocations: 0 / 0.5301 GB, free: 12.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.3929, allocations: 336.4 kB / 0.5304 GB, free: 12.24 MB / 398.1 MB Notification: Performance of SimCode: time 0.001019/0.394, allocations: 0.9612 MB / 0.5314 GB, free: 11.4 MB / 398.1 MB Notification: Performance of Templates: time 0.008198/0.4022, allocations: 4.387 MB / 0.5357 GB, free: 9.238 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapTurbulent/kc_evenGapTurbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches