Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.0008174/0.0008174, allocations: 102.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009755/0.0009754, allocations: 182.2 kB / 16.92 MB, free: 6.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.612/1.612, allocations: 205.4 MB / 223.1 MB, free: 5.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3934/0.3934, allocations: 43.57 MB / 315 MB, free: 8.676 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000535/0.0005349, allocations: 23.53 kB / 384.6 MB, free: 7.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1395, allocations: 58.85 MB / 443.5 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002343/0.1419, allocations: 1.82 MB / 445.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.1437, allocations: 1.415 MB / 446.7 MB, free: 9.414 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.657e-05/0.1438, allocations: 3.938 kB / 446.7 MB, free: 9.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.1441, allocations: 79.52 kB / 446.8 MB, free: 9.332 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.1443, allocations: 55.55 kB / 446.8 MB, free: 9.277 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.1448, allocations: 175.4 kB / 447 MB, free: 9.105 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.1449, allocations: 166.9 kB / 447.2 MB, free: 8.941 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.766e-05/0.145, allocations: 20.23 kB / 447.2 MB, free: 8.922 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.1451, allocations: 55.66 kB / 447.2 MB, free: 8.867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.1452, allocations: 63.53 kB / 447.3 MB, free: 8.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.1453, allocations: 8 kB / 447.3 MB, free: 8.797 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000535/0.1458, allocations: 423.4 kB / 447.7 MB, free: 8.383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.956e-05/0.1459, allocations: 23.8 kB / 447.7 MB, free: 8.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.772e-05/0.146, allocations: 101.2 kB / 447.8 MB, free: 8.254 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005127/0.1465, allocations: 422.5 kB / 448.3 MB, free: 7.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1465, allocations: 0 / 448.3 MB, free: 7.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1465, allocations: 0 / 448.3 MB, free: 7.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.1465, allocations: 0 / 448.3 MB, free: 7.84 MB / 382.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.0006483/0.1472, allocations: 478.7 kB / 448.7 MB, free: 7.324 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1472, allocations: 8.031 kB / 448.7 MB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.737e-05/0.1473, allocations: 28.64 kB / 448.8 MB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.1475, allocations: 211.9 kB / 449 MB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.1475, allocations: 12.38 kB / 449 MB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.1475, allocations: 20.12 kB / 449 MB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000378/0.1479, allocations: 210.7 kB / 449.2 MB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1479, allocations: 8 kB / 449.2 MB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.148, allocations: 4 kB / 449.2 MB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.148, allocations: 7.984 kB / 449.2 MB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.1483, allocations: 160.2 kB / 449.4 MB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007974/0.1491, allocations: 0.5714 MB / 450 MB, free: 6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.1493, allocations: 70.55 kB / 450 MB, free: 5.922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.1494, allocations: 40.94 kB / 450.1 MB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/0.1495, allocations: 0 / 450.1 MB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.1495, allocations: 30.56 kB / 450.1 MB, free: 5.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.1495, allocations: 0 / 450.1 MB, free: 5.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004823/0.15, allocations: 157.3 kB / 450.2 MB, free: 5.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.15, allocations: 55.41 kB / 450.3 MB, free: 5.613 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.1503, allocations: 254.7 kB / 450.5 MB, free: 5.359 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.1503, allocations: 29.64 kB / 450.6 MB, free: 5.324 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.1505, allocations: 163.7 kB / 450.7 MB, free: 5.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.1505, allocations: 27.58 kB / 450.8 MB, free: 5.133 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.1505, allocations: 21.72 kB / 450.8 MB, free: 5.105 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1507, allocations: 334.8 kB / 451.1 MB, free: 4.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.1508, allocations: 43.97 kB / 451.2 MB, free: 4.727 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.151, allocations: 132.8 kB / 451.3 MB, free: 4.551 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/0.1514, allocations: 200.7 kB / 451.5 MB, free: 4.309 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1514, allocations: 0 / 451.5 MB, free: 4.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004251/0.1518, allocations: 209.1 kB / 451.7 MB, free: 4.098 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.1519, allocations: 8 kB / 451.7 MB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.28e-05/0.1519, allocations: 16 kB / 451.7 MB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.1519, allocations: 4 kB / 451.7 MB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.1521, allocations: 32.36 kB / 451.7 MB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.1521, allocations: 4 kB / 451.7 MB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.1522, allocations: 43.58 kB / 451.8 MB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.1523, allocations: 12 kB / 451.8 MB, free: 3.98 MB / 382.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.0001413/0.1524, allocations: 133.7 kB / 451.9 MB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.966e-05/0.1525, allocations: 19.81 kB / 452 MB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004009/0.1529, allocations: 146.9 kB / 452.1 MB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.1529, allocations: 4 kB / 452.1 MB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.1529, allocations: 0 / 452.1 MB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1529, allocations: 7.938 kB / 452.1 MB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.1532, allocations: 221.5 kB / 452.3 MB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-05/0.1532, allocations: 12.17 kB / 452.3 MB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.332e-05/0.1533, allocations: 12 kB / 452.3 MB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1533, allocations: 0 / 452.3 MB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1533, allocations: 0 / 452.3 MB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1533, allocations: 0 / 452.3 MB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1533, allocations: 7.984 kB / 452.4 MB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.1537, allocations: 215.3 kB / 452.6 MB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.285e-05/0.1537, allocations: 92.83 kB / 452.7 MB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.1538, allocations: 3.984 kB / 452.7 MB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.1539, allocations: 8 kB / 452.7 MB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.1539, allocations: 11.98 kB / 452.7 MB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.154, allocations: 0 / 452.7 MB, free: 2.996 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001749/0.1541, allocations: 182 kB / 452.9 MB, free: 2.816 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.673e-06/0.1541, allocations: 0 / 452.9 MB, free: 2.816 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003973/0.1545, allocations: 79.86 kB / 452.9 MB, free: 2.738 MB / 382.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.0003385/0.1549, allocations: 182.9 kB / 453.1 MB, free: 2.551 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004577/0.1554, allocations: 179.3 kB / 453.3 MB, free: 2.363 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1554, allocations: 0.8125 kB / 453.3 MB, free: 2.363 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.1556, allocations: 107.4 kB / 453.4 MB, free: 2.246 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.156, allocations: 21.2 kB / 453.4 MB, free: 2.223 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007398/0.1567, allocations: 449.2 kB / 453.9 MB, free: 1.758 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.1571, allocations: 0.7245 MB / 454.6 MB, free: 1.008 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.924e-05/0.1572, allocations: 17.55 kB / 454.6 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.1572, allocations: 19.42 kB / 454.6 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1572, allocations: 3.938 kB / 454.6 MB, free: 0.9688 MB / 382.1 MB Notification: Performance of Templates: time 0.2173/0.3745, allocations: 3.938 MB / 458.6 MB, free: 46.09 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches