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.001041/0.001041, allocations: 179.8 kB / 14.15 MB, free: 1.176 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.236/1.236, allocations: 221.3 MB / 236 MB, free: 2.961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 83.73 kB / 287 MB, free: 260 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1693/0.1693, allocations: 44.16 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.62e-05/2.623e-05, allocations: 8.219 kB / 451.9 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1123, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3622/0.4745, allocations: 100.3 MB / 0.5997 GB, free: 4.98 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/0.4749, allocations: 91.94 kB / 0.5998 GB, free: 4.891 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06272/0.5376, allocations: 24.69 MB / 0.6239 GB, free: 12.01 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.058e-06/0.5377, allocations: 4 kB / 0.6239 GB, free: 12.01 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.5377, allocations: 4 kB / 0.6239 GB, free: 12 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.001255/0.5389, allocations: 0.7325 MB / 0.6246 GB, free: 11.23 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.539, allocations: 8.031 kB / 0.6246 GB, free: 11.22 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.759e-05/0.5391, allocations: 55.34 kB / 0.6247 GB, free: 11.16 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004659/0.5396, allocations: 322.2 kB / 0.625 GB, free: 10.81 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.679e-05/0.5396, allocations: 37.31 kB / 0.625 GB, free: 10.77 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.617e-05/0.5397, allocations: 52 kB / 0.6251 GB, free: 10.72 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009739/0.5407, allocations: 0.7268 MB / 0.6258 GB, free: 9.977 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.5407, allocations: 0 / 0.6258 GB, free: 9.977 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.701e-05/0.5408, allocations: 28 kB / 0.6258 GB, free: 9.949 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.361e-05/0.5408, allocations: 29.3 kB / 0.6258 GB, free: 9.918 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006749/0.5415, allocations: 0.4891 MB / 0.6263 GB, free: 9.426 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002169/0.5437, allocations: 1.688 MB / 0.628 GB, free: 7.672 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003956/0.5441, allocations: 275.6 kB / 0.6282 GB, free: 7.375 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.5443, allocations: 118.5 kB / 0.6283 GB, free: 7.25 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.687e-05/0.5443, allocations: 23.86 kB / 0.6284 GB, free: 7.227 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.5444, allocations: 34.56 kB / 0.6284 GB, free: 7.184 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 1.653e-06/0.5444, allocations: 0 / 0.6284 GB, free: 7.184 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006139/0.545, allocations: 324.9 kB / 0.6287 GB, free: 6.859 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.5451, allocations: 102.8 kB / 0.6288 GB, free: 6.734 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006167/0.5457, allocations: 0.5706 MB / 0.6294 GB, free: 6.152 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.5457, allocations: 25.7 kB / 0.6294 GB, free: 6.121 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.5459, allocations: 287.4 kB / 0.6297 GB, free: 5.832 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.726e-05/0.546, allocations: 75 kB / 0.6297 GB, free: 5.758 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.546, allocations: 12 kB / 0.6297 GB, free: 5.746 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.5462, allocations: 362.7 kB / 0.6301 GB, free: 5.383 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/0.5465, allocations: 165.1 kB / 0.6303 GB, free: 5.219 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004506/0.5469, allocations: 429.5 kB / 0.6307 GB, free: 4.672 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003854/0.5473, allocations: 236.9 kB / 0.6309 GB, free: 4.441 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.5473, allocations: 4 kB / 0.6309 GB, free: 4.438 MB / 442.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009369/0.5483, allocations: 0.6305 MB / 0.6315 GB, free: 3.801 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.5483, allocations: 8 kB / 0.6315 GB, free: 3.793 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.095e-05/0.5484, allocations: 43.97 kB / 0.6316 GB, free: 3.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/0.5484, allocations: 16.78 kB / 0.6316 GB, free: 3.734 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003014/0.5487, allocations: 83.81 kB / 0.6317 GB, free: 3.652 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.824e-05/0.5488, allocations: 15.94 kB / 0.6317 GB, free: 3.637 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003912/0.5492, allocations: 95.19 kB / 0.6318 GB, free: 3.543 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.8e-05/0.5492, allocations: 32 kB / 0.6318 GB, free: 3.512 MB / 442.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 () * 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.0001284/0.5493, allocations: 159.8 kB / 0.6319 GB, free: 3.348 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.5495, allocations: 51.34 kB / 0.632 GB, free: 3.297 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007767/0.5502, allocations: 450.5 kB / 0.6324 GB, free: 2.852 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.5503, allocations: 7.984 kB / 0.6324 GB, free: 2.844 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5503, allocations: 4 kB / 0.6324 GB, free: 2.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.5503, allocations: 0 / 0.6324 GB, free: 2.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005362/0.5508, allocations: 417.1 kB / 0.6328 GB, free: 2.383 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.938e-05/0.5509, allocations: 39.97 kB / 0.6329 GB, free: 2.344 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.551, allocations: 31.97 kB / 0.6329 GB, free: 2.312 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.5511, allocations: 4 kB / 0.6329 GB, free: 2.309 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/0.5511, allocations: 11.98 kB / 0.6329 GB, free: 2.297 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.5511, allocations: 0 / 0.6329 GB, free: 2.297 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5511, allocations: 0 / 0.6329 GB, free: 2.297 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006231/0.5517, allocations: 0.5967 MB / 0.6335 GB, free: 1.672 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.5519, allocations: 128.4 kB / 0.6336 GB, free: 1.527 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.975e-05/0.5519, allocations: 4 kB / 0.6336 GB, free: 1.523 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003087/0.5523, allocations: 31.97 kB / 0.6337 GB, free: 1.492 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.197e-05/0.5523, allocations: 23.97 kB / 0.6337 GB, free: 1.469 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.621e-05/0.5524, allocations: 15.94 kB / 0.6337 GB, free: 1.453 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004265/0.5528, allocations: 441.5 kB / 0.6341 GB, free: 1.023 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5528, allocations: 0 / 0.6341 GB, free: 1.023 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007613/0.5536, allocations: 195.9 kB / 0.6343 GB, free: 0.832 MB / 442.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 () * 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.0004802/0.5541, allocations: 285.6 kB / 0.6346 GB, free: 0.543 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007381/0.5548, allocations: 0.6891 MB / 0.6352 GB, free: 15.78 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5548, allocations: 0 / 0.6352 GB, free: 15.78 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003434/0.5552, allocations: 462.8 kB / 0.6357 GB, free: 15.26 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005208/0.5557, allocations: 115.4 kB / 0.6358 GB, free: 15.15 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.557, allocations: 0.7528 MB / 0.6365 GB, free: 14.37 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.5575, allocations: 0.913 MB / 0.6374 GB, free: 13.43 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002922/0.5578, allocations: 128.5 kB / 0.6375 GB, free: 13.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.879e-05/0.5578, allocations: 35.42 kB / 0.6376 GB, free: 13.26 MB / 458.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5579, allocations: 0 / 0.6376 GB, free: 13.26 MB / 458.7 MB Notification: Performance of Templates: time 0.01529/0.5731, allocations: 10.22 MB / 0.6476 GB, free: 3.129 MB / 458.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/jenkins/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