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_KC.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_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 106.1 kB / 17.03 MB, free: 6.102 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.001226/0.001226, allocations: 196.1 kB / 17.96 MB, free: 5.195 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.513/1.513, 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.234/0.234, allocations: 43.53 MB / 314.7 MB, free: 476 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.001475/0.001475, allocations: 69.67 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1265, allocations: 57.8 MB / 442 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003695/0.1302, allocations: 2.165 MB / 444.1 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.1318, allocations: 1.099 MB / 445.2 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.202e-05/0.1319, allocations: 4 kB / 445.3 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003096/0.1322, allocations: 87.38 kB / 445.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003015/0.1325, allocations: 95.3 kB / 445.4 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.1329, allocations: 111.6 kB / 445.5 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.1331, allocations: 182.8 kB / 445.7 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.397e-05/0.1331, allocations: 16.34 kB / 445.7 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.1333, allocations: 71.59 kB / 445.8 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.1334, allocations: 87.42 kB / 445.9 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.1335, allocations: 4 kB / 445.9 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003843/0.1339, allocations: 267.6 kB / 446.2 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.53e-05/0.1339, allocations: 31.77 kB / 446.2 MB, free: 1.887 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.679e-05/0.134, allocations: 79.42 kB / 446.3 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000431/0.1345, allocations: 334.6 kB / 446.6 MB, free: 1.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1345, allocations: 0 / 446.6 MB, free: 1.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1345, allocations: 0 / 446.6 MB, free: 1.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.1345, allocations: 0 / 446.6 MB, free: 1.48 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005399/0.1351, allocations: 499 kB / 447.1 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1351, allocations: 15.89 kB / 447.1 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.162e-05/0.1352, allocations: 32.64 kB / 447.1 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.1353, allocations: 217.9 kB / 447.3 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.1354, allocations: 12.81 kB / 447.3 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.1354, allocations: 28.06 kB / 447.4 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003551/0.1358, allocations: 227.2 kB / 447.6 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1358, allocations: 0 / 447.6 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.1358, allocations: 8 kB / 447.6 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.1358, allocations: 4 kB / 447.6 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003366/0.1362, allocations: 253.6 kB / 447.9 MB, free: 128 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.1372, allocations: 0.6118 MB / 448.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.1375, allocations: 102.4 kB / 448.6 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.1376, allocations: 48.98 kB / 448.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.1377, allocations: 0 / 448.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.1377, allocations: 42.56 kB / 448.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 2.495e-06/0.1377, allocations: 3.984 kB / 448.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005321/0.1383, allocations: 165.3 kB / 448.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.148e-05/0.1383, allocations: 59.41 kB / 448.9 MB, free: 15.01 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.1386, allocations: 263 kB / 449.1 MB, free: 14.74 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.1387, allocations: 26.08 kB / 449.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.1388, allocations: 175.3 kB / 449.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.1389, allocations: 35.55 kB / 449.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.094e-05/0.139, allocations: 45.61 kB / 449.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.1392, allocations: 342.7 kB / 449.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.1393, allocations: 47.97 kB / 449.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.1395, allocations: 145.9 kB / 449.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.1399, allocations: 216.6 kB / 450.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.1399, allocations: 0 / 450.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004514/0.1404, allocations: 237 kB / 450.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.1404, allocations: 8 kB / 450.4 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1404, allocations: 448 / 450.4 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.1404, allocations: 12 kB / 450.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004097/0.1409, allocations: 87.89 kB / 450.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008102/0.1417, allocations: 1.207 MB / 451.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.1419, allocations: 51.7 kB / 451.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.1419, allocations: 8 kB / 451.8 MB, free: 11.96 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001483/0.1421, allocations: 146 kB / 451.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.1421, allocations: 19.72 kB / 451.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004471/0.1426, allocations: 167.3 kB / 452.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1426, allocations: 0 / 452.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/0.1426, allocations: 0 / 452.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1426, allocations: 3.938 kB / 452.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006529/0.1433, allocations: 456 kB / 452.5 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1433, allocations: 0 / 452.5 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.1436, allocations: 55.97 kB / 452.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.1436, allocations: 4 kB / 452.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.1436, allocations: 4 kB / 452.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006357/0.1442, allocations: 1.211 MB / 453.8 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1442, allocations: 0 / 453.8 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003525/0.1446, allocations: 248.8 kB / 454 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.388e-05/0.1447, allocations: 104.8 kB / 454.1 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.149e-05/0.1447, allocations: 4 kB / 454.1 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.1449, allocations: 11.98 kB / 454.2 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.582e-05/0.1449, allocations: 8 kB / 454.2 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.145, allocations: 4 kB / 454.2 MB, free: 9.367 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001573/0.1451, allocations: 186.1 kB / 454.4 MB, free: 9.188 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.814e-06/0.1451, allocations: 0 / 454.4 MB, free: 9.188 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003719/0.1455, allocations: 79.86 kB / 454.4 MB, free: 9.109 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003172/0.1458, allocations: 135.2 kB / 454.6 MB, free: 8.969 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005339/0.1464, allocations: 179.7 kB / 454.7 MB, free: 8.793 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1464, allocations: 0 / 454.7 MB, free: 8.793 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003554/0.1467, allocations: 83.94 kB / 454.8 MB, free: 8.711 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.1472, allocations: 25.88 kB / 454.8 MB, free: 8.684 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008313/0.148, allocations: 406.7 kB / 455.2 MB, free: 8.254 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.1484, allocations: 0.7284 MB / 456 MB, free: 7.5 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.583e-05/0.1484, allocations: 21.95 kB / 456 MB, free: 7.477 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/0.1485, allocations: 19.42 kB / 456 MB, free: 7.457 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1485, allocations: 0 / 456 MB, free: 7.457 MB / 334.1 MB Notification: Performance of Templates: time 0.007013/0.1555, allocations: 3.519 MB / 459.5 MB, free: 3.977 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_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/kc_flatTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches