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.000858/0.0008581, allocations: 183 kB / 18.09 MB, free: 3.625 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.279/1.279, allocations: 223.3 MB / 242.1 MB, free: 10.01 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.0007811/0.000781, allocations: 97.42 kB / 293.3 MB, free: 10.58 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.3267/0.3267, allocations: 44.14 MB / 388.5 MB, free: 38.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.000379, allocations: 12 kB / 461.1 MB, free: 1.332 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3642, allocations: 61.89 MB / 0.5108 GB, free: 37.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1208/0.485, allocations: 95 MB / 0.6035 GB, free: 72 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003852/0.4854, allocations: 104 kB / 0.6036 GB, free: 15.97 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03203/0.5175, allocations: 12.63 MB / 0.616 GB, free: 3.156 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5175, allocations: 0 / 0.616 GB, free: 3.156 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.5176, allocations: 4 kB / 0.616 GB, free: 3.152 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.0009796/0.5186, allocations: 0.6785 MB / 0.6166 GB, free: 2.422 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.5186, allocations: 8.031 kB / 0.6166 GB, free: 2.414 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.807e-05/0.5187, allocations: 52.31 kB / 0.6167 GB, free: 2.363 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.5191, allocations: 300 kB / 0.617 GB, free: 2.031 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.378e-05/0.5191, allocations: 29.38 kB / 0.617 GB, free: 2.004 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.908e-05/0.5192, allocations: 44.38 kB / 0.617 GB, free: 1.961 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.5202, allocations: 0.6719 MB / 0.6177 GB, free: 1.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.5202, allocations: 192 / 0.6177 GB, free: 1.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.281e-05/0.5203, allocations: 27.94 kB / 0.6177 GB, free: 1.242 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.84e-05/0.5203, allocations: 28.98 kB / 0.6178 GB, free: 1.215 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008917/0.5212, allocations: 0.4956 MB / 0.6182 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002145/0.5234, allocations: 1.511 MB / 0.6197 GB, free: 15.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005583/0.5239, allocations: 311.6 kB / 0.62 GB, free: 14.81 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/0.5243, allocations: 158.5 kB / 0.6202 GB, free: 14.64 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.025e-05/0.5243, allocations: 15.91 kB / 0.6202 GB, free: 14.63 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.5244, allocations: 38.56 kB / 0.6202 GB, free: 14.58 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.5244, allocations: 0 / 0.6202 GB, free: 14.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.001195/0.5256, allocations: 0.5253 MB / 0.6207 GB, free: 14.05 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.5257, allocations: 106.8 kB / 0.6208 GB, free: 13.92 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006126/0.5263, allocations: 0.537 MB / 0.6214 GB, free: 13.38 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.5263, allocations: 25.7 kB / 0.6214 GB, free: 13.35 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.5265, allocations: 235.9 kB / 0.6216 GB, free: 13.11 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.92e-05/0.5265, allocations: 71.08 kB / 0.6217 GB, free: 13.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.776e-05/0.5266, allocations: 4 kB / 0.6217 GB, free: 13.04 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.5267, allocations: 354.7 kB / 0.622 GB, free: 12.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003504/0.5271, allocations: 176.1 kB / 0.6222 GB, free: 12.51 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004226/0.5275, allocations: 283.7 kB / 0.6224 GB, free: 12.18 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007828/0.5283, allocations: 476.9 kB / 0.6229 GB, free: 11.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.5283, allocations: 4 kB / 0.6229 GB, free: 11.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009994/0.5293, allocations: 0.5144 MB / 0.6234 GB, free: 11.13 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.5294, allocations: 12.09 kB / 0.6234 GB, free: 11.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.997e-05/0.5294, allocations: 39.98 kB / 0.6235 GB, free: 11.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.5295, allocations: 8 kB / 0.6235 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.5297, allocations: 47.91 kB / 0.6235 GB, free: 11.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.5297, allocations: 11.92 kB / 0.6235 GB, free: 11.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003255/0.5301, allocations: 79.3 kB / 0.6236 GB, free: 10.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-05/0.5301, allocations: 23.98 kB / 0.6236 GB, free: 10.91 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.0002263/0.5304, allocations: 217.5 kB / 0.6238 GB, free: 10.69 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.5305, allocations: 35.53 kB / 0.6239 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008337/0.5313, allocations: 464.9 kB / 0.6243 GB, free: 10.19 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.5313, allocations: 4 kB / 0.6243 GB, free: 10.19 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5313, allocations: 0 / 0.6243 GB, free: 10.19 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.5314, allocations: 7.938 kB / 0.6243 GB, free: 10.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005476/0.5319, allocations: 381.3 kB / 0.6247 GB, free: 9.758 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.823e-05/0.532, allocations: 36 kB / 0.6247 GB, free: 9.723 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.5321, allocations: 31.97 kB / 0.6247 GB, free: 9.691 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.5321, allocations: 4 kB / 0.6248 GB, free: 9.688 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.18e-05/0.5322, allocations: 15.98 kB / 0.6248 GB, free: 9.672 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.5322, allocations: 0 / 0.6248 GB, free: 9.672 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5322, allocations: 0 / 0.6248 GB, free: 9.672 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008558/0.5331, allocations: 0.6442 MB / 0.6254 GB, free: 9.012 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.5332, allocations: 124.5 kB / 0.6255 GB, free: 8.871 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.821e-05/0.5333, allocations: 4 kB / 0.6255 GB, free: 8.867 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/0.5335, allocations: 27.97 kB / 0.6255 GB, free: 8.84 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.236e-05/0.5336, allocations: 31.91 kB / 0.6256 GB, free: 8.809 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.5337, allocations: 15.94 kB / 0.6256 GB, free: 8.793 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004137/0.5341, allocations: 391 kB / 0.626 GB, free: 8.41 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5341, allocations: 0 / 0.626 GB, free: 8.41 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006013/0.5347, allocations: 135.9 kB / 0.6261 GB, free: 8.277 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.000386/0.5351, allocations: 208.9 kB / 0.6263 GB, free: 8.066 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009209/0.536, allocations: 0.6883 MB / 0.627 GB, free: 7.305 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5361, allocations: 0 / 0.627 GB, free: 7.305 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005032/0.5366, allocations: 0.4885 MB / 0.6274 GB, free: 6.742 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007096/0.5373, allocations: 105.4 kB / 0.6275 GB, free: 6.645 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.5389, allocations: 0.9912 MB / 0.6285 GB, free: 5.617 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/0.5394, allocations: 0.8623 MB / 0.6294 GB, free: 4.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002349/0.5396, allocations: 91.28 kB / 0.6294 GB, free: 4.641 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.294e-05/0.5397, allocations: 27.44 kB / 0.6295 GB, free: 4.613 MB / 442.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5397, allocations: 0 / 0.6295 GB, free: 4.613 MB / 442.7 MB Notification: Performance of Templates: time 0.01498/0.5547, allocations: 8.591 MB / 0.6379 GB, free: 12.14 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/jenkins1/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