Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 116.5 kB / 18.45 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002041/0.002041, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.577/1.577, allocations: 230.6 MB / 254.8 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2483/0.2483, allocations: 46.92 MB / 357.8 MB, free: 10.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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_4.1.0_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=5003,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_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 59.89 kB / 0.4921 GB, free: 7.426 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1359, allocations: 65.99 MB / 0.5566 GB, free: 5.301 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.004099/0.14, allocations: 2.199 MB / 0.5587 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.142, allocations: 1.106 MB / 0.5598 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.1421, allocations: 0 / 0.5598 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003722/0.1425, allocations: 87.38 kB / 0.5599 GB, free: 1.891 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003778/0.1429, allocations: 91.27 kB / 0.56 GB, free: 1.801 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.1432, allocations: 123.5 kB / 0.5601 GB, free: 1.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002313/0.1434, allocations: 174.9 kB / 0.5602 GB, free: 1.508 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.914e-05/0.1435, allocations: 16.39 kB / 0.5603 GB, free: 1.492 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002252/0.1437, allocations: 79.52 kB / 0.5603 GB, free: 1.414 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.1439, allocations: 83.5 kB / 0.5604 GB, free: 1.332 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.1439, allocations: 8 kB / 0.5604 GB, free: 1.324 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004359/0.1443, allocations: 267.6 kB / 0.5607 GB, free: 1.062 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.704e-05/0.1444, allocations: 35.72 kB / 0.5607 GB, free: 1.027 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.646e-05/0.1445, allocations: 83.36 kB / 0.5608 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004927/0.145, allocations: 338.5 kB / 0.5611 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.145, allocations: 0 / 0.5611 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.145, allocations: 0 / 0.5611 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.145, allocations: 0 / 0.5611 GB, free: 0.6133 MB / 414.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.0007001/0.1457, allocations: 0.4948 MB / 0.5616 GB, free: 68 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1458, allocations: 12.03 kB / 0.5616 GB, free: 56 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.58e-05/0.1458, allocations: 28.8 kB / 0.5616 GB, free: 28 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.1461, allocations: 208 kB / 0.5618 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.1461, allocations: 24.81 kB / 0.5619 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/0.1461, allocations: 24.06 kB / 0.5619 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004341/0.1466, allocations: 227.2 kB / 0.5621 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1466, allocations: 0 / 0.5621 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.1466, allocations: 8 kB / 0.5621 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.1466, allocations: 11.94 kB / 0.5621 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005053/0.1471, allocations: 245.6 kB / 0.5623 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009958/0.1481, allocations: 0.6275 MB / 0.563 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.1484, allocations: 94.66 kB / 0.563 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.1485, allocations: 36.84 kB / 0.5631 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.1486, allocations: 7.969 kB / 0.5631 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.1486, allocations: 38.56 kB / 0.5631 GB, free: 14.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.1486, allocations: 0 / 0.5631 GB, free: 14.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005443/0.1491, allocations: 161.4 kB / 0.5633 GB, free: 14.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.1492, allocations: 59.41 kB / 0.5633 GB, free: 14.14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.1495, allocations: 267 kB / 0.5636 GB, free: 13.87 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.1495, allocations: 29.7 kB / 0.5636 GB, free: 13.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.1496, allocations: 175.4 kB / 0.5638 GB, free: 13.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/0.1497, allocations: 31.73 kB / 0.5638 GB, free: 13.63 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.2e-05/0.1497, allocations: 49.66 kB / 0.5639 GB, free: 13.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1499, allocations: 338.8 kB / 0.5642 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.15, allocations: 44.34 kB / 0.5642 GB, free: 13.19 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.1503, allocations: 155 kB / 0.5644 GB, free: 13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/0.1507, allocations: 204.7 kB / 0.5646 GB, free: 12.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.1507, allocations: 4 kB / 0.5646 GB, free: 12.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005281/0.1512, allocations: 245 kB / 0.5648 GB, free: 12.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1512, allocations: 9.859 kB / 0.5648 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.1512, allocations: 4 kB / 0.5648 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.1512, allocations: 4 kB / 0.5648 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003966/0.1516, allocations: 84.34 kB / 0.5649 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008043/0.1524, allocations: 1.219 MB / 0.5661 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.1526, allocations: 43.64 kB / 0.5661 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.1527, allocations: 15.98 kB / 0.5662 GB, free: 11.08 MB / 430.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.0001267/0.1528, allocations: 137.9 kB / 0.5663 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.207e-05/0.1528, allocations: 31.8 kB / 0.5663 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004483/0.1533, allocations: 159.3 kB / 0.5665 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.1533, allocations: 4 kB / 0.5665 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1533, allocations: 0 / 0.5665 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1533, allocations: 3.938 kB / 0.5665 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007305/0.154, allocations: 452 kB / 0.5669 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.154, allocations: 0 / 0.5669 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/0.1543, allocations: 60.03 kB / 0.567 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1543, allocations: 0 / 0.567 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.1543, allocations: 8 kB / 0.567 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007955/0.1551, allocations: 1.215 MB / 0.5682 GB, free: 8.898 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1551, allocations: 4.188 kB / 0.5682 GB, free: 8.895 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004033/0.1555, allocations: 249 kB / 0.5684 GB, free: 8.629 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.763e-05/0.1556, allocations: 96.97 kB / 0.5685 GB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.1556, allocations: 0 / 0.5685 GB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.1558, allocations: 19.92 kB / 0.5685 GB, free: 8.496 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.1558, allocations: 11.98 kB / 0.5685 GB, free: 8.484 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.1558, allocations: 4 kB / 0.5685 GB, free: 8.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001752/0.156, allocations: 186 kB / 0.5687 GB, free: 8.301 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.156, allocations: 0 / 0.5687 GB, free: 8.301 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003839/0.1564, allocations: 67.88 kB / 0.5688 GB, free: 8.234 MB / 430.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.0002958/0.1567, allocations: 154.4 kB / 0.5689 GB, free: 8.078 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005796/0.1573, allocations: 171.8 kB / 0.5691 GB, free: 7.91 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1573, allocations: 0 / 0.5691 GB, free: 7.91 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000312/0.1576, allocations: 79.95 kB / 0.5692 GB, free: 7.832 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.158, allocations: 21.11 kB / 0.5692 GB, free: 7.809 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009122/0.1589, allocations: 440.9 kB / 0.5696 GB, free: 7.336 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.1593, allocations: 0.7323 MB / 0.5703 GB, free: 6.574 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.28e-05/0.1593, allocations: 19.44 kB / 0.5703 GB, free: 6.555 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1593, allocations: 0 / 0.5703 GB, free: 6.555 MB / 430.1 MB Notification: Performance of Templates: time 0.007137/0.1665, allocations: 4.401 MB / 0.5746 GB, free: 2.164 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.448855433001881]