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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001025/0.001025, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001037/0.001037, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.202/0.202, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 74.44 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.111, allocations: 62.44 MB / 481.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.002932/0.114, allocations: 2.019 MB / 483.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.1153, allocations: 0.8295 MB / 484.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.637e-05/0.1154, allocations: 7.938 kB / 484.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002626/0.1156, allocations: 59.66 kB / 484.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002979/0.1159, allocations: 123.4 kB / 484.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.1162, allocations: 67.72 kB / 484.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003347/0.1165, allocations: 314.5 kB / 484.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.007e-05/0.1166, allocations: 32.38 kB / 484.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.1168, allocations: 131.4 kB / 485 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.117, allocations: 147.3 kB / 485.2 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.117, allocations: 8 kB / 485.2 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002303/0.1173, allocations: 131.8 kB / 485.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.234e-05/0.1174, allocations: 63.73 kB / 485.4 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.1175, allocations: 115.2 kB / 485.5 MB, free: 488 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003537/0.1178, allocations: 346.7 kB / 485.8 MB, free: 140 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1179, allocations: 4 kB / 485.8 MB, free: 136 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1179, allocations: 0 / 485.8 MB, free: 136 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1179, allocations: 0 / 485.8 MB, free: 136 kB / 350.1 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.0007594/0.1186, allocations: 0.5498 MB / 486.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.1187, allocations: 12.03 kB / 486.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.106e-05/0.1187, allocations: 28.56 kB / 486.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.119, allocations: 248.4 kB / 486.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.119, allocations: 28.42 kB / 486.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.25e-05/0.1191, allocations: 28 kB / 486.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005757/0.1197, allocations: 397.2 kB / 487.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1197, allocations: 0 / 487.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/0.1197, allocations: 11.98 kB / 487.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.163e-05/0.1198, allocations: 28.64 kB / 487.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000649/0.1204, allocations: 406.3 kB / 487.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.1217, allocations: 0.8734 MB / 488.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005269/0.1222, allocations: 270.3 kB / 488.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.1224, allocations: 96.7 kB / 488.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.1225, allocations: 4 kB / 488.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.1225, allocations: 34.56 kB / 488.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.283e-06/0.1225, allocations: 0 / 488.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006919/0.1232, allocations: 333.1 kB / 489.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.1232, allocations: 55.41 kB / 489.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.1236, allocations: 351.2 kB / 489.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.1236, allocations: 33.64 kB / 489.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.647e-05/0.1237, allocations: 160.2 kB / 489.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.1238, allocations: 55.36 kB / 489.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.629e-05/0.1238, allocations: 45.7 kB / 489.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.124, allocations: 346.7 kB / 490.2 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.1242, allocations: 91.91 kB / 490.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/0.1244, allocations: 149.8 kB / 490.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004039/0.1248, allocations: 252 kB / 490.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1248, allocations: 0 / 490.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005066/0.1253, allocations: 300.9 kB / 490.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.1254, allocations: 8 kB / 490.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1254, allocations: 0 / 490.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1254, allocations: 8.188 kB / 491 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004957/0.1259, allocations: 111.9 kB / 491.1 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/0.1277, allocations: 3.672 MB / 494.7 MB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.1279, allocations: 39.61 kB / 494.8 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.128, allocations: 8 kB / 494.8 MB, free: 6.773 MB / 366.1 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 (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001673/0.1281, allocations: 176.8 kB / 495 MB, free: 6.594 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-05/0.1282, allocations: 27.66 kB / 495 MB, free: 6.566 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006171/0.1288, allocations: 337.7 kB / 495.3 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.1288, allocations: 4 kB / 495.3 MB, free: 6.223 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1288, allocations: 0 / 495.3 MB, free: 6.223 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.1288, allocations: 3.984 kB / 495.3 MB, free: 6.219 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003296/0.1292, allocations: 305.3 kB / 495.6 MB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1292, allocations: 0 / 495.6 MB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004518/0.1296, allocations: 107.9 kB / 495.7 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.1297, allocations: 0 / 495.7 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.1297, allocations: 11.98 kB / 495.7 MB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001836/0.1315, allocations: 3.668 MB / 499.4 MB, free: 1.945 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1315, allocations: 0 / 499.4 MB, free: 1.945 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004905/0.132, allocations: 347.3 kB / 499.7 MB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.094e-05/0.1321, allocations: 108.8 kB / 499.9 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.714e-05/0.1322, allocations: 0 / 499.9 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.1323, allocations: 11.98 kB / 499.9 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/0.1324, allocations: 15.98 kB / 499.9 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.1324, allocations: 4 kB / 499.9 MB, free: 1.434 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002474/0.1327, allocations: 261.9 kB / 0.4884 GB, free: 1.184 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1327, allocations: 0 / 0.4884 GB, free: 1.184 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003593/0.133, allocations: 79.95 kB / 0.4885 GB, free: 1.105 MB / 366.1 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 (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002115/0.1333, allocations: 131.1 kB / 0.4886 GB, free: 0.9688 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008255/0.1341, allocations: 299.7 kB / 0.4889 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1341, allocations: 0 / 0.4889 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005703/0.1347, allocations: 195.1 kB / 0.4891 GB, free: 500 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.1351, allocations: 60.55 kB / 0.4891 GB, free: 440 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009224/0.136, allocations: 0.5765 MB / 0.4897 GB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.1364, allocations: 0.8064 MB / 0.4905 GB, free: 15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001449/0.1365, allocations: 66.2 kB / 0.4906 GB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.046e-05/0.1366, allocations: 27.44 kB / 0.4906 GB, free: 14.91 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1366, allocations: 0 / 0.4906 GB, free: 14.91 MB / 382.1 MB Notification: Performance of Templates: time 0.008695/0.1453, allocations: 5.293 MB / 0.4958 GB, free: 9.688 MB / 382.1 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 -s gbode -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/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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