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.001032/0.001032, allocations: 98.17 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.0009728/0.0009728, allocations: 187.7 kB / 17.88 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.301/1.301, allocations: 223.2 MB / 241.8 MB, free: 392 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.2293/0.2293, allocations: 44.23 MB / 337.1 MB, free: 2.922 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003754, allocations: 8 kB / 409.5 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1454, allocations: 61.92 MB / 471.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.002426/0.1479, allocations: 1.669 MB / 473.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.1497, allocations: 1.111 MB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.413e-05/0.1498, allocations: 4 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003219/0.1502, allocations: 55.7 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.1503, allocations: 63.81 kB / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005436/0.1508, allocations: 154.5 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003515/0.1512, allocations: 283.3 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1513, allocations: 48.7 kB / 474.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.1515, allocations: 139.3 kB / 475 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.1518, allocations: 143.4 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.263e-05/0.1518, allocations: 12 kB / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004679/0.1523, allocations: 255.7 kB / 475.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.17e-05/0.1524, allocations: 71.72 kB / 475.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.1525, allocations: 85.45 kB / 475.5 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004948/0.153, allocations: 343.4 kB / 475.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.153, allocations: 0 / 475.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.153, allocations: 0 / 475.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.153, allocations: 4 kB / 475.9 MB, free: 9.332 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.001427/0.1545, allocations: 0.6667 MB / 476.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.1545, allocations: 11.97 kB / 476.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.105e-05/0.1546, allocations: 39.53 kB / 476.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004259/0.1551, allocations: 275.4 kB / 476.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.434e-05/0.1551, allocations: 29 kB / 476.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.6e-05/0.1552, allocations: 32 kB / 476.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009423/0.1561, allocations: 0.5768 MB / 477.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.1561, allocations: 0 / 477.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.854e-05/0.1562, allocations: 16 kB / 477.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-05/0.1562, allocations: 20.98 kB / 477.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008235/0.1571, allocations: 435.6 kB / 478 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001941/0.159, allocations: 1.297 MB / 479.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005925/0.1596, allocations: 311.5 kB / 479.6 MB, free: 5.449 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.534e-05/0.1597, allocations: 11.94 kB / 479.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.1597, allocations: 38.56 kB / 479.6 MB, free: 5.391 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 4.488e-06/0.1598, allocations: 0 / 479.6 MB, free: 5.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001446/0.1612, allocations: 0.7502 MB / 480.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.382e-05/0.1613, allocations: 106.9 kB / 480.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005642/0.1619, allocations: 0.4978 MB / 481 MB, free: 3.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.1619, allocations: 25.7 kB / 481 MB, free: 3.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.1621, allocations: 212.2 kB / 481.2 MB, free: 3.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.798e-05/0.1622, allocations: 63.17 kB / 481.3 MB, free: 3.645 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.763e-05/0.1622, allocations: 4 kB / 481.3 MB, free: 3.641 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1623, allocations: 350.8 kB / 481.6 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/0.1627, allocations: 160.1 kB / 481.8 MB, free: 3.129 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003787/0.1631, allocations: 226.6 kB / 482 MB, free: 2.871 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000391/0.1635, allocations: 186.6 kB / 482.2 MB, free: 2.691 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.1635, allocations: 0 / 482.2 MB, free: 2.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009267/0.1644, allocations: 468.6 kB / 482.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.1644, allocations: 4 kB / 482.6 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.766e-05/0.1645, allocations: 35.97 kB / 482.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.1646, allocations: 4 kB / 482.7 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.1648, allocations: 40.22 kB / 482.7 MB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/0.1648, allocations: 11.97 kB / 482.7 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/0.1651, allocations: 63.42 kB / 482.8 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.051e-05/0.1652, allocations: 19.98 kB / 482.8 MB, free: 2.051 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.0002166/0.1654, allocations: 194.2 kB / 483 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.353e-05/0.1655, allocations: 47.47 kB / 483 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000826/0.1663, allocations: 440.7 kB / 483.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.1663, allocations: 7.938 kB / 483.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.1664, allocations: 8 kB / 483.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1664, allocations: 0 / 483.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005776/0.1669, allocations: 373.3 kB / 483.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.687e-05/0.167, allocations: 27.97 kB / 483.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.1672, allocations: 31.97 kB / 483.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1672, allocations: 0 / 483.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.1672, allocations: 15.94 kB / 483.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1672, allocations: 4 kB / 483.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1672, allocations: 0 / 483.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008704/0.1681, allocations: 0.6494 MB / 484.6 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.887e-05/0.1682, allocations: 120.6 kB / 484.7 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.156e-05/0.1683, allocations: 7.984 kB / 484.7 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003111/0.1686, allocations: 27.98 kB / 484.7 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.1687, allocations: 23.97 kB / 484.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/0.1688, allocations: 8 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003526/0.1691, allocations: 359 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1691, allocations: 7.938 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005694/0.1697, allocations: 119.8 kB / 485.2 MB, free: 15.5 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.0003635/0.1701, allocations: 171.1 kB / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009058/0.171, allocations: 0.5809 MB / 486 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.171, allocations: 0 / 486 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004707/0.1715, allocations: 411.8 kB / 486.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005323/0.172, allocations: 89.58 kB / 486.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.1734, allocations: 0.8796 MB / 487.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.1738, allocations: 0.8539 MB / 488.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001564/0.174, allocations: 63.23 kB / 488.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.566e-05/0.174, allocations: 27.42 kB / 488.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.174, allocations: 0 / 488.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of Templates: time 0.01205/0.1861, allocations: 6.948 MB / 495.2 MB, free: 5.41 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","../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