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.0007692/0.0007734, allocations: 97 kB / 17 MB, free: 6.039 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.000769/0.0007691, allocations: 182.1 kB / 17.89 MB, free: 5.637 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.342/1.342, allocations: 223.2 MB / 241.9 MB, free: 316 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.2094/0.2094, allocations: 44.25 MB / 337.3 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003324, allocations: 8 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1259, allocations: 61.93 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.00247/0.1285, allocations: 1.652 MB / 473.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.1297, allocations: 0.7367 MB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.643e-05/0.1298, allocations: 4 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002707/0.1301, allocations: 51.72 kB / 474.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000316/0.1304, allocations: 111.5 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.1306, allocations: 59.8 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004211/0.1311, allocations: 378.4 kB / 474.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.477e-05/0.1312, allocations: 32.38 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.1313, allocations: 111.4 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002398/0.1316, allocations: 155.4 kB / 474.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.1316, allocations: 8 kB / 474.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002468/0.1319, allocations: 115.8 kB / 475 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.414e-05/0.132, allocations: 71.66 kB / 475.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.651e-05/0.1321, allocations: 65.58 kB / 475.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003474/0.1324, allocations: 247.5 kB / 475.4 MB, free: 9.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.1324, allocations: 4 kB / 475.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.1325, allocations: 0 / 475.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.1325, allocations: 0 / 475.4 MB, free: 9.875 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.0009359/0.1334, allocations: 0.5107 MB / 475.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.1335, allocations: 8.031 kB / 475.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.425e-05/0.1336, allocations: 39.59 kB / 476 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.1339, allocations: 243.2 kB / 476.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.1339, allocations: 20.56 kB / 476.2 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/0.134, allocations: 20 kB / 476.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006485/0.1346, allocations: 409.1 kB / 476.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1346, allocations: 0 / 476.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.99e-05/0.1347, allocations: 12 kB / 476.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-05/0.1347, allocations: 28.58 kB / 476.7 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007345/0.1355, allocations: 418.3 kB / 477.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.1369, allocations: 0.8735 MB / 478 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006087/0.1376, allocations: 302 kB / 478.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/0.1378, allocations: 104.8 kB / 478.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.592e-05/0.1378, allocations: 8.062 kB / 478.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.1378, allocations: 38.5 kB / 478.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.1379, allocations: 0 / 478.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007625/0.1386, allocations: 376.9 kB / 478.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.1387, allocations: 55.41 kB / 478.8 MB, free: 6.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004126/0.1391, allocations: 347.3 kB / 479.2 MB, free: 5.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.1391, allocations: 25.7 kB / 479.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.1393, allocations: 168.1 kB / 479.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.591e-05/0.1393, allocations: 55.2 kB / 479.4 MB, free: 5.672 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.193e-05/0.1393, allocations: 4 kB / 479.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1395, allocations: 338.8 kB / 479.7 MB, free: 5.328 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/0.1397, allocations: 104.3 kB / 479.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.14, allocations: 154.6 kB / 480 MB, free: 5.055 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.1402, allocations: 114.7 kB / 480.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1402, allocations: 4 kB / 480.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005585/0.1408, allocations: 320.9 kB / 480.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.1408, allocations: 12.12 kB / 480.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1408, allocations: 4 kB / 480.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.1408, allocations: 4 kB / 480.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005165/0.1414, allocations: 119.9 kB / 480.6 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/0.1437, allocations: 3.703 MB / 484.3 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.1438, allocations: 39.7 kB / 484.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.1439, allocations: 8 kB / 484.3 MB, free: 0.5938 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.0001966/0.1441, allocations: 177.7 kB / 484.5 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.868e-05/0.1441, allocations: 27.91 kB / 484.5 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006855/0.1448, allocations: 359.2 kB / 484.9 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.1448, allocations: 3.984 kB / 484.9 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.1449, allocations: 7.953 kB / 484.9 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1449, allocations: 7.938 kB / 484.9 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003583/0.1452, allocations: 309.4 kB / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1452, allocations: 0 / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004649/0.1457, allocations: 111.9 kB / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.1457, allocations: 3.984 kB / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.1458, allocations: 7.984 kB / 485.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002048/0.1478, allocations: 3.7 MB / 489 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.1478, allocations: 3.953 kB / 489 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005461/0.1484, allocations: 382.5 kB / 489.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-05/0.1485, allocations: 108.8 kB / 489.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/0.1485, allocations: 0 / 489.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.1487, allocations: 15.98 kB / 489.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.713e-05/0.1488, allocations: 19.94 kB / 489.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.1488, allocations: 4 kB / 489.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002986/0.1491, allocations: 257.9 kB / 489.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1491, allocations: 0 / 489.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003931/0.1495, allocations: 67.91 kB / 489.8 MB, free: 10.82 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.0002823/0.1498, allocations: 131.3 kB / 490 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009491/0.1507, allocations: 328 kB / 490.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1508, allocations: 0 / 490.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006019/0.1514, allocations: 207.7 kB / 490.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.1518, allocations: 56.62 kB / 490.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.1529, allocations: 0.6648 MB / 491.2 MB, free: 9.414 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.1533, allocations: 0.7988 MB / 492 MB, free: 8.586 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001572/0.1534, allocations: 74.2 kB / 492.1 MB, free: 8.516 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.058e-05/0.1535, allocations: 19.44 kB / 492.1 MB, free: 8.496 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1535, allocations: 0 / 492.1 MB, free: 8.496 MB / 366.1 MB Notification: Performance of Templates: time 0.009736/0.1632, allocations: 4.864 MB / 497 MB, free: 3.711 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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