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.00139/0.00139, allocations: 96.14 kB / 15.87 MB, free: 16 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.001436/0.001436, allocations: 206.3 kB / 16.79 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.551/1.551, allocations: 205.1 MB / 222.6 MB, free: 4.773 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.3691/0.3691, allocations: 43.5 MB / 313.5 MB, free: 8.52 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.001635/0.001635, allocations: 63.91 kB / 382.1 MB, free: 8.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1546, allocations: 57.79 MB / 439.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.004286/0.1589, allocations: 2.237 MB / 442.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.1609, allocations: 1.103 MB / 443.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001815/0.1611, allocations: 8 kB / 443.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003774/0.1616, allocations: 83.52 kB / 443.3 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003446/0.1619, allocations: 67.45 kB / 443.3 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.1622, allocations: 103.6 kB / 443.4 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002284/0.1625, allocations: 190.8 kB / 443.6 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.743e-05/0.1625, allocations: 24.38 kB / 443.6 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.1627, allocations: 75.58 kB / 443.7 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.1629, allocations: 83.5 kB / 443.8 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.1629, allocations: 4 kB / 443.8 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004581/0.1634, allocations: 255.7 kB / 444.1 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.945e-05/0.1635, allocations: 31.78 kB / 444.1 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.1636, allocations: 79.36 kB / 444.2 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005906/0.1642, allocations: 326.7 kB / 444.5 MB, free: 10.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.149e-05/0.1642, allocations: 8 kB / 444.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1642, allocations: 0 / 444.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.1642, allocations: 0 / 444.5 MB, free: 10.16 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.0009526/0.1652, allocations: 495 kB / 445 MB, free: 9.625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/0.1653, allocations: 12.03 kB / 445 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.91e-05/0.1654, allocations: 28.64 kB / 445 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.1657, allocations: 219.7 kB / 445.2 MB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.1657, allocations: 12.81 kB / 445.2 MB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.167e-05/0.1657, allocations: 32.12 kB / 445.3 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005174/0.1663, allocations: 231.2 kB / 445.5 MB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1663, allocations: 0 / 445.5 MB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.1663, allocations: 4 kB / 445.5 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.1663, allocations: 8 kB / 445.5 MB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004781/0.1668, allocations: 245.6 kB / 445.8 MB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.168, allocations: 0.6235 MB / 446.4 MB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.1683, allocations: 98.5 kB / 446.5 MB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.1684, allocations: 48.92 kB / 446.5 MB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.729e-05/0.1685, allocations: 0 / 446.5 MB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.1685, allocations: 42.56 kB / 446.6 MB, free: 7.922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.163e-06/0.1685, allocations: 0 / 446.6 MB, free: 7.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005522/0.1691, allocations: 161.3 kB / 446.7 MB, free: 7.758 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.1691, allocations: 55.41 kB / 446.8 MB, free: 7.691 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.1694, allocations: 266.9 kB / 447 MB, free: 7.422 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.1694, allocations: 33.69 kB / 447.1 MB, free: 7.383 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.1696, allocations: 171.3 kB / 447.2 MB, free: 7.211 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.1696, allocations: 31.55 kB / 447.3 MB, free: 7.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.991e-05/0.1697, allocations: 49.61 kB / 447.3 MB, free: 7.125 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1699, allocations: 338.8 kB / 447.6 MB, free: 6.785 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.17, allocations: 47.97 kB / 447.7 MB, free: 6.738 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.1703, allocations: 144.8 kB / 447.8 MB, free: 6.551 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003864/0.1707, allocations: 216.6 kB / 448 MB, free: 6.293 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.1707, allocations: 4 kB / 448 MB, free: 6.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005492/0.1712, allocations: 240.9 kB / 448.3 MB, free: 6.047 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.1713, allocations: 4 kB / 448.3 MB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.1713, allocations: 4 kB / 448.3 MB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.1713, allocations: 4 kB / 448.3 MB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004156/0.1717, allocations: 92.33 kB / 448.4 MB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007607/0.1725, allocations: 1.211 MB / 449.6 MB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.1727, allocations: 39.58 kB / 449.6 MB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.1728, allocations: 12 kB / 449.6 MB, free: 4.637 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001329/0.1729, allocations: 145.8 kB / 449.8 MB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.985e-05/0.173, allocations: 23.72 kB / 449.8 MB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004361/0.1734, allocations: 171.6 kB / 450 MB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1734, allocations: 0 / 450 MB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1734, allocations: 0 / 450 MB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.1734, allocations: 0 / 450 MB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006993/0.1741, allocations: 448.1 kB / 450.4 MB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.1742, allocations: 3.984 kB / 450.4 MB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002691/0.1744, allocations: 56.03 kB / 450.5 MB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.1744, allocations: 4.094 kB / 450.5 MB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.1745, allocations: 11.94 kB / 450.5 MB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007816/0.1753, allocations: 1.211 MB / 451.7 MB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.1753, allocations: 192 / 451.7 MB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004044/0.1757, allocations: 252.8 kB / 451.9 MB, free: 2.188 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.488e-05/0.1758, allocations: 100.8 kB / 452 MB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.1758, allocations: 0 / 452 MB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.176, allocations: 15.98 kB / 452.1 MB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.641e-05/0.1761, allocations: 15.94 kB / 452.1 MB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.1761, allocations: 7.984 kB / 452.1 MB, free: 2.031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001762/0.1763, allocations: 182 kB / 452.3 MB, free: 1.855 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1763, allocations: 0 / 452.3 MB, free: 1.855 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004174/0.1767, allocations: 71.92 kB / 452.3 MB, free: 1.785 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003314/0.177, allocations: 147.2 kB / 452.5 MB, free: 1.629 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005882/0.1776, allocations: 176 kB / 452.6 MB, free: 1.457 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.1776, allocations: 0 / 452.6 MB, free: 1.457 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003068/0.178, allocations: 83.89 kB / 452.7 MB, free: 1.375 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004847/0.1785, allocations: 28.81 kB / 452.8 MB, free: 1.344 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008603/0.1793, allocations: 458.7 kB / 453.2 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.1796, allocations: 0.7327 MB / 453.9 MB, free: 116 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.259e-05/0.1797, allocations: 21.89 kB / 454 MB, free: 92 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.017e-05/0.1798, allocations: 23.42 kB / 454 MB, free: 68 kB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1798, allocations: 0 / 454 MB, free: 68 kB / 382.1 MB Notification: Performance of Templates: time 0.2348/0.4146, allocations: 3.309 MB / 457.3 MB, free: 48.72 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