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.001421/0.001421, allocations: 115.7 kB / 17.08 MB, free: 6.008 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.001494/0.001494, allocations: 195 kB / 18.01 MB, free: 5.094 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.51/1.51, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.1957/0.1957, allocations: 43.51 MB / 314.8 MB, free: 472 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.002197/0.002197, allocations: 71.91 kB / 442.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1258, allocations: 57.78 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.004528/0.1303, allocations: 2.108 MB / 0.4906 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.1323, allocations: 1.422 MB / 0.492 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.941e-05/0.1324, allocations: 3.938 kB / 0.492 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002932/0.1327, allocations: 83.45 kB / 0.4921 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.1329, allocations: 71.42 kB / 0.4922 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004941/0.1334, allocations: 211 kB / 0.4924 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000166/0.1336, allocations: 151 kB / 0.4925 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.091e-05/0.1337, allocations: 24.27 kB / 0.4925 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.1338, allocations: 51.67 kB / 0.4926 GB, free: 7.641 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.37e-05/0.1339, allocations: 67.53 kB / 0.4926 GB, free: 7.574 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.1339, allocations: 4 kB / 0.4926 GB, free: 7.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005371/0.1345, allocations: 423.4 kB / 0.4931 GB, free: 7.156 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.101e-05/0.1345, allocations: 31.78 kB / 0.4931 GB, free: 7.125 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.525e-05/0.1346, allocations: 71.42 kB / 0.4931 GB, free: 7.055 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004869/0.1351, allocations: 426.6 kB / 0.4936 GB, free: 6.637 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1351, allocations: 0 / 0.4936 GB, free: 6.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1351, allocations: 4 kB / 0.4936 GB, free: 6.633 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.473e-06/0.1351, allocations: 0 / 0.4936 GB, free: 6.633 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.0005963/0.1357, allocations: 0.4941 MB / 0.494 GB, free: 6.094 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.1358, allocations: 19.88 kB / 0.4941 GB, free: 6.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.987e-05/0.1358, allocations: 20.66 kB / 0.4941 GB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.136, allocations: 219.7 kB / 0.4943 GB, free: 5.801 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.1361, allocations: 12.38 kB / 0.4943 GB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.1361, allocations: 24.12 kB / 0.4943 GB, free: 5.766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003523/0.1364, allocations: 202.7 kB / 0.4945 GB, free: 5.559 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1365, allocations: 3.984 kB / 0.4945 GB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.1365, allocations: 7.938 kB / 0.4945 GB, free: 5.547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.1365, allocations: 8 kB / 0.4945 GB, free: 5.539 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002802/0.1368, allocations: 144.2 kB / 0.4947 GB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007889/0.1376, allocations: 0.5714 MB / 0.4952 GB, free: 4.777 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.1378, allocations: 66.48 kB / 0.4953 GB, free: 4.703 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.1379, allocations: 28.95 kB / 0.4953 GB, free: 4.672 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.138, allocations: 3.984 kB / 0.4953 GB, free: 4.668 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.138, allocations: 38.55 kB / 0.4954 GB, free: 4.621 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.138, allocations: 0 / 0.4954 GB, free: 4.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004331/0.1385, allocations: 133.4 kB / 0.4955 GB, free: 4.484 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.1385, allocations: 51.41 kB / 0.4955 GB, free: 4.422 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.1387, allocations: 258.6 kB / 0.4958 GB, free: 4.156 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.1388, allocations: 33.64 kB / 0.4958 GB, free: 4.117 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.116e-05/0.1389, allocations: 163.6 kB / 0.496 GB, free: 3.953 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.1389, allocations: 19.72 kB / 0.496 GB, free: 3.934 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.481e-05/0.139, allocations: 45.7 kB / 0.496 GB, free: 3.883 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.1391, allocations: 334.8 kB / 0.4964 GB, free: 3.547 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.1392, allocations: 35.97 kB / 0.4964 GB, free: 3.512 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.1394, allocations: 128.8 kB / 0.4965 GB, free: 3.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.1397, allocations: 180.7 kB / 0.4967 GB, free: 3.117 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1397, allocations: 0 / 0.4967 GB, free: 3.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003771/0.1401, allocations: 201.2 kB / 0.4969 GB, free: 2.914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1401, allocations: 10.66 kB / 0.4969 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.84e-05/0.1401, allocations: 15.98 kB / 0.4969 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.1402, allocations: 4 kB / 0.4969 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.1403, allocations: 35.92 kB / 0.4969 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.1403, allocations: 7.938 kB / 0.497 GB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.1404, allocations: 31.86 kB / 0.497 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.1405, allocations: 12.25 kB / 0.497 GB, free: 2.801 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.0001058/0.1406, allocations: 137.7 kB / 0.4971 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.94e-05/0.1406, allocations: 19.72 kB / 0.4971 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003598/0.141, allocations: 142.8 kB / 0.4973 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.141, allocations: 0 / 0.4973 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.141, allocations: 3.984 kB / 0.4973 GB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.141, allocations: 0 / 0.4973 GB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.1412, allocations: 225.5 kB / 0.4975 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/0.1413, allocations: 8 kB / 0.4975 GB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.156e-05/0.1413, allocations: 7.984 kB / 0.4975 GB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1413, allocations: 4 kB / 0.4975 GB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.1414, allocations: 0 / 0.4975 GB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1414, allocations: 0 / 0.4975 GB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1414, allocations: 0 / 0.4975 GB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.1417, allocations: 215.1 kB / 0.4977 GB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.067e-05/0.1417, allocations: 96.83 kB / 0.4978 GB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.1418, allocations: 3.938 kB / 0.4978 GB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.1419, allocations: 7.984 kB / 0.4978 GB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.1419, allocations: 8 kB / 0.4978 GB, free: 1.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.1419, allocations: 4 kB / 0.4978 GB, free: 1.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00014/0.1421, allocations: 186 kB / 0.498 GB, free: 1.652 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1421, allocations: 3.938 kB / 0.498 GB, free: 1.648 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003637/0.1425, allocations: 67.94 kB / 0.4981 GB, free: 1.582 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.0002815/0.1427, allocations: 175 kB / 0.4982 GB, free: 1.398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004324/0.1432, allocations: 168.1 kB / 0.4984 GB, free: 1.223 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1432, allocations: 0 / 0.4984 GB, free: 1.223 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.1434, allocations: 103.3 kB / 0.4985 GB, free: 1.109 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.1437, allocations: 28.81 kB / 0.4985 GB, free: 1.078 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006143/0.1444, allocations: 390 kB / 0.4989 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.1447, allocations: 0.7359 MB / 0.4996 GB, free: 15.9 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.869e-05/0.1447, allocations: 15.44 kB / 0.4996 GB, free: 15.89 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1447, allocations: 4 kB / 0.4996 GB, free: 15.88 MB / 398.1 MB Notification: Performance of Templates: time 0.005948/0.1507, allocations: 4.425 MB / 0.504 GB, free: 11.46 MB / 398.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/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