Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.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_4.0.0_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_4.0.0_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.000988/0.0009881, allocations: 98.94 kB / 16.98 MB, free: 6.398 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.001212/0.001212, allocations: 183.8 kB / 17.87 MB, free: 5.957 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.445/1.445, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2113/0.2113, allocations: 44.22 MB / 337.1 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003167/0.0003168, allocations: 8 kB / 409.6 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1382, allocations: 61.92 MB / 471.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002546/0.1408, allocations: 1.759 MB / 473.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.1423, allocations: 0.9476 MB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.582e-05/0.1424, allocations: 3.938 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002781/0.1427, allocations: 71.67 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002641/0.143, allocations: 91.64 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.1432, allocations: 99.73 kB / 474.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.1434, allocations: 131.6 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.787e-05/0.1435, allocations: 16.34 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.1436, allocations: 63.7 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.1438, allocations: 83.55 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.1438, allocations: 8 kB / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004027/0.1442, allocations: 259.7 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.039e-05/0.1443, allocations: 27.83 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.426e-05/0.1443, allocations: 53.58 kB / 475.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.1446, allocations: 187.5 kB / 475.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1446, allocations: 0 / 475.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1447, allocations: 0 / 475.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1447, allocations: 0 / 475.2 MB, free: 9.914 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006583/0.1453, allocations: 475 kB / 475.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.1454, allocations: 8.031 kB / 475.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.685e-05/0.1454, allocations: 27.7 kB / 475.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.1457, allocations: 206.7 kB / 475.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.075e-05/0.1457, allocations: 16.44 kB / 476 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.1458, allocations: 27.88 kB / 476 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004596/0.1462, allocations: 231.2 kB / 476.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1463, allocations: 4 kB / 476.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.1463, allocations: 12 kB / 476.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.1463, allocations: 4 kB / 476.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004382/0.1468, allocations: 253.6 kB / 476.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000975/0.1477, allocations: 0.6197 MB / 477.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003883/0.1481, allocations: 118.6 kB / 477.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.1482, allocations: 7.953 kB / 477.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.1482, allocations: 34.62 kB / 477.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.1482, allocations: 0 / 477.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005585/0.1488, allocations: 185.5 kB / 477.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.1488, allocations: 51.41 kB / 477.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.1491, allocations: 266.9 kB / 477.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.1492, allocations: 29.7 kB / 477.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.1493, allocations: 171.3 kB / 477.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.1493, allocations: 31.55 kB / 478 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.407e-05/0.1493, allocations: 4 kB / 478 MB, free: 6.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1495, allocations: 338.8 kB / 478.3 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.1496, allocations: 51.95 kB / 478.4 MB, free: 6.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003313/0.15, allocations: 148.8 kB / 478.5 MB, free: 6.398 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.1502, allocations: 75.91 kB / 478.6 MB, free: 6.324 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.1502, allocations: 0 / 478.6 MB, free: 6.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004989/0.1507, allocations: 241.5 kB / 478.8 MB, free: 6.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.1507, allocations: 15.95 kB / 478.8 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.1507, allocations: 4 kB / 478.8 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.1508, allocations: 4 kB / 478.8 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003956/0.1512, allocations: 91.88 kB / 478.9 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007701/0.1519, allocations: 1.219 MB / 480.2 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.1522, allocations: 39.58 kB / 480.2 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.1522, allocations: 15.94 kB / 480.2 MB, free: 4.648 MB / 350.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.0001244/0.1523, allocations: 130.2 kB / 480.3 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.688e-05/0.1524, allocations: 28.08 kB / 480.4 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004437/0.1528, allocations: 187.2 kB / 480.5 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.1528, allocations: 4 kB / 480.5 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.1528, allocations: 0 / 480.5 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.1528, allocations: 3.953 kB / 480.6 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006024/0.1535, allocations: 456 kB / 481 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1535, allocations: 0 / 481 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.1537, allocations: 55.97 kB / 481.1 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1537, allocations: 0 / 481.1 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.1538, allocations: 11.98 kB / 481.1 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006188/0.1544, allocations: 1.215 MB / 482.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.1544, allocations: 0 / 482.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003823/0.1548, allocations: 288.5 kB / 482.6 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.194e-05/0.1549, allocations: 96.77 kB / 482.7 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.665e-05/0.1549, allocations: 4 kB / 482.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.1551, allocations: 15.94 kB / 482.7 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.1551, allocations: 19.92 kB / 482.7 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.1551, allocations: 4 kB / 482.7 MB, free: 1.977 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001749/0.1553, allocations: 182 kB / 482.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1553, allocations: 0 / 482.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003821/0.1557, allocations: 68 kB / 482.9 MB, free: 1.73 MB / 350.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.0002899/0.156, allocations: 143.4 kB / 483.1 MB, free: 1.582 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005833/0.1566, allocations: 179.7 kB / 483.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1566, allocations: 0 / 483.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003024/0.1569, allocations: 96.88 kB / 483.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.1573, allocations: 32.75 kB / 483.4 MB, free: 1.277 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008045/0.1581, allocations: 449.3 kB / 483.8 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.1584, allocations: 0.7404 MB / 484.6 MB, free: 36 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.69e-05/0.1585, allocations: 21.94 kB / 484.6 MB, free: 16 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.995e-05/0.1586, allocations: 19.48 kB / 484.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1586, allocations: 0 / 484.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of Templates: time 0.006957/0.1656, allocations: 3.149 MB / 487.8 MB, free: 12.88 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches