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.001037/0.001037, allocations: 106.9 kB / 17.21 MB, free: 6.27 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.001043/0.001043, allocations: 194 kB / 18.12 MB, free: 5.363 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.409/1.409, allocations: 222.9 MB / 241.8 MB, free: 15.56 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.2347/0.2347, allocations: 44.17 MB / 336.1 MB, free: 3.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 63.27 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1417, allocations: 60.82 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003526/0.1452, allocations: 2.17 MB / 470.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.1471, allocations: 1.387 MB / 472.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.709e-05/0.1472, allocations: 4 kB / 472.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003226/0.1476, allocations: 79.56 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001539/0.1477, allocations: 55.5 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.1482, allocations: 171.4 kB / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.1484, allocations: 166.9 kB / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.617e-05/0.1485, allocations: 12.31 kB / 472.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.1486, allocations: 59.55 kB / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.81e-05/0.1487, allocations: 59.64 kB / 472.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.1488, allocations: 4 kB / 472.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005896/0.1494, allocations: 435.3 kB / 473.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.614e-05/0.1494, allocations: 23.86 kB / 473.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.692e-05/0.1495, allocations: 75.42 kB / 473.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005188/0.1501, allocations: 426.5 kB / 473.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1501, allocations: 0 / 473.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1501, allocations: 0 / 473.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1501, allocations: 0 / 473.6 MB, free: 9.695 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.0006552/0.1507, allocations: 0.4985 MB / 474.1 MB, free: 9.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.1508, allocations: 12.03 kB / 474.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.567e-05/0.1509, allocations: 16.75 kB / 474.2 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.1511, allocations: 215.6 kB / 474.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.1511, allocations: 12.38 kB / 474.4 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.1511, allocations: 28.06 kB / 474.4 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003744/0.1515, allocations: 202.5 kB / 474.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.1515, allocations: 0 / 474.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.1516, allocations: 4 kB / 474.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.1516, allocations: 8 kB / 474.6 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003/0.1519, allocations: 148.3 kB / 474.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008624/0.1528, allocations: 0.583 MB / 475.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.153, allocations: 58.55 kB / 475.4 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.1531, allocations: 32.95 kB / 475.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.1531, allocations: 4 kB / 475.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.1532, allocations: 38.56 kB / 475.5 MB, free: 7.688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.1532, allocations: 0 / 475.5 MB, free: 7.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004645/0.1536, allocations: 137.3 kB / 475.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.1537, allocations: 51.41 kB / 475.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002619/0.1539, allocations: 254.6 kB / 475.9 MB, free: 7.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.154, allocations: 37.69 kB / 475.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.1541, allocations: 159.7 kB / 476.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.1541, allocations: 23.73 kB / 476.1 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.707e-05/0.1542, allocations: 45.61 kB / 476.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1544, allocations: 334.8 kB / 476.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.1545, allocations: 35.97 kB / 476.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.1547, allocations: 130.1 kB / 476.7 MB, free: 6.414 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003271/0.1551, allocations: 188.6 kB / 476.8 MB, free: 6.184 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1551, allocations: 0 / 476.8 MB, free: 6.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003909/0.1555, allocations: 197.1 kB / 477 MB, free: 5.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.1555, allocations: 8 kB / 477 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.85e-05/0.1555, allocations: 12 kB / 477.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.1556, allocations: 8.375 kB / 477.1 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.1557, allocations: 39.97 kB / 477.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.1557, allocations: 7.938 kB / 477.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.1558, allocations: 31.59 kB / 477.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.1559, allocations: 11.98 kB / 477.2 MB, free: 5.867 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.0001225/0.156, allocations: 129.7 kB / 477.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.156, allocations: 15.81 kB / 477.3 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003962/0.1564, allocations: 142.8 kB / 477.4 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.1565, allocations: 0 / 477.4 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.1565, allocations: 3.938 kB / 477.4 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1565, allocations: 0 / 477.4 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/0.1568, allocations: 229.5 kB / 477.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/0.1568, allocations: 8 kB / 477.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-05/0.1569, allocations: 12.17 kB / 477.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.1569, allocations: 4 kB / 477.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.1569, allocations: 4 kB / 477.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1569, allocations: 0 / 477.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1569, allocations: 3.938 kB / 477.7 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.1572, allocations: 203.2 kB / 477.9 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.576e-05/0.1573, allocations: 100.8 kB / 478 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.1573, allocations: 0 / 478 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.993e-05/0.1574, allocations: 7.984 kB / 478 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.1575, allocations: 8 kB / 478 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.1575, allocations: 0 / 478 MB, free: 4.914 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001625/0.1577, allocations: 182 kB / 478.2 MB, free: 4.734 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1577, allocations: 0 / 478.2 MB, free: 4.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000387/0.1581, allocations: 71.94 kB / 478.3 MB, free: 4.664 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.0003706/0.1585, allocations: 171.8 kB / 478.4 MB, free: 4.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004569/0.1589, allocations: 171.1 kB / 478.6 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1589, allocations: 0.875 kB / 478.6 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.1591, allocations: 107.3 kB / 478.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.1595, allocations: 24.38 kB / 478.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007289/0.1603, allocations: 419.1 kB / 479.1 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.1606, allocations: 0.7284 MB / 479.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.606e-05/0.1607, allocations: 17.55 kB / 479.9 MB, free: 2.961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.1608, allocations: 15.44 kB / 479.9 MB, free: 2.949 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1608, allocations: 0 / 479.9 MB, free: 2.949 MB / 350.1 MB Notification: Performance of Templates: time 0.00816/0.1689, allocations: 3.949 MB / 483.8 MB, free: 15.04 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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