Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.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.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001143/0.001143, allocations: 198.1 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.294/1.294, allocations: 225.6 MB / 234.8 MB, free: 3.195 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009179/0.0009179, allocations: 97.75 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1902/0.1902, allocations: 45.15 MB / 383.8 MB, free: 204 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.574e-05/1.607e-05, allocations: 4 kB / 453.2 MB, free: 75.78 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1055, allocations: 63.25 MB / 0.5044 GB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3693/0.4749, allocations: 93.11 MB / 0.5953 GB, free: 9.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.4752, allocations: 88.69 kB / 0.5954 GB, free: 9.379 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02738/0.5026, allocations: 10.24 MB / 0.6054 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.757e-06/0.5027, allocations: 3.938 kB / 0.6054 GB, free: 0.793 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.5027, allocations: 7.938 kB / 0.6054 GB, free: 0.7852 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0007809/0.5035, allocations: 0.4913 MB / 0.6059 GB, free: 272 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.5035, allocations: 12.02 kB / 0.6059 GB, free: 260 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.481e-05/0.5036, allocations: 31.62 kB / 0.6059 GB, free: 228 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.504, allocations: 245.2 kB / 0.6062 GB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.504, allocations: 8 kB / 0.6062 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.843e-05/0.504, allocations: 16 kB / 0.6062 GB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005036/0.5046, allocations: 337.9 kB / 0.6065 GB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004932/0.5051, allocations: 329.9 kB / 0.6068 GB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.5051, allocations: 0 / 0.6068 GB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.5051, allocations: 0 / 0.6068 GB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-05/0.5052, allocations: 32.64 kB / 0.6069 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.5065, allocations: 0.7881 MB / 0.6076 GB, free: 14.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004184/0.5069, allocations: 311.1 kB / 0.6079 GB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.5071, allocations: 102.6 kB / 0.608 GB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.5071, allocations: 7.984 kB / 0.608 GB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.5071, allocations: 34.06 kB / 0.6081 GB, free: 14.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.323e-06/0.5072, allocations: 0.8438 kB / 0.6081 GB, free: 14.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004552/0.5076, allocations: 249 kB / 0.6083 GB, free: 14.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.5077, allocations: 55.41 kB / 0.6083 GB, free: 13.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.5078, allocations: 165.3 kB / 0.6085 GB, free: 13.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.5078, allocations: 25.7 kB / 0.6085 GB, free: 13.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.975e-05/0.5079, allocations: 162.7 kB / 0.6087 GB, free: 13.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.36e-05/0.508, allocations: 69.67 kB / 0.6088 GB, free: 13.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.363e-05/0.508, allocations: 0 / 0.6088 GB, free: 13.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.5082, allocations: 322.4 kB / 0.6091 GB, free: 13.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.5083, allocations: 98.03 kB / 0.6092 GB, free: 13.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.5085, allocations: 144.9 kB / 0.6093 GB, free: 13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.5086, allocations: 114.8 kB / 0.6094 GB, free: 12.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5087, allocations: 0 / 0.6094 GB, free: 12.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004166/0.5091, allocations: 291.3 kB / 0.6097 GB, free: 12.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.5091, allocations: 13.14 kB / 0.6097 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.5091, allocations: 4 kB / 0.6097 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.5091, allocations: 0 / 0.6097 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005839/0.5097, allocations: 115.5 kB / 0.6098 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/0.5118, allocations: 3.727 MB / 0.6134 GB, free: 8.695 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.512, allocations: 15.89 kB / 0.6135 GB, free: 8.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.512, allocations: 8 kB / 0.6135 GB, free: 8.672 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (25): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001483/0.5122, allocations: 121 kB / 0.6136 GB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/0.5122, allocations: 19.77 kB / 0.6136 GB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005748/0.5128, allocations: 326.9 kB / 0.6139 GB, free: 8.242 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.5128, allocations: 4 kB / 0.6139 GB, free: 8.238 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.5129, allocations: 3.953 kB / 0.6139 GB, free: 8.234 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.5129, allocations: 0 / 0.6139 GB, free: 8.234 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003781/0.5133, allocations: 281.8 kB / 0.6142 GB, free: 7.949 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.5133, allocations: 4.109 kB / 0.6142 GB, free: 7.945 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005119/0.5138, allocations: 119.4 kB / 0.6143 GB, free: 7.832 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-06/0.5138, allocations: 4 kB / 0.6143 GB, free: 7.828 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.5138, allocations: 0 / 0.6143 GB, free: 7.828 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001985/0.5158, allocations: 3.726 MB / 0.618 GB, free: 4.012 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.5158, allocations: 3.953 kB / 0.618 GB, free: 4.008 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004297/0.5163, allocations: 353 kB / 0.6183 GB, free: 3.676 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.5163, allocations: 88.92 kB / 0.6184 GB, free: 3.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.5164, allocations: 3.984 kB / 0.6184 GB, free: 3.566 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.5165, allocations: 8 kB / 0.6184 GB, free: 3.559 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.101e-05/0.5166, allocations: 23.06 kB / 0.6184 GB, free: 3.539 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.5166, allocations: 4 kB / 0.6184 GB, free: 3.535 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001083/0.5168, allocations: 119 kB / 0.6185 GB, free: 3.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5168, allocations: 0 / 0.6185 GB, free: 3.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004087/0.5172, allocations: 87.12 kB / 0.6186 GB, free: 3.348 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003054/0.5175, allocations: 181.2 kB / 0.6188 GB, free: 3.168 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000703/0.5182, allocations: 279.4 kB / 0.619 GB, free: 2.918 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5182, allocations: 4 kB / 0.6191 GB, free: 2.914 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004785/0.5187, allocations: 172.3 kB / 0.6192 GB, free: 2.762 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.5189, allocations: 15.69 kB / 0.6192 GB, free: 2.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007589/0.5197, allocations: 397.9 kB / 0.6196 GB, free: 2.359 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.5201, allocations: 0.8088 MB / 0.6204 GB, free: 1.527 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001772/0.5203, allocations: 57.12 kB / 0.6205 GB, free: 1.469 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.696e-05/0.5203, allocations: 19.42 kB / 0.6205 GB, free: 1.453 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5203, allocations: 0 / 0.6205 GB, free: 1.453 MB / 410.7 MB Notification: Performance of Templates: time 0.00657/0.5269, allocations: 3.381 MB / 0.6238 GB, free: 14.13 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection_KC/kc_approxForcedConvection_KC.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches