Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001544/0.001544, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001645/0.001645, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.972/1.972, allocations: 227.4 MB / 246.9 MB, free: 9.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3154/0.3154, allocations: 46.11 MB / 344.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001743, allocations: 76.06 kB / 417.5 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1422, allocations: 62.44 MB / 480 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.005804/0.1481, allocations: 2.168 MB / 482.1 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003885/0.152, allocations: 1.815 MB / 483.9 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002548/0.1523, allocations: 4 kB / 483.9 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005351/0.1529, allocations: 87.44 kB / 484 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003728/0.1534, allocations: 55.55 kB / 484.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.1546, allocations: 283 kB / 484.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003079/0.1549, allocations: 159 kB / 484.5 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.362e-05/0.155, allocations: 12.31 kB / 484.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.1551, allocations: 55.66 kB / 484.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.1552, allocations: 55.67 kB / 484.6 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.1553, allocations: 4 kB / 484.6 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001647/0.1569, allocations: 0.784 MB / 485.4 MB, free: 184 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.722e-05/0.157, allocations: 27.8 kB / 485.4 MB, free: 156 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.1571, allocations: 75.48 kB / 485.5 MB, free: 80 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005256/0.1576, allocations: 382.8 kB / 485.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1577, allocations: 0 / 485.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1577, allocations: 0 / 485.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1577, allocations: 0 / 485.9 MB, free: 15.7 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000782/0.1585, allocations: 0.5069 MB / 486.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.1585, allocations: 21.89 kB / 486.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.09e-05/0.1586, allocations: 20.66 kB / 486.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.1588, allocations: 215.9 kB / 486.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.1588, allocations: 16.38 kB / 486.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.125e-05/0.1589, allocations: 23.98 kB / 486.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004482/0.1593, allocations: 259.5 kB / 486.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.1594, allocations: 7.984 kB / 487 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.1594, allocations: 8 kB / 487 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.1594, allocations: 4 kB / 487 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003131/0.1597, allocations: 156.2 kB / 487.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.1609, allocations: 0.9118 MB / 488 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.1612, allocations: 58.55 kB / 488.1 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.1613, allocations: 28.95 kB / 488.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.357e-05/0.1614, allocations: 11.98 kB / 488.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.1614, allocations: 30.56 kB / 488.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 2.074e-06/0.1614, allocations: 4 kB / 488.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004728/0.1619, allocations: 129.3 kB / 488.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.1619, allocations: 55.34 kB / 488.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.1622, allocations: 270.9 kB / 488.6 MB, free: 12.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.1623, allocations: 33.64 kB / 488.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.1624, allocations: 179.1 kB / 488.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.1624, allocations: 19.75 kB / 488.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-05/0.1625, allocations: 53.61 kB / 488.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1626, allocations: 334.8 kB / 489.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.1628, allocations: 44.19 kB / 489.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.163, allocations: 196.1 kB / 489.4 MB, free: 11.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003722/0.1634, allocations: 259.4 kB / 489.7 MB, free: 11.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.1634, allocations: 0 / 489.7 MB, free: 11.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004786/0.1639, allocations: 253.1 kB / 489.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1639, allocations: 4 kB / 490 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-05/0.164, allocations: 20 kB / 490 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.164, allocations: 4 kB / 490 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.1642, allocations: 51.84 kB / 490 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.1642, allocations: 11.94 kB / 490 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.1644, allocations: 40.02 kB / 490.1 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.1644, allocations: 20 kB / 490.1 MB, free: 11.11 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.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: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001198/0.1645, allocations: 129.7 kB / 490.2 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.456e-05/0.1646, allocations: 23.81 kB / 490.2 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003802/0.165, allocations: 142.8 kB / 490.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.165, allocations: 3.938 kB / 490.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.165, allocations: 3.938 kB / 490.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.165, allocations: 3.984 kB / 490.4 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.1653, allocations: 217.7 kB / 490.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/0.1653, allocations: 12 kB / 490.6 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.363e-05/0.1654, allocations: 11.98 kB / 490.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1654, allocations: 4 kB / 490.6 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.1654, allocations: 0 / 490.6 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-05/0.1654, allocations: 3.938 kB / 490.6 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1654, allocations: 0 / 490.6 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.1657, allocations: 211.2 kB / 490.8 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.933e-05/0.1658, allocations: 92.92 kB / 490.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.1659, allocations: 0 / 490.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.166, allocations: 15.92 kB / 491 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.166, allocations: 4 kB / 491 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.166, allocations: 0 / 491 MB, free: 10.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001686/0.1662, allocations: 189.9 kB / 491.1 MB, free: 9.953 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1662, allocations: 0 / 491.1 MB, free: 9.953 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005543/0.1668, allocations: 104 kB / 491.2 MB, free: 9.852 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004783/0.1673, allocations: 199.2 kB / 491.4 MB, free: 9.648 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004985/0.1678, allocations: 195.4 kB / 491.6 MB, free: 9.445 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1678, allocations: 5.125 kB / 491.6 MB, free: 9.441 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.168, allocations: 99.31 kB / 491.7 MB, free: 9.332 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.1684, allocations: 28.77 kB / 491.8 MB, free: 9.305 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007918/0.1692, allocations: 440.3 kB / 492.2 MB, free: 8.844 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.1696, allocations: 0.7365 MB / 492.9 MB, free: 8.078 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.603e-05/0.1696, allocations: 19.44 kB / 492.9 MB, free: 8.059 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1696, allocations: 0 / 492.9 MB, free: 8.059 MB / 366.1 MB Notification: Performance of Templates: time 0.007981/0.1776, allocations: 5.103 MB / 498 MB, free: 2.973 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube/kc_roundTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches