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.001603/0.001603, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.212/1.212, allocations: 227.2 MB / 245 MB, free: 7.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009047/0.0009046, allocations: 98.92 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3105/0.3105, allocations: 45.23 MB / 394.7 MB, free: 31.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002295/0.0002294, allocations: 11.98 kB / 468.4 MB, free: 7.695 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.316, allocations: 63.24 MB / 0.5192 GB, free: 43.68 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1103/0.4263, allocations: 93.84 MB / 0.6108 GB, free: 11.77 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.4265, allocations: 100.2 kB / 0.6109 GB, free: 11.67 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02695/0.4535, allocations: 10.35 MB / 0.6211 GB, free: 1.281 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.4535, allocations: 0 / 0.6211 GB, free: 1.281 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.4536, allocations: 4 kB / 0.6211 GB, free: 1.277 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0006708/0.4542, allocations: 0.5145 MB / 0.6216 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.4543, allocations: 12.03 kB / 0.6216 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.947e-05/0.4544, allocations: 27.62 kB / 0.6216 GB, free: 0.6758 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.4546, allocations: 245 kB / 0.6218 GB, free: 404 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.4547, allocations: 20.56 kB / 0.6219 GB, free: 384 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.4547, allocations: 27.98 kB / 0.6219 GB, free: 356 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005979/0.4553, allocations: 385.2 kB / 0.6222 GB, free: 15.97 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.4553, allocations: 4 kB / 0.6223 GB, free: 15.96 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.4554, allocations: 11.98 kB / 0.6223 GB, free: 15.95 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.264e-05/0.4554, allocations: 28.58 kB / 0.6223 GB, free: 15.93 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006114/0.456, allocations: 414.3 kB / 0.6227 GB, free: 15.52 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.4574, allocations: 0.8968 MB / 0.6236 GB, free: 14.57 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005541/0.4579, allocations: 307.8 kB / 0.6239 GB, free: 14.26 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.458, allocations: 4.062 kB / 0.6239 GB, free: 14.26 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.458, allocations: 38.56 kB / 0.6239 GB, free: 14.21 MB / 442.7 MB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.458, allocations: 0 / 0.6239 GB, free: 14.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007302/0.4588, allocations: 369.3 kB / 0.6242 GB, free: 13.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.4588, allocations: 55.34 kB / 0.6243 GB, free: 13.78 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.4591, allocations: 318.4 kB / 0.6246 GB, free: 13.46 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.4591, allocations: 25.7 kB / 0.6246 GB, free: 13.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.532e-05/0.4592, allocations: 164.2 kB / 0.6248 GB, free: 13.27 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/0.4593, allocations: 51.3 kB / 0.6248 GB, free: 13.22 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.327e-05/0.4593, allocations: 4 kB / 0.6248 GB, free: 13.21 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4594, allocations: 338.8 kB / 0.6252 GB, free: 12.88 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.4596, allocations: 104.3 kB / 0.6253 GB, free: 12.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.4599, allocations: 146.7 kB / 0.6254 GB, free: 12.61 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.4601, allocations: 133.5 kB / 0.6255 GB, free: 12.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.4601, allocations: 4 kB / 0.6255 GB, free: 12.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005396/0.4607, allocations: 325 kB / 0.6258 GB, free: 12.15 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.4607, allocations: 4 kB / 0.6258 GB, free: 12.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.4607, allocations: 0 / 0.6258 GB, free: 12.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.4607, allocations: 4 kB / 0.6258 GB, free: 12.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000541/0.4613, allocations: 111.8 kB / 0.626 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002145/0.4634, allocations: 3.707 MB / 0.6296 GB, free: 8.188 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.4636, allocations: 35.67 kB / 0.6296 GB, free: 8.152 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.4637, allocations: 12 kB / 0.6296 GB, free: 8.141 MB / 442.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 15 * 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.0001902/0.4639, allocations: 177.9 kB / 0.6298 GB, free: 7.957 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.757e-05/0.4639, allocations: 31.66 kB / 0.6298 GB, free: 7.926 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006782/0.4646, allocations: 361.9 kB / 0.6302 GB, free: 7.574 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.4646, allocations: 7.938 kB / 0.6302 GB, free: 7.566 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4646, allocations: 4 kB / 0.6302 GB, free: 7.562 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4646, allocations: 0 / 0.6302 GB, free: 7.562 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003359/0.465, allocations: 301.5 kB / 0.6305 GB, free: 7.219 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.465, allocations: 4 kB / 0.6305 GB, free: 7.215 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004822/0.4655, allocations: 107.9 kB / 0.6306 GB, free: 7.109 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.4655, allocations: 3.953 kB / 0.6306 GB, free: 7.105 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.4655, allocations: 4 kB / 0.6306 GB, free: 7.102 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001967/0.4675, allocations: 3.703 MB / 0.6342 GB, free: 3.258 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4675, allocations: 0 / 0.6342 GB, free: 3.258 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005168/0.468, allocations: 383.6 kB / 0.6346 GB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.66e-05/0.4681, allocations: 108.7 kB / 0.6347 GB, free: 2.742 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.576e-05/0.4682, allocations: 0 / 0.6347 GB, free: 2.742 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.4683, allocations: 15.98 kB / 0.6347 GB, free: 2.727 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.4684, allocations: 15.97 kB / 0.6347 GB, free: 2.711 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.4684, allocations: 8 kB / 0.6347 GB, free: 2.703 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002267/0.4687, allocations: 253.9 kB / 0.6349 GB, free: 2.453 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4687, allocations: 0 / 0.6349 GB, free: 2.453 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003632/0.469, allocations: 76.11 kB / 0.635 GB, free: 2.379 MB / 442.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 9 * 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.0002586/0.4693, allocations: 170.6 kB / 0.6352 GB, free: 2.207 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008041/0.4701, allocations: 305.4 kB / 0.6355 GB, free: 1.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4701, allocations: 0 / 0.6355 GB, free: 1.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005453/0.4707, allocations: 184.1 kB / 0.6356 GB, free: 1.73 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.471, allocations: 60.59 kB / 0.6357 GB, free: 1.672 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009414/0.4719, allocations: 0.6679 MB / 0.6364 GB, free: 0.9805 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.4723, allocations: 0.8066 MB / 0.6371 GB, free: 152 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001629/0.4725, allocations: 62.22 kB / 0.6372 GB, free: 92 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.345e-05/0.4725, allocations: 27.44 kB / 0.6372 GB, free: 68 kB / 442.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4725, allocations: 0 / 0.6372 GB, free: 68 kB / 442.7 MB Notification: Performance of Templates: time 0.008666/0.4812, allocations: 5.288 MB / 0.6424 GB, free: 10.87 MB / 458.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