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_overall.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,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.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.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_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,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.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.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_overall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 178.4 kB / 18.09 MB, free: 3.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 223.3 MB / 242.1 MB, free: 9.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000813/0.0008129, allocations: 94.25 kB / 293.3 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3249/0.3249, allocations: 44.15 MB / 388.5 MB, free: 38.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003603, allocations: 12 kB / 461.1 MB, free: 1.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3229, allocations: 61.89 MB / 0.5107 GB, free: 37.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1116/0.4345, allocations: 100.5 MB / 0.6089 GB, free: 10.57 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.4348, allocations: 99.92 kB / 0.609 GB, free: 10.48 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06383/0.4987, allocations: 24.65 MB / 0.633 GB, free: 1.621 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4987, allocations: 3.938 kB / 0.633 GB, free: 1.617 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.829e-05/0.4987, allocations: 12 kB / 0.633 GB, free: 1.605 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001305/0.5001, allocations: 0.7567 MB / 0.6338 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.5001, allocations: 8.031 kB / 0.6338 GB, free: 0.7891 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.5002, allocations: 60.28 kB / 0.6338 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004173/0.5007, allocations: 319.9 kB / 0.6342 GB, free: 388 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.74e-05/0.5007, allocations: 41.69 kB / 0.6342 GB, free: 344 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.552e-05/0.5008, allocations: 52.38 kB / 0.6342 GB, free: 292 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.5019, allocations: 0.778 MB / 0.635 GB, free: 15.49 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.502, allocations: 192 / 0.635 GB, free: 15.49 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.608e-05/0.502, allocations: 27.94 kB / 0.635 GB, free: 15.46 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.709e-05/0.5021, allocations: 33.23 kB / 0.6351 GB, free: 15.43 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009498/0.503, allocations: 0.5672 MB / 0.6356 GB, free: 14.86 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002233/0.5053, allocations: 1.676 MB / 0.6373 GB, free: 13.12 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000551/0.5058, allocations: 311.6 kB / 0.6375 GB, free: 12.79 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/0.5062, allocations: 166.4 kB / 0.6377 GB, free: 12.62 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.862e-05/0.5062, allocations: 8 kB / 0.6377 GB, free: 12.61 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.5063, allocations: 42.48 kB / 0.6378 GB, free: 12.55 MB / 458.7 MB Notification: Performance of pre-optimization done (n=20): time 1.794e-06/0.5063, allocations: 4 kB / 0.6378 GB, free: 12.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=20): time 0.001219/0.5075, allocations: 0.5337 MB / 0.6383 GB, free: 12.01 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.5076, allocations: 110.8 kB / 0.6384 GB, free: 11.88 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006923/0.5083, allocations: 0.6275 MB / 0.639 GB, free: 11.25 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.5083, allocations: 29.7 kB / 0.639 GB, free: 11.21 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.5085, allocations: 283.5 kB / 0.6393 GB, free: 10.93 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.155e-05/0.5086, allocations: 75 kB / 0.6394 GB, free: 10.86 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.5086, allocations: 16.03 kB / 0.6394 GB, free: 10.84 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.5088, allocations: 358.8 kB / 0.6397 GB, free: 10.48 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003941/0.5092, allocations: 200.9 kB / 0.6399 GB, free: 10.28 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005873/0.5098, allocations: 473.4 kB / 0.6404 GB, free: 9.691 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.5108, allocations: 0.6999 MB / 0.6411 GB, free: 8.863 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.5108, allocations: 4 kB / 0.6411 GB, free: 8.859 MB / 458.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001249/0.5121, allocations: 0.7105 MB / 0.6418 GB, free: 8.145 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.5121, allocations: 8.781 kB / 0.6418 GB, free: 8.137 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.899e-05/0.5122, allocations: 48 kB / 0.6418 GB, free: 8.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/0.5122, allocations: 19.98 kB / 0.6418 GB, free: 8.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002808/0.5125, allocations: 79.83 kB / 0.6419 GB, free: 7.992 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.955e-05/0.5126, allocations: 27.8 kB / 0.6419 GB, free: 7.965 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003834/0.5129, allocations: 87.2 kB / 0.642 GB, free: 7.879 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-05/0.513, allocations: 39.98 kB / 0.642 GB, free: 7.84 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,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 (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002543/0.5133, allocations: 253.5 kB / 0.6423 GB, free: 7.582 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.761e-05/0.5134, allocations: 43.44 kB / 0.6423 GB, free: 7.539 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009091/0.5143, allocations: 479 kB / 0.6428 GB, free: 7.062 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.5143, allocations: 7.984 kB / 0.6428 GB, free: 7.055 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.5143, allocations: 7.938 kB / 0.6428 GB, free: 7.047 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.5143, allocations: 7.984 kB / 0.6428 GB, free: 7.039 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005853/0.5149, allocations: 409.2 kB / 0.6432 GB, free: 6.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.103e-05/0.515, allocations: 43.98 kB / 0.6432 GB, free: 6.547 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.5152, allocations: 27.97 kB / 0.6433 GB, free: 6.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.5152, allocations: 4 kB / 0.6433 GB, free: 6.516 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/0.5152, allocations: 15.98 kB / 0.6433 GB, free: 6.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.5152, allocations: 0 / 0.6433 GB, free: 6.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5152, allocations: 3.938 kB / 0.6433 GB, free: 6.496 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008297/0.5161, allocations: 0.644 MB / 0.6439 GB, free: 5.836 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.5162, allocations: 144.3 kB / 0.6441 GB, free: 5.676 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.886e-05/0.5163, allocations: 4 kB / 0.6441 GB, free: 5.672 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002835/0.5165, allocations: 31.97 kB / 0.6441 GB, free: 5.641 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.957e-05/0.5166, allocations: 23.92 kB / 0.6441 GB, free: 5.617 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/0.5167, allocations: 15.98 kB / 0.6441 GB, free: 5.602 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004456/0.5171, allocations: 446.7 kB / 0.6446 GB, free: 5.168 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5171, allocations: 0 / 0.6446 GB, free: 5.168 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007963/0.5179, allocations: 191.9 kB / 0.6447 GB, free: 4.98 MB / 458.7 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004831/0.5184, allocations: 288.2 kB / 0.645 GB, free: 4.695 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.5195, allocations: 0.7676 MB / 0.6458 GB, free: 3.855 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5195, allocations: 4.062 kB / 0.6458 GB, free: 3.852 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005216/0.52, allocations: 492.2 kB / 0.6462 GB, free: 3.297 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007179/0.5208, allocations: 116.9 kB / 0.6464 GB, free: 3.188 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.5224, allocations: 1.102 MB / 0.6474 GB, free: 2.047 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.5228, allocations: 0.8974 MB / 0.6483 GB, free: 1.125 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002808/0.5231, allocations: 124.5 kB / 0.6484 GB, free: 1.004 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.3e-05/0.5232, allocations: 31.44 kB / 0.6485 GB, free: 0.9727 MB / 458.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5232, allocations: 4 kB / 0.6485 GB, free: 0.9688 MB / 458.7 MB Notification: Performance of Templates: time 0.017/0.5402, allocations: 10.43 MB / 0.6586 GB, free: 6.652 MB / 474.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall/kc_overall.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches