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.0009669/0.0009669, allocations: 93.61 kB / 16.98 MB, free: 5.938 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.000878/0.000878, allocations: 186.2 kB / 17.88 MB, free: 5.594 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.381/1.381, allocations: 223.2 MB / 241.8 MB, free: 14.62 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.2131/0.2131, allocations: 44.22 MB / 337.1 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003467, allocations: 8 kB / 409.5 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1361, allocations: 61.92 MB / 471.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002275/0.1384, allocations: 1.72 MB / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.1402, allocations: 1.193 MB / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.19e-05/0.1403, allocations: 4 kB / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.1405, allocations: 79.56 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.1407, allocations: 59.81 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.1411, allocations: 171.6 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.1413, allocations: 115.7 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.926e-05/0.1413, allocations: 16.3 kB / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.1415, allocations: 55.72 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.847e-05/0.1416, allocations: 47.72 kB / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.1416, allocations: 4 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005715/0.1422, allocations: 435.4 kB / 475.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.11e-05/0.1422, allocations: 27.84 kB / 475.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.523e-05/0.1423, allocations: 53.58 kB / 475.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003232/0.1426, allocations: 235.5 kB / 475.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1426, allocations: 0 / 475.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1426, allocations: 0 / 475.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.127e-06/0.1426, allocations: 0 / 475.7 MB, free: 9.473 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.000615/0.1432, allocations: 478.5 kB / 476.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.1433, allocations: 12.03 kB / 476.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.1434, allocations: 19.81 kB / 476.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.1436, allocations: 210.7 kB / 476.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.1436, allocations: 8 kB / 476.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.1436, allocations: 20 kB / 476.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003723/0.144, allocations: 206.6 kB / 476.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.144, allocations: 0 / 476.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.1441, allocations: 19.94 kB / 476.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.1441, allocations: 4 kB / 476.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003105/0.1444, allocations: 152.3 kB / 476.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008289/0.1452, allocations: 0.5754 MB / 477.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.1454, allocations: 70.48 kB / 477.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.1455, allocations: 4 kB / 477.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.1455, allocations: 42.55 kB / 477.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.402e-06/0.1455, allocations: 0 / 477.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005395/0.1461, allocations: 303.6 kB / 477.7 MB, free: 7.172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.1461, allocations: 59.41 kB / 477.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.1464, allocations: 254.6 kB / 478.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.1464, allocations: 25.7 kB / 478.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.1465, allocations: 159.7 kB / 478.2 MB, free: 6.656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.1465, allocations: 23.73 kB / 478.3 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.1465, allocations: 4 kB / 478.3 MB, free: 6.629 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1467, allocations: 330.8 kB / 478.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.1468, allocations: 43.97 kB / 478.6 MB, free: 6.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.147, allocations: 132.8 kB / 478.8 MB, free: 6.078 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.1472, allocations: 63.97 kB / 478.8 MB, free: 6.016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1472, allocations: 0 / 478.8 MB, free: 6.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000386/0.1476, allocations: 217 kB / 479 MB, free: 5.797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1476, allocations: 8 kB / 479 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-05/0.1476, allocations: 8.438 kB / 479 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.1477, allocations: 12 kB / 479.1 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.1478, allocations: 31.92 kB / 479.1 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.1478, allocations: 11.92 kB / 479.1 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.1479, allocations: 35.69 kB / 479.1 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.148, allocations: 8 kB / 479.1 MB, free: 5.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001117/0.1481, allocations: 130.3 kB / 479.3 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.445e-05/0.1482, allocations: 23.67 kB / 479.3 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003864/0.1485, allocations: 158.8 kB / 479.4 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1486, allocations: 0 / 479.4 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1486, allocations: 0 / 479.4 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1486, allocations: 0 / 479.4 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.1488, allocations: 221.6 kB / 479.7 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.711e-05/0.1488, allocations: 11.98 kB / 479.7 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.982e-05/0.1489, allocations: 8 kB / 479.7 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1489, allocations: 4 kB / 479.7 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.1489, allocations: 7.953 kB / 479.7 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.1489, allocations: 4.172 kB / 479.7 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.149, allocations: 8.078 kB / 479.7 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.1493, allocations: 219.2 kB / 479.9 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-05/0.1493, allocations: 100.8 kB / 480 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.1494, allocations: 0 / 480 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.1495, allocations: 7.953 kB / 480 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.1495, allocations: 11.98 kB / 480 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.1495, allocations: 4 kB / 480 MB, free: 4.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001537/0.1497, allocations: 178 kB / 480.2 MB, free: 4.508 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1497, allocations: 0 / 480.2 MB, free: 4.508 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000387/0.1501, allocations: 75.94 kB / 480.3 MB, free: 4.434 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003146/0.1504, allocations: 164.2 kB / 480.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004714/0.1509, allocations: 180.1 kB / 480.6 MB, free: 4.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1509, allocations: 0 / 480.6 MB, free: 4.078 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002125/0.1511, allocations: 107.3 kB / 480.7 MB, free: 3.961 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.1514, allocations: 24.83 kB / 480.8 MB, free: 3.934 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000692/0.1521, allocations: 417.2 kB / 481.2 MB, free: 3.496 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.1524, allocations: 0.7323 MB / 481.9 MB, free: 2.734 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.774e-05/0.1525, allocations: 17.55 kB / 481.9 MB, free: 2.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.51e-05/0.1525, allocations: 19.42 kB / 481.9 MB, free: 2.703 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1525, allocations: 0 / 481.9 MB, free: 2.703 MB / 350.1 MB Notification: Performance of Templates: time 0.007569/0.1601, allocations: 3.742 MB / 485.7 MB, free: 15.01 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