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.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008421/0.0008424, allocations: 97.44 kB / 17.35 MB, free: 6.371 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.001133/0.001133, allocations: 171.8 kB / 18.25 MB, free: 5.527 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.376/1.376, allocations: 223.3 MB / 242.3 MB, free: 232 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.1964/0.1964, allocations: 44.25 MB / 337.7 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.000379, allocations: 8 kB / 410.4 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1202, allocations: 61.92 MB / 472.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002463/0.1227, allocations: 1.816 MB / 474.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.1248, allocations: 1.379 MB / 475.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.1249, allocations: 0 / 475.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003774/0.1253, allocations: 83.56 kB / 475.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002303/0.1256, allocations: 55.5 kB / 475.6 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005793/0.1262, allocations: 167.4 kB / 475.8 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.1264, allocations: 163 kB / 475.9 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.808e-05/0.1265, allocations: 12.31 kB / 475.9 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.1266, allocations: 55.67 kB / 476 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.1267, allocations: 71.52 kB / 476.1 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.1268, allocations: 4 kB / 476.1 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006051/0.1274, allocations: 431.4 kB / 476.5 MB, free: 9.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.798e-05/0.1274, allocations: 23.8 kB / 476.5 MB, free: 9.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.739e-05/0.1275, allocations: 97.12 kB / 476.6 MB, free: 8.961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005688/0.1281, allocations: 430.5 kB / 477 MB, free: 8.539 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1281, allocations: 0 / 477 MB, free: 8.539 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1281, allocations: 0 / 477 MB, free: 8.539 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.1281, allocations: 4 kB / 477 MB, free: 8.535 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.00062/0.1288, allocations: 474.7 kB / 477.5 MB, free: 8.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.1288, allocations: 8.031 kB / 477.5 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.01e-05/0.1289, allocations: 20.75 kB / 477.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.1291, allocations: 211.9 kB / 477.7 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.1291, allocations: 8.375 kB / 477.7 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.1291, allocations: 24.12 kB / 477.8 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003944/0.1295, allocations: 210.5 kB / 478 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1296, allocations: 0 / 478 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.1296, allocations: 8 kB / 478 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.1296, allocations: 11.98 kB / 478 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003208/0.1299, allocations: 156.3 kB / 478.1 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008294/0.1308, allocations: 0.5713 MB / 478.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.131, allocations: 74.48 kB / 478.8 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.1311, allocations: 36.94 kB / 478.8 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.1312, allocations: 7.938 kB / 478.8 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.1312, allocations: 34.56 kB / 478.9 MB, free: 6.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.733e-06/0.1312, allocations: 4 kB / 478.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004872/0.1317, allocations: 145.5 kB / 479 MB, free: 6.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.1317, allocations: 51.41 kB / 479.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/0.132, allocations: 262.6 kB / 479.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.132, allocations: 29.64 kB / 479.3 MB, free: 6.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.443e-05/0.1321, allocations: 163.7 kB / 479.5 MB, free: 5.863 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.1321, allocations: 23.72 kB / 479.5 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.1322, allocations: 17.72 kB / 479.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1323, allocations: 342.7 kB / 479.9 MB, free: 5.473 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.1324, allocations: 43.97 kB / 479.9 MB, free: 5.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.1326, allocations: 139.1 kB / 480.1 MB, free: 5.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003209/0.133, allocations: 192.7 kB / 480.2 MB, free: 5.016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.133, allocations: 0 / 480.2 MB, free: 5.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004196/0.1334, allocations: 213 kB / 480.5 MB, free: 4.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1334, allocations: 7.984 kB / 480.5 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.661e-05/0.1335, allocations: 12 kB / 480.5 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.1335, allocations: 4.438 kB / 480.5 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.1336, allocations: 39.92 kB / 480.5 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.1336, allocations: 7.938 kB / 480.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.1338, allocations: 35.67 kB / 480.6 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.1338, allocations: 12 kB / 480.6 MB, free: 4.684 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 (17): * Single equations (assignments): 15 * 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.0001174/0.1339, allocations: 125.8 kB / 480.7 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.105e-05/0.134, allocations: 19.72 kB / 480.7 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004036/0.1344, allocations: 154.8 kB / 480.9 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1344, allocations: 4 kB / 480.9 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1344, allocations: 0 / 480.9 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1344, allocations: 0 / 480.9 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.1347, allocations: 221.5 kB / 481.1 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.192e-05/0.1347, allocations: 15.98 kB / 481.1 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.484e-05/0.1348, allocations: 8 kB / 481.1 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1348, allocations: 0 / 481.1 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.1348, allocations: 4 kB / 481.1 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1348, allocations: 0 / 481.1 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1348, allocations: 4 kB / 481.1 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003181/0.1351, allocations: 231 kB / 481.3 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.544e-05/0.1352, allocations: 92.83 kB / 481.4 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.1352, allocations: 3.984 kB / 481.4 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.1353, allocations: 8 kB / 481.4 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.1354, allocations: 11.98 kB / 481.5 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.1354, allocations: 4 kB / 481.5 MB, free: 3.695 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001469/0.1355, allocations: 174 kB / 481.6 MB, free: 3.523 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1356, allocations: 0 / 481.6 MB, free: 3.523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003963/0.136, allocations: 79.92 kB / 481.7 MB, free: 3.445 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.0003181/0.1363, allocations: 163.6 kB / 481.9 MB, free: 3.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004527/0.1367, allocations: 188 kB / 482 MB, free: 3.082 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1368, allocations: 4 kB / 482.1 MB, free: 3.078 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002084/0.137, allocations: 107.3 kB / 482.2 MB, free: 2.961 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.1373, allocations: 17.27 kB / 482.2 MB, free: 2.941 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000676/0.138, allocations: 445.2 kB / 482.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.1383, allocations: 0.7284 MB / 483.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.163e-05/0.1384, allocations: 13.55 kB / 483.4 MB, free: 1.711 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.5e-05/0.1384, allocations: 15.44 kB / 483.4 MB, free: 1.699 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1384, allocations: 4 kB / 483.4 MB, free: 1.695 MB / 350.1 MB Notification: Performance of Templates: time 0.007713/0.1461, allocations: 3.935 MB / 487.3 MB, free: 13.8 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches