Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009838/0.0009839, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.25/1.25, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008379/0.000838, allocations: 96.69 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1869/0.1869, allocations: 45.16 MB / 383.8 MB, free: 256 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.15e-05/1.154e-05, allocations: 3.125 kB / 453.2 MB, free: 75.8 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09471/0.09473, allocations: 63.25 MB / 0.5044 GB, free: 12.6 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3683/0.4631, allocations: 95.32 MB / 0.5975 GB, free: 7.234 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.4634, allocations: 89.62 kB / 0.5976 GB, free: 7.184 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03038/0.4938, allocations: 12.58 MB / 0.6098 GB, free: 12.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4938, allocations: 4 kB / 0.6098 GB, free: 12.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.4939, allocations: 4 kB / 0.6098 GB, free: 12.43 MB / 410.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.0009132/0.4948, allocations: 0.6559 MB / 0.6105 GB, free: 11.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.4948, allocations: 8.031 kB / 0.6105 GB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003885/0.4952, allocations: 95.34 kB / 0.6106 GB, free: 11.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000393/0.4956, allocations: 296 kB / 0.6109 GB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.4957, allocations: 16 kB / 0.6109 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.816e-05/0.4957, allocations: 24 kB / 0.6109 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005394/0.4963, allocations: 386.2 kB / 0.6113 GB, free: 11.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007372/0.497, allocations: 0.5619 MB / 0.6118 GB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.497, allocations: 0 / 0.6118 GB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/0.4971, allocations: 0 / 0.6118 GB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.635e-05/0.4971, allocations: 29.3 kB / 0.6118 GB, free: 10.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.4989, allocations: 1.374 MB / 0.6132 GB, free: 9.246 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003438/0.4992, allocations: 263.9 kB / 0.6134 GB, free: 8.988 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/0.4994, allocations: 120.3 kB / 0.6136 GB, free: 8.875 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.006e-05/0.4995, allocations: 7.984 kB / 0.6136 GB, free: 8.867 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.4995, allocations: 38.12 kB / 0.6136 GB, free: 8.824 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.4995, allocations: 0 / 0.6136 GB, free: 8.824 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005304/0.5001, allocations: 280.5 kB / 0.6139 GB, free: 8.566 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.5001, allocations: 110.6 kB / 0.614 GB, free: 8.438 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.5003, allocations: 223 kB / 0.6142 GB, free: 8.238 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.5004, allocations: 25.7 kB / 0.6142 GB, free: 8.207 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.5005, allocations: 243.7 kB / 0.6144 GB, free: 7.996 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.349e-05/0.5005, allocations: 67.62 kB / 0.6145 GB, free: 7.938 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.952e-05/0.5006, allocations: 0 / 0.6145 GB, free: 7.938 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.5007, allocations: 341 kB / 0.6148 GB, free: 7.605 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.5009, allocations: 121.8 kB / 0.6149 GB, free: 7.496 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.5011, allocations: 245 kB / 0.6152 GB, free: 7.227 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002264/0.5014, allocations: 155.3 kB / 0.6153 GB, free: 7.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.5014, allocations: 0 / 0.6153 GB, free: 7.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005923/0.502, allocations: 403.8 kB / 0.6157 GB, free: 6.727 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.502, allocations: 8 kB / 0.6157 GB, free: 6.719 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.46e-05/0.5021, allocations: 35.97 kB / 0.6158 GB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.5021, allocations: 8 kB / 0.6158 GB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.5023, allocations: 47.89 kB / 0.6158 GB, free: 6.629 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.5023, allocations: 8.25 kB / 0.6158 GB, free: 6.621 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.5026, allocations: 47.44 kB / 0.6159 GB, free: 6.578 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.35e-05/0.5026, allocations: 16 kB / 0.6159 GB, free: 6.562 MB / 410.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 () * 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.0001054/0.5027, allocations: 124.4 kB / 0.616 GB, free: 6.438 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.723e-05/0.5028, allocations: 19.72 kB / 0.616 GB, free: 6.418 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006918/0.5035, allocations: 407.8 kB / 0.6164 GB, free: 6.051 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.5035, allocations: 4 kB / 0.6164 GB, free: 6.047 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.5036, allocations: 0 / 0.6164 GB, free: 6.047 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5036, allocations: 4 kB / 0.6164 GB, free: 6.043 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004884/0.5041, allocations: 349 kB / 0.6167 GB, free: 5.707 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.925e-05/0.5041, allocations: 35.95 kB / 0.6168 GB, free: 5.672 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.5043, allocations: 35.97 kB / 0.6168 GB, free: 5.637 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.5043, allocations: 0 / 0.6168 GB, free: 5.637 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.5043, allocations: 11.19 kB / 0.6168 GB, free: 5.629 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.5043, allocations: 4 kB / 0.6168 GB, free: 5.625 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5043, allocations: 0 / 0.6168 GB, free: 5.625 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005306/0.5049, allocations: 0.5439 MB / 0.6174 GB, free: 5.078 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.161e-05/0.505, allocations: 101.5 kB / 0.6175 GB, free: 4.961 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.383e-05/0.505, allocations: 4 kB / 0.6175 GB, free: 4.957 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/0.5053, allocations: 20.59 kB / 0.6175 GB, free: 4.938 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.957e-05/0.5053, allocations: 22.17 kB / 0.6175 GB, free: 4.918 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.618e-05/0.5054, allocations: 13.11 kB / 0.6175 GB, free: 4.906 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001388/0.5055, allocations: 169.3 kB / 0.6177 GB, free: 4.766 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5055, allocations: 0 / 0.6177 GB, free: 4.766 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005947/0.5061, allocations: 166.6 kB / 0.6178 GB, free: 4.605 MB / 410.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.0003517/0.5065, allocations: 216.2 kB / 0.618 GB, free: 4.387 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005755/0.5071, allocations: 0.5893 MB / 0.6186 GB, free: 3.758 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5071, allocations: 0.5625 kB / 0.6186 GB, free: 3.758 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003231/0.5074, allocations: 445.3 kB / 0.619 GB, free: 3.266 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.5077, allocations: 28.3 kB / 0.6191 GB, free: 3.246 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.509, allocations: 0.6274 MB / 0.6197 GB, free: 2.625 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.5094, allocations: 0.8725 MB / 0.6205 GB, free: 1.738 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001362/0.5095, allocations: 45.97 kB / 0.6206 GB, free: 1.695 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.481e-05/0.5096, allocations: 19.44 kB / 0.6206 GB, free: 1.676 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5096, allocations: 0 / 0.6206 GB, free: 1.676 MB / 410.7 MB Notification: Performance of Templates: time 0.008253/0.5178, allocations: 4.777 MB / 0.6253 GB, free: 12.95 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches