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.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 91.27 kB / 17 MB, free: 6.84 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.001139/0.001139, allocations: 186.7 kB / 17.89 MB, free: 6.055 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: 344 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.187/0.187, allocations: 44.25 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002945/0.0002945, allocations: 8 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1456, allocations: 61.92 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.00221/0.1479, allocations: 1.72 MB / 473.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.1497, allocations: 1.154 MB / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.932e-05/0.1498, allocations: 0 / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002519/0.1501, allocations: 59.61 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.1502, allocations: 75.52 kB / 474.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004979/0.1507, allocations: 155 kB / 474.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005104/0.1513, allocations: 465.9 kB / 475.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.794e-05/0.1514, allocations: 44.72 kB / 475.3 MB, free: 10 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.1516, allocations: 143.2 kB / 475.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.1518, allocations: 175.2 kB / 475.6 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.081e-05/0.1518, allocations: 12 kB / 475.6 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004323/0.1523, allocations: 247.6 kB / 475.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.542e-05/0.1524, allocations: 79.61 kB / 475.9 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.257e-05/0.1525, allocations: 81.52 kB / 476 MB, free: 9.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004255/0.1529, allocations: 375.2 kB / 476.4 MB, free: 8.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1529, allocations: 0 / 476.4 MB, free: 8.902 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1529, allocations: 4 kB / 476.4 MB, free: 8.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1529, allocations: 0 / 476.4 MB, free: 8.898 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001159/0.1541, allocations: 0.6667 MB / 477 MB, free: 8.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.1542, allocations: 8.031 kB / 477 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.142e-05/0.1542, allocations: 39.53 kB / 477.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.1546, allocations: 279.4 kB / 477.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.1547, allocations: 29 kB / 477.4 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.658e-05/0.1547, allocations: 47.86 kB / 477.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009428/0.1557, allocations: 0.5691 MB / 478 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.1557, allocations: 0 / 478 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.451e-05/0.1557, allocations: 15.94 kB / 478 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.263e-05/0.1558, allocations: 21 kB / 478 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008014/0.1566, allocations: 435.6 kB / 478.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.1583, allocations: 1.273 MB / 479.7 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005721/0.1589, allocations: 315.5 kB / 480 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003525/0.1593, allocations: 170.4 kB / 480.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.9e-05/0.1593, allocations: 11.95 kB / 480.2 MB, free: 4.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.1594, allocations: 34.56 kB / 480.2 MB, free: 4.797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.823e-06/0.1594, allocations: 4 kB / 480.2 MB, free: 4.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001242/0.1606, allocations: 0.5126 MB / 480.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.044e-05/0.1607, allocations: 118.8 kB / 480.9 MB, free: 4.133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006039/0.1613, allocations: 497.8 kB / 481.4 MB, free: 3.645 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.1614, allocations: 29.7 kB / 481.4 MB, free: 3.609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.1615, allocations: 212.2 kB / 481.6 MB, free: 3.398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.323e-05/0.1616, allocations: 55.2 kB / 481.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.767e-05/0.1617, allocations: 0 / 481.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1618, allocations: 354.9 kB / 482 MB, free: 2.988 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003534/0.1622, allocations: 160 kB / 482.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003719/0.1626, allocations: 238.5 kB / 482.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003716/0.1629, allocations: 182.7 kB / 482.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.163, allocations: 0 / 482.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000905/0.1639, allocations: 464.9 kB / 483 MB, free: 1.922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1639, allocations: 11.97 kB / 483 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.141e-05/0.164, allocations: 39.98 kB / 483.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.164, allocations: 4 kB / 483.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.1642, allocations: 31.97 kB / 483.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.1642, allocations: 11.92 kB / 483.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/0.1645, allocations: 67.42 kB / 483.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.1645, allocations: 16 kB / 483.2 MB, free: 1.742 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].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 (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002227/0.1648, allocations: 202.2 kB / 483.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.712e-05/0.1649, allocations: 39.48 kB / 483.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008438/0.1657, allocations: 444.8 kB / 483.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.1657, allocations: 4 kB / 483.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.1657, allocations: 3.938 kB / 483.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1658, allocations: 0 / 483.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005744/0.1663, allocations: 369.4 kB / 484.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-05/0.1664, allocations: 35.98 kB / 484.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.1666, allocations: 31.97 kB / 484.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.1666, allocations: 11.89 kB / 484.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/0.1666, allocations: 8 kB / 484.3 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.1666, allocations: 4 kB / 484.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.1666, allocations: 3.938 kB / 484.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009964/0.1676, allocations: 0.6227 MB / 485 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.546e-05/0.1677, allocations: 120.6 kB / 485.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.826e-05/0.1678, allocations: 3.953 kB / 485.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.1681, allocations: 27.97 kB / 485.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/0.1682, allocations: 19.98 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/0.1682, allocations: 15.98 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003828/0.1686, allocations: 359.1 kB / 485.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1686, allocations: 0 / 485.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005574/0.1692, allocations: 127.8 kB / 485.6 MB, free: 15.22 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003551/0.1695, allocations: 171.1 kB / 485.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009291/0.1705, allocations: 0.5737 MB / 486.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1705, allocations: 4.062 kB / 486.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005015/0.171, allocations: 415.1 kB / 486.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006755/0.1717, allocations: 85.56 kB / 486.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.1731, allocations: 0.8758 MB / 487.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.1735, allocations: 0.8537 MB / 488.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001732/0.1737, allocations: 63.22 kB / 488.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.243e-05/0.1738, allocations: 31.42 kB / 488.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1738, allocations: 0 / 488.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of Templates: time 0.01246/0.1863, allocations: 7.11 MB / 495.8 MB, free: 4.977 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_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_approxForcedConvection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches