Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009036/0.0009037, allocations: 95.34 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008735/0.0008736, allocations: 184 kB / 17.87 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.2 MB / 241.8 MB, free: 368 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.208/0.208, allocations: 44.22 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003184, allocations: 8 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.125, allocations: 61.93 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.002117/0.1272, allocations: 1.607 MB / 473.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.1282, allocations: 0.7213 MB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.237e-05/0.1283, allocations: 4 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002613/0.1286, allocations: 47.8 kB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002394/0.1288, allocations: 91.7 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.1291, allocations: 55.48 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.1293, allocations: 187.6 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.824e-05/0.1294, allocations: 40.36 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.1296, allocations: 95.56 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.1297, allocations: 107.5 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.1298, allocations: 4 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000226/0.13, allocations: 119.9 kB / 474.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.802e-05/0.1301, allocations: 67.75 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.8e-05/0.1302, allocations: 57.58 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002491/0.1304, allocations: 215.7 kB / 474.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1304, allocations: 4 kB / 474.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.1304, allocations: 0 / 474.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.1305, allocations: 0 / 474.9 MB, free: 10.31 MB / 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.0008187/0.1313, allocations: 0.5184 MB / 475.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.1313, allocations: 8.031 kB / 475.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.717e-05/0.1314, allocations: 31.62 kB / 475.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.1317, allocations: 249.3 kB / 475.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.1318, allocations: 16.56 kB / 475.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-05/0.1318, allocations: 27.98 kB / 475.7 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006585/0.1325, allocations: 393.2 kB / 476.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1325, allocations: 4 kB / 476.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.1325, allocations: 8 kB / 476.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.769e-05/0.1326, allocations: 32.62 kB / 476.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007199/0.1333, allocations: 414.3 kB / 476.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.1347, allocations: 0.8891 MB / 477.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005784/0.1353, allocations: 302.2 kB / 477.7 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/0.1353, allocations: 0 / 477.7 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.1354, allocations: 42.55 kB / 477.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.1354, allocations: 0 / 477.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007709/0.1362, allocations: 380.1 kB / 478.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.1362, allocations: 55.36 kB / 478.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003314/0.1365, allocations: 347.2 kB / 478.5 MB, free: 6.457 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.1366, allocations: 33.7 kB / 478.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.1367, allocations: 156.2 kB / 478.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.1367, allocations: 59.2 kB / 478.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.061e-05/0.1368, allocations: 0 / 478.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1369, allocations: 338.8 kB / 479.1 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/0.1371, allocations: 104.3 kB / 479.2 MB, free: 5.762 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.1373, allocations: 158.7 kB / 479.4 MB, free: 5.586 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.1376, allocations: 123.8 kB / 479.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1376, allocations: 0 / 479.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005394/0.1381, allocations: 313.2 kB / 479.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1382, allocations: 12.03 kB / 479.8 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1382, allocations: 0 / 479.8 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1382, allocations: 4 kB / 479.8 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005448/0.1387, allocations: 115.8 kB / 479.9 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00181/0.1406, allocations: 3.711 MB / 483.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.1408, allocations: 31.67 kB / 483.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.1408, allocations: 15.98 kB / 483.7 MB, free: 1.125 MB / 350.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 (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.0001895/0.141, allocations: 183.9 kB / 483.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.86e-05/0.141, allocations: 23.72 kB / 483.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006441/0.1417, allocations: 359.1 kB / 484.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.1417, allocations: 4 kB / 484.2 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1417, allocations: 7.953 kB / 484.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.1417, allocations: 0 / 484.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.1421, allocations: 297.5 kB / 484.5 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1421, allocations: 0 / 484.5 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004802/0.1426, allocations: 115.9 kB / 484.7 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1426, allocations: 0 / 484.7 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.1426, allocations: 7.984 kB / 484.7 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001886/0.1445, allocations: 3.703 MB / 488.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.1445, allocations: 7.891 kB / 488.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005315/0.145, allocations: 382 kB / 488.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.191e-05/0.1451, allocations: 108.8 kB / 488.9 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.1452, allocations: 0 / 488.9 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.1453, allocations: 12 kB / 488.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.1454, allocations: 15.97 kB / 488.9 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.1454, allocations: 11.95 kB / 488.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00024/0.1457, allocations: 257.9 kB / 489.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1457, allocations: 0 / 489.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003509/0.146, allocations: 72.03 kB / 489.2 MB, free: 11.36 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 (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.0002271/0.1463, allocations: 135.1 kB / 489.3 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008888/0.1472, allocations: 324 kB / 489.7 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1472, allocations: 4 kB / 489.7 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000601/0.1478, allocations: 207.7 kB / 489.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.1481, allocations: 56.56 kB / 489.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009106/0.149, allocations: 0.6653 MB / 490.6 MB, free: 9.949 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.1494, allocations: 0.8066 MB / 491.4 MB, free: 9.113 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001416/0.1495, allocations: 66.22 kB / 491.5 MB, free: 9.051 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.775e-05/0.1496, allocations: 19.44 kB / 491.5 MB, free: 9.031 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1496, allocations: 0 / 491.5 MB, free: 9.031 MB / 366.1 MB Notification: Performance of Templates: time 0.007815/0.1574, allocations: 4.737 MB / 496.2 MB, free: 4.367 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches