Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001788/0.001788, allocations: 173.8 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.79/1.79, allocations: 205.4 MB / 222.8 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4791/0.4791, allocations: 43.57 MB / 314.6 MB, free: 8.773 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006485/0.000649, allocations: 19.94 kB / 384 MB, free: 7.973 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1638, allocations: 58.86 MB / 442.8 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002733/0.1666, allocations: 1.829 MB / 444.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.1683, allocations: 1.014 MB / 445.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.244e-05/0.1684, allocations: 0 / 445.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002829/0.1687, allocations: 79.5 kB / 445.8 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003247/0.1691, allocations: 75.45 kB / 445.8 MB, free: 9.988 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.1693, allocations: 95.66 kB / 445.9 MB, free: 9.895 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.1695, allocations: 170.9 kB / 446.1 MB, free: 9.727 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.519e-05/0.1696, allocations: 24.36 kB / 446.1 MB, free: 9.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.1698, allocations: 63.61 kB / 446.2 MB, free: 9.641 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.1699, allocations: 79.56 kB / 446.3 MB, free: 9.562 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.1699, allocations: 4 kB / 446.3 MB, free: 9.559 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000393/0.1703, allocations: 259.6 kB / 446.5 MB, free: 9.305 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.71e-05/0.1704, allocations: 27.78 kB / 446.5 MB, free: 9.277 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.4e-05/0.1705, allocations: 49.64 kB / 446.6 MB, free: 9.223 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.1707, allocations: 211.2 kB / 446.8 MB, free: 9.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.1708, allocations: 3.938 kB / 446.8 MB, free: 9.012 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1708, allocations: 0 / 446.8 MB, free: 9.012 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1708, allocations: 0 / 446.8 MB, free: 9.012 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007451/0.1715, allocations: 482.9 kB / 447.3 MB, free: 8.492 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.1716, allocations: 12.03 kB / 447.3 MB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.456e-05/0.1717, allocations: 27.67 kB / 447.3 MB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.1719, allocations: 210.6 kB / 447.5 MB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.172, allocations: 16.44 kB / 447.5 MB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.396e-05/0.172, allocations: 20 kB / 447.6 MB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000473/0.1725, allocations: 231.2 kB / 447.8 MB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.1725, allocations: 0 / 447.8 MB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.1726, allocations: 12 kB / 447.8 MB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.1726, allocations: 8 kB / 447.8 MB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004634/0.173, allocations: 257.6 kB / 448 MB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.1741, allocations: 0.6118 MB / 448.7 MB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.1744, allocations: 102.5 kB / 448.8 MB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.1745, allocations: 52.94 kB / 448.8 MB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.1746, allocations: 3.938 kB / 448.8 MB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.1746, allocations: 38.56 kB / 448.9 MB, free: 6.789 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.1746, allocations: 0 / 448.9 MB, free: 6.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005574/0.1752, allocations: 181.3 kB / 449 MB, free: 6.605 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.1752, allocations: 55.36 kB / 449.1 MB, free: 6.539 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/0.1756, allocations: 259 kB / 449.3 MB, free: 6.277 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.1756, allocations: 29.7 kB / 449.4 MB, free: 6.242 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.1758, allocations: 175.3 kB / 449.5 MB, free: 6.066 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.1758, allocations: 31.56 kB / 449.6 MB, free: 6.035 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.543e-05/0.1759, allocations: 8 kB / 449.6 MB, free: 6.027 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.176, allocations: 334.8 kB / 449.9 MB, free: 5.691 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.1762, allocations: 51.95 kB / 450 MB, free: 5.641 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.1764, allocations: 156.7 kB / 450.1 MB, free: 5.441 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.1766, allocations: 79.84 kB / 450.2 MB, free: 5.363 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.1766, allocations: 4 kB / 450.2 MB, free: 5.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000456/0.1771, allocations: 245.4 kB / 450.4 MB, free: 5.113 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.1771, allocations: 4 kB / 450.4 MB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.1772, allocations: 4 kB / 450.4 MB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.1772, allocations: 8 kB / 450.4 MB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/0.1776, allocations: 83.89 kB / 450.5 MB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007755/0.1784, allocations: 1.227 MB / 451.8 MB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.1786, allocations: 39.62 kB / 451.8 MB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.1786, allocations: 15.98 kB / 451.8 MB, free: 3.688 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001311/0.1787, allocations: 137.9 kB / 451.9 MB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.1788, allocations: 23.66 kB / 452 MB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004318/0.1792, allocations: 179.6 kB / 452.1 MB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.1792, allocations: 7.984 kB / 452.1 MB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1792, allocations: 0 / 452.1 MB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1792, allocations: 0 / 452.1 MB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000676/0.1799, allocations: 475.9 kB / 452.6 MB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1799, allocations: 0 / 452.6 MB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.1802, allocations: 59.92 kB / 452.7 MB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1802, allocations: 0 / 452.7 MB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.1802, allocations: 8.078 kB / 452.7 MB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007246/0.1809, allocations: 1.215 MB / 453.9 MB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.181, allocations: 3.938 kB / 453.9 MB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004131/0.1814, allocations: 253.1 kB / 454.1 MB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.668e-05/0.1815, allocations: 104.8 kB / 454.2 MB, free: 1.082 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/0.1815, allocations: 4 kB / 454.3 MB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.1816, allocations: 8 kB / 454.3 MB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.174e-05/0.1817, allocations: 15.98 kB / 454.3 MB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.1817, allocations: 4 kB / 454.3 MB, free: 1.051 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002132/0.1819, allocations: 182 kB / 454.5 MB, free: 0.875 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.182, allocations: 0 / 454.5 MB, free: 0.875 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000407/0.1824, allocations: 64 kB / 454.5 MB, free: 0.8125 MB / 382.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003717/0.1827, allocations: 139.1 kB / 454.7 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005492/0.1833, allocations: 187.7 kB / 454.8 MB, free: 492 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1833, allocations: 0 / 454.8 MB, free: 492 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002786/0.1836, allocations: 92.89 kB / 454.9 MB, free: 400 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.184, allocations: 24.84 kB / 455 MB, free: 368 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2633/0.4473, allocations: 465.3 kB / 455.4 MB, free: 46.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.4476, allocations: 0.7326 MB / 456.1 MB, free: 45.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.4477, allocations: 23.64 kB / 456.2 MB, free: 45.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.859e-05/0.4478, allocations: 18.69 kB / 456.2 MB, free: 45.84 MB / 382.1 MB Notification: Performance of SimCode: time 1.613e-06/0.4478, allocations: 0 / 456.2 MB, free: 45.84 MB / 382.1 MB Notification: Performance of Templates: time 0.007446/0.4552, allocations: 3.221 MB / 459.4 MB, free: 45.75 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches