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_laminar.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_laminar,tolerance=1e-07,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_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,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_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 177 kB / 17.06 MB, free: 5.094 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.306/1.306, allocations: 223.2 MB / 241 MB, free: 11.89 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.0008505/0.0008503, allocations: 92.14 kB / 292.1 MB, free: 10.95 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.3272/0.3272, allocations: 44.21 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003096, allocations: 8 kB / 459.9 MB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3687, allocations: 61.89 MB / 0.5096 GB, free: 37.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1221/0.4909, allocations: 94.99 MB / 0.6023 GB, free: 152 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.4913, allocations: 103.7 kB / 0.6024 GB, free: 56 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03296/0.5242, allocations: 12.62 MB / 0.6148 GB, free: 3.246 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5243, allocations: 3.938 kB / 0.6148 GB, free: 3.242 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.098e-05/0.5243, allocations: 4 kB / 0.6148 GB, free: 3.238 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001201/0.5255, allocations: 0.6783 MB / 0.6154 GB, free: 2.512 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.5256, allocations: 8.031 kB / 0.6154 GB, free: 2.504 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.5257, allocations: 47.44 kB / 0.6155 GB, free: 2.457 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004766/0.5262, allocations: 298.9 kB / 0.6158 GB, free: 2.125 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.942e-05/0.5263, allocations: 33 kB / 0.6158 GB, free: 2.094 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.643e-05/0.5263, allocations: 44 kB / 0.6158 GB, free: 2.051 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.5274, allocations: 0.6636 MB / 0.6165 GB, free: 1.367 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.5275, allocations: 4 kB / 0.6165 GB, free: 1.363 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.514e-05/0.5275, allocations: 24 kB / 0.6165 GB, free: 1.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.05e-05/0.5275, allocations: 24.98 kB / 0.6165 GB, free: 1.316 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009541/0.5285, allocations: 0.4956 MB / 0.617 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002448/0.531, allocations: 1.539 MB / 0.6185 GB, free: 15.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005788/0.5316, allocations: 315.5 kB / 0.6188 GB, free: 14.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.215e-05/0.5316, allocations: 15.84 kB / 0.6188 GB, free: 14.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.5317, allocations: 42.5 kB / 0.6189 GB, free: 14.81 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 2.494e-06/0.5317, allocations: 0 / 0.6189 GB, free: 14.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.001391/0.5331, allocations: 0.756 MB / 0.6196 GB, free: 14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.123e-05/0.5332, allocations: 102.8 kB / 0.6197 GB, free: 13.87 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000596/0.5338, allocations: 0.4891 MB / 0.6202 GB, free: 13.38 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.5338, allocations: 29.7 kB / 0.6202 GB, free: 13.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.534, allocations: 220.1 kB / 0.6204 GB, free: 13.12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.392e-05/0.534, allocations: 70.98 kB / 0.6205 GB, free: 13.05 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/0.5341, allocations: 12 kB / 0.6205 GB, free: 13.04 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.5342, allocations: 350.8 kB / 0.6209 GB, free: 12.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/0.5346, allocations: 168.1 kB / 0.621 GB, free: 12.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004058/0.535, allocations: 287.8 kB / 0.6213 GB, free: 12.18 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/0.5354, allocations: 203.8 kB / 0.6215 GB, free: 11.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.5355, allocations: 3.953 kB / 0.6215 GB, free: 11.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000991/0.5365, allocations: 0.5238 MB / 0.622 GB, free: 11.45 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.5365, allocations: 12.03 kB / 0.622 GB, free: 11.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-05/0.5366, allocations: 35.97 kB / 0.622 GB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.5366, allocations: 4 kB / 0.622 GB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.5369, allocations: 47.89 kB / 0.6221 GB, free: 11.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.5369, allocations: 8 kB / 0.6221 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003633/0.5373, allocations: 71.36 kB / 0.6222 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.426e-05/0.5373, allocations: 23.98 kB / 0.6222 GB, free: 11.25 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 21 * 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.0002616/0.5376, allocations: 209.6 kB / 0.6224 GB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.5377, allocations: 47.48 kB / 0.6224 GB, free: 10.99 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009008/0.5386, allocations: 469.5 kB / 0.6229 GB, free: 10.53 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.5386, allocations: 4 kB / 0.6229 GB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.5386, allocations: 3.984 kB / 0.6229 GB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.5387, allocations: 3.984 kB / 0.6229 GB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006143/0.5393, allocations: 385.2 kB / 0.6233 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-05/0.5393, allocations: 39.95 kB / 0.6233 GB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.5395, allocations: 39.86 kB / 0.6233 GB, free: 10.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.5395, allocations: 4 kB / 0.6233 GB, free: 10.01 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.5396, allocations: 16 kB / 0.6234 GB, free: 9.992 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5396, allocations: 0 / 0.6234 GB, free: 9.992 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.5396, allocations: 3.984 kB / 0.6234 GB, free: 9.988 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008875/0.5405, allocations: 0.6471 MB / 0.624 GB, free: 9.312 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.5407, allocations: 124.5 kB / 0.6241 GB, free: 9.172 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.32e-05/0.5407, allocations: 11.95 kB / 0.6241 GB, free: 9.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002995/0.541, allocations: 31.97 kB / 0.6242 GB, free: 9.129 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.436e-05/0.5411, allocations: 23.91 kB / 0.6242 GB, free: 9.105 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/0.5412, allocations: 12 kB / 0.6242 GB, free: 9.094 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004215/0.5416, allocations: 391 kB / 0.6246 GB, free: 8.711 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5416, allocations: 0 / 0.6246 GB, free: 8.711 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006616/0.5423, allocations: 143.8 kB / 0.6247 GB, free: 8.57 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 () * 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.0004487/0.5427, allocations: 201.4 kB / 0.6249 GB, free: 8.367 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009682/0.5437, allocations: 0.6845 MB / 0.6256 GB, free: 7.609 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5437, allocations: 0 / 0.6256 GB, free: 7.609 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004885/0.5442, allocations: 492.2 kB / 0.626 GB, free: 7.055 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000537/0.5448, allocations: 110 kB / 0.6261 GB, free: 6.945 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.5464, allocations: 0.9912 MB / 0.6271 GB, free: 5.922 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004264/0.5468, allocations: 0.874 MB / 0.628 GB, free: 5.02 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002208/0.547, allocations: 91.27 kB / 0.628 GB, free: 4.926 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.169e-05/0.5471, allocations: 27.44 kB / 0.6281 GB, free: 4.898 MB / 442.7 MB Notification: Performance of SimCode: time 1.753e-06/0.5471, allocations: 0 / 0.6281 GB, free: 4.898 MB / 442.7 MB Notification: Performance of Templates: time 0.01339/0.5605, allocations: 8.246 MB / 0.6361 GB, free: 12.77 MB / 458.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches