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.001111/0.001111, allocations: 110.7 kB / 17.04 MB, free: 5.812 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.001217/0.001217, allocations: 196 kB / 17.97 MB, free: 5.027 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.52/1.52, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2243/0.2243, allocations: 43.52 MB / 314.7 MB, free: 484 kB / 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.001707/0.001708, allocations: 69.77 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1213, allocations: 57.79 MB / 442 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003296/0.1246, allocations: 2.103 MB / 444.1 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.1266, allocations: 1.418 MB / 445.5 MB, free: 2.586 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.1268, allocations: 0 / 445.5 MB, free: 2.586 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004376/0.1272, allocations: 83.45 kB / 445.6 MB, free: 2.504 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.1275, allocations: 75.34 kB / 445.7 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006565/0.1282, allocations: 203.1 kB / 445.9 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.1284, allocations: 147 kB / 446 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.42e-05/0.1285, allocations: 24.3 kB / 446 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.1287, allocations: 55.67 kB / 446.1 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.1288, allocations: 59.53 kB / 446.1 MB, free: 1.949 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.1288, allocations: 4 kB / 446.1 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005993/0.1294, allocations: 431.4 kB / 446.6 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.151e-05/0.1295, allocations: 27.78 kB / 446.6 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.95e-05/0.1296, allocations: 67.5 kB / 446.7 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005509/0.1302, allocations: 434.5 kB / 447.1 MB, free: 1.004 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.1302, allocations: 3.938 kB / 447.1 MB, free: 1 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.1302, allocations: 0 / 447.1 MB, free: 1 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1302, allocations: 0 / 447.1 MB, free: 1 MB / 318.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.0006649/0.1309, allocations: 0.4947 MB / 447.6 MB, free: 468 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.1309, allocations: 11.89 kB / 447.6 MB, free: 456 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.939e-05/0.131, allocations: 24.66 kB / 447.6 MB, free: 432 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.1312, allocations: 217.9 kB / 447.8 MB, free: 176 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.1312, allocations: 16.38 kB / 447.9 MB, free: 160 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.1312, allocations: 24.12 kB / 447.9 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003953/0.1316, allocations: 202.8 kB / 448.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1316, allocations: 4 kB / 448.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.1317, allocations: 8 kB / 448.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.1317, allocations: 4 kB / 448.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003081/0.132, allocations: 156.2 kB / 448.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.1331, allocations: 0.5636 MB / 448.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003051/0.1334, allocations: 62.56 kB / 448.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.1335, allocations: 32.94 kB / 448.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.917e-05/0.1335, allocations: 0 / 448.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.1336, allocations: 34.56 kB / 448.9 MB, free: 15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1336, allocations: 0 / 448.9 MB, free: 15 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004645/0.1341, allocations: 141.3 kB / 449.1 MB, free: 14.85 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.1341, allocations: 55.41 kB / 449.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003487/0.1345, allocations: 254.7 kB / 449.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.1345, allocations: 29.64 kB / 449.4 MB, free: 14.49 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.1346, allocations: 159.7 kB / 449.6 MB, free: 14.33 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.1346, allocations: 23.64 kB / 449.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.517e-05/0.1347, allocations: 37.7 kB / 449.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1348, allocations: 342.8 kB / 450 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.135, allocations: 31.98 kB / 450 MB, free: 13.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.1351, allocations: 134 kB / 450.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003084/0.1355, allocations: 184.6 kB / 450.3 MB, free: 13.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1355, allocations: 0 / 450.3 MB, free: 13.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000378/0.1359, allocations: 205.4 kB / 450.5 MB, free: 13.28 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1359, allocations: 4 kB / 450.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.722e-05/0.1359, allocations: 12 kB / 450.5 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.1359, allocations: 4 kB / 450.5 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.1361, allocations: 31.92 kB / 450.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.1361, allocations: 7.984 kB / 450.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.1362, allocations: 31.69 kB / 450.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.1362, allocations: 8 kB / 450.6 MB, free: 13.18 MB / 334.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.0001224/0.1364, allocations: 149.6 kB / 450.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.1364, allocations: 19.72 kB / 450.8 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003677/0.1368, allocations: 131.1 kB / 450.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.1368, allocations: 4 kB / 450.9 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1368, allocations: 11.88 kB / 450.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.1368, allocations: 4 kB / 450.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/0.1371, allocations: 221.5 kB / 451.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.1e-05/0.1372, allocations: 12 kB / 451.1 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.218e-05/0.1372, allocations: 11.98 kB / 451.1 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1372, allocations: 0 / 451.1 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.1372, allocations: 0 / 451.1 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.1373, allocations: 4 kB / 451.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1373, allocations: 0 / 451.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.1376, allocations: 207.2 kB / 451.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.899e-05/0.1377, allocations: 96.81 kB / 451.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.1377, allocations: 0 / 451.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.1378, allocations: 7.984 kB / 451.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.589e-05/0.1379, allocations: 4 kB / 451.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.1379, allocations: 4.188 kB / 451.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002039/0.1381, allocations: 189.9 kB / 451.6 MB, free: 12.03 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1381, allocations: 0 / 451.6 MB, free: 12.03 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003755/0.1385, allocations: 71.94 kB / 451.7 MB, free: 11.96 MB / 334.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.0003629/0.1389, allocations: 175 kB / 451.9 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005154/0.1394, allocations: 172.1 kB / 452.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1394, allocations: 0 / 452.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002029/0.1396, allocations: 99.38 kB / 452.2 MB, free: 11.49 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.14, allocations: 28.75 kB / 452.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007155/0.1408, allocations: 360.3 kB / 452.5 MB, free: 11.08 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.1412, allocations: 0.7242 MB / 453.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.37e-05/0.1412, allocations: 21.53 kB / 453.3 MB, free: 10.31 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.1413, allocations: 15.44 kB / 453.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1413, allocations: 0 / 453.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of Templates: time 0.008538/0.1498, allocations: 4.146 MB / 457.4 MB, free: 6.18 MB / 334.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 -s cvode -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/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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