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_roundTube.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_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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 86.3 kB / 17.34 MB, free: 6.023 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.001256/0.001256, allocations: 174.5 kB / 18.26 MB, free: 5.391 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.388/1.388, allocations: 223.3 MB / 242.3 MB, free: 220 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.2312/0.2312, allocations: 44.25 MB / 337.7 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003331, allocations: 12 kB / 410.4 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1174, allocations: 61.91 MB / 472.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.002331/0.1198, allocations: 1.796 MB / 474.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002546/0.1224, allocations: 1.733 MB / 475.8 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.728e-05/0.1225, allocations: 0 / 475.8 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003283/0.1228, allocations: 83.5 kB / 475.9 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001705/0.123, allocations: 55.48 kB / 475.9 MB, free: 9.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006655/0.1237, allocations: 271.1 kB / 476.2 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.1239, allocations: 163 kB / 476.4 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.804e-05/0.1239, allocations: 12.31 kB / 476.4 MB, free: 9.227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.618e-05/0.124, allocations: 63.55 kB / 476.4 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.1241, allocations: 63.59 kB / 476.5 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.1242, allocations: 4 kB / 476.5 MB, free: 9.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.1252, allocations: 0.7568 MB / 477.3 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.932e-05/0.1253, allocations: 23.8 kB / 477.3 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.1254, allocations: 105.1 kB / 477.4 MB, free: 8.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007384/0.1261, allocations: 0.5568 MB / 477.9 MB, free: 7.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1261, allocations: 0 / 477.9 MB, free: 7.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1262, allocations: 4 kB / 477.9 MB, free: 7.645 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1262, allocations: 0 / 477.9 MB, free: 7.645 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006246/0.1268, allocations: 493.6 kB / 478.4 MB, free: 7.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.1268, allocations: 8.031 kB / 478.4 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.938e-05/0.1269, allocations: 24.66 kB / 478.5 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.1271, allocations: 204.5 kB / 478.7 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.1271, allocations: 20.38 kB / 478.7 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.1272, allocations: 27.94 kB / 478.7 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004195/0.1276, allocations: 271.4 kB / 479 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1276, allocations: 0 / 479 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.1276, allocations: 4 kB / 479 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.1276, allocations: 19.98 kB / 479 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003177/0.128, allocations: 164.2 kB / 479.2 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009112/0.1289, allocations: 0.9041 MB / 480.1 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.1291, allocations: 70.48 kB / 480.1 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.1292, allocations: 40.94 kB / 480.2 MB, free: 5.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.1292, allocations: 0 / 480.2 MB, free: 5.238 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.1293, allocations: 30.56 kB / 480.2 MB, free: 5.199 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.1293, allocations: 0 / 480.2 MB, free: 5.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005005/0.1298, allocations: 153.3 kB / 480.3 MB, free: 5.043 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.1298, allocations: 59.28 kB / 480.4 MB, free: 4.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.1301, allocations: 270.9 kB / 480.7 MB, free: 4.703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.1301, allocations: 25.7 kB / 480.7 MB, free: 4.672 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.1303, allocations: 183 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.1303, allocations: 27.64 kB / 480.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.1303, allocations: 17.72 kB / 480.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1305, allocations: 338.8 kB / 481.2 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.1306, allocations: 44.2 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.1309, allocations: 192.2 kB / 481.5 MB, free: 3.793 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003966/0.1313, allocations: 271.4 kB / 481.7 MB, free: 3.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.1313, allocations: 4 kB / 481.7 MB, free: 3.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005082/0.1318, allocations: 265.2 kB / 482 MB, free: 3.188 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1318, allocations: 8 kB / 482 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.207e-05/0.1319, allocations: 16 kB / 482 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.1319, allocations: 11.94 kB / 482 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.1321, allocations: 47.86 kB / 482.1 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.1321, allocations: 11.92 kB / 482.1 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.1323, allocations: 47.97 kB / 482.1 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.1323, allocations: 12 kB / 482.2 MB, free: 3.035 MB / 350.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.0001613/0.1325, allocations: 137.7 kB / 482.3 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.188e-05/0.1325, allocations: 19.72 kB / 482.3 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004409/0.133, allocations: 150.8 kB / 482.5 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.133, allocations: 3.938 kB / 482.5 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.133, allocations: 3.938 kB / 482.5 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.133, allocations: 4 kB / 482.5 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002754/0.1333, allocations: 225.6 kB / 482.7 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.295e-05/0.1333, allocations: 8.188 kB / 482.7 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.891e-05/0.1334, allocations: 15.98 kB / 482.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1334, allocations: 0 / 482.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.1334, allocations: 4 kB / 482.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.1334, allocations: 3.938 kB / 482.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1334, allocations: 0 / 482.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003615/0.1338, allocations: 211.2 kB / 482.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.139e-05/0.1339, allocations: 104.8 kB / 483 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.583e-05/0.134, allocations: 4 kB / 483 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.1341, allocations: 11.92 kB / 483 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.1341, allocations: 8 kB / 483.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.1342, allocations: 7.938 kB / 483.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001727/0.1343, allocations: 182 kB / 483.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1343, allocations: 0 / 483.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004898/0.1348, allocations: 99.98 kB / 483.3 MB, free: 1.75 MB / 350.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.0004021/0.1352, allocations: 187.6 kB / 483.5 MB, free: 1.555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004692/0.1357, allocations: 200.6 kB / 483.7 MB, free: 1.348 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1357, allocations: 0 / 483.7 MB, free: 1.348 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002073/0.136, allocations: 107.5 kB / 483.8 MB, free: 1.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.1363, allocations: 32.89 kB / 483.9 MB, free: 1.195 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007082/0.137, allocations: 439.3 kB / 484.3 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.1374, allocations: 0.7248 MB / 485 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.95e-05/0.1375, allocations: 25.94 kB / 485 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.1376, allocations: 19.44 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1376, allocations: 0 / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of Templates: time 0.01154/0.1491, allocations: 5.964 MB / 491 MB, free: 10.02 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches