Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001461/0.001461, allocations: 112.7 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0018/0.0018, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2046/0.2046, allocations: 46.09 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 79.88 kB / 482 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3001, allocations: 62.43 MB / 0.5317 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003496/0.3036, allocations: 2.029 MB / 0.5337 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.3056, allocations: 1.161 MB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.3057, allocations: 1.375 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002921/0.306, allocations: 65.36 kB / 0.5349 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.3062, allocations: 73.27 kB / 0.5349 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005273/0.3068, allocations: 178.3 kB / 0.5351 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003398/0.3071, allocations: 322.8 kB / 0.5354 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.281e-05/0.3072, allocations: 28.3 kB / 0.5354 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.3074, allocations: 131 kB / 0.5356 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.3076, allocations: 133.6 kB / 0.5357 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.3076, allocations: 10.06 kB / 0.5357 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003544/0.308, allocations: 214.5 kB / 0.5359 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.207e-05/0.3081, allocations: 73.98 kB / 0.536 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.3082, allocations: 122.4 kB / 0.5361 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005481/0.3088, allocations: 408.1 kB / 0.5365 GB, free: 10.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.3088, allocations: 0 / 0.5365 GB, free: 10.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3088, allocations: 1.219 kB / 0.5365 GB, free: 10.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.3088, allocations: 0 / 0.5365 GB, free: 10.09 MB / 398.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.001095/0.3099, allocations: 0.6254 MB / 0.5371 GB, free: 9.539 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.31, allocations: 8.75 kB / 0.5371 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004062/0.3104, allocations: 63.95 kB / 0.5372 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.3107, allocations: 267.2 kB / 0.5374 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.3107, allocations: 19.62 kB / 0.5374 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.398e-05/0.3108, allocations: 28.94 kB / 0.5375 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006996/0.3115, allocations: 432.4 kB / 0.5379 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.3115, allocations: 3.984 kB / 0.5379 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.3115, allocations: 11.06 kB / 0.5379 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-05/0.3116, allocations: 17.7 kB / 0.5379 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006863/0.3123, allocations: 327 kB / 0.5382 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.3137, allocations: 1.1 MB / 0.5393 GB, free: 7.926 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004926/0.3142, allocations: 241.9 kB / 0.5395 GB, free: 7.777 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.3145, allocations: 111.1 kB / 0.5396 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.26e-05/0.3145, allocations: 11.67 kB / 0.5396 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.3145, allocations: 39.89 kB / 0.5397 GB, free: 7.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.743e-06/0.3146, allocations: 0 / 0.5397 GB, free: 7.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009398/0.3155, allocations: 359.3 kB / 0.54 GB, free: 7.492 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.653e-05/0.3156, allocations: 104.6 kB / 0.5401 GB, free: 7.367 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004086/0.316, allocations: 405.2 kB / 0.5405 GB, free: 7.121 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.316, allocations: 31.05 kB / 0.5405 GB, free: 7.086 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.3162, allocations: 192.9 kB / 0.5407 GB, free: 6.906 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.42e-05/0.3162, allocations: 46.36 kB / 0.5408 GB, free: 6.867 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.3163, allocations: 70.02 kB / 0.5408 GB, free: 6.816 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3165, allocations: 340 kB / 0.5412 GB, free: 6.484 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002871/0.3168, allocations: 118.2 kB / 0.5413 GB, free: 6.438 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003556/0.3171, allocations: 239.4 kB / 0.5415 GB, free: 6.227 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006621/0.3178, allocations: 369.4 kB / 0.5419 GB, free: 5.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.3178, allocations: 2.531 kB / 0.5419 GB, free: 5.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008348/0.3187, allocations: 398.3 kB / 0.5422 GB, free: 5.766 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3187, allocations: 7.469 kB / 0.5422 GB, free: 5.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.493e-05/0.3187, allocations: 29.55 kB / 0.5423 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.3188, allocations: 6.094 kB / 0.5423 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.319, allocations: 48.41 kB / 0.5423 GB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.319, allocations: 13.42 kB / 0.5423 GB, free: 5.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.3193, allocations: 52.33 kB / 0.5424 GB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.3194, allocations: 14.38 kB / 0.5424 GB, free: 5.699 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.0001984/0.3196, allocations: 177.6 kB / 0.5426 GB, free: 5.547 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.3197, allocations: 28.97 kB / 0.5426 GB, free: 5.531 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006217/0.3203, allocations: 291.6 kB / 0.5429 GB, free: 5.371 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3203, allocations: 1.156 kB / 0.5429 GB, free: 5.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.731e-05/0.3204, allocations: 22.17 kB / 0.5429 GB, free: 5.363 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.3205, allocations: 113.3 kB / 0.543 GB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.161e-05/0.3205, allocations: 5.25 kB / 0.543 GB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.3208, allocations: 18.42 kB / 0.543 GB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.246e-05/0.3209, allocations: 15.36 kB / 0.543 GB, free: 5.227 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007873/0.3217, allocations: 494.3 kB / 0.5435 GB, free: 4.871 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007421/0.3225, allocations: 0.5748 MB / 0.5441 GB, free: 4.414 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002803/0.3228, allocations: 111.5 kB / 0.5442 GB, free: 4.363 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003094/0.3231, allocations: 293 kB / 0.5445 GB, free: 4.184 MB / 398.1 MB Notification: Performance of Backend: time 5.21e-07/0.3231, allocations: 0 / 0.5445 GB, free: 4.184 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.3243, allocations: 477.8 kB / 0.5449 GB, free: 3.715 MB / 398.1 MB Notification: Performance of SimCode: time 0.001188/0.3255, allocations: 1.187 MB / 0.5461 GB, free: 2.445 MB / 398.1 MB Notification: Performance of Templates: time 0.0106/0.3361, allocations: 6.46 MB / 0.5524 GB, free: 12.07 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches