Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001575/0.001575, allocations: 116.8 kB / 19.17 MB, free: 3.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001871/0.001871, allocations: 214.6 kB / 22.13 MB, free: 0.9414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 230.2 MB / 255.2 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2337/0.2337, allocations: 46.89 MB / 358.1 MB, free: 10.52 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003193/0.003193, allocations: 75.88 kB / 0.4924 GB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1393, allocations: 65.99 MB / 0.5568 GB, free: 5.891 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003651/0.143, allocations: 2.205 MB / 0.559 GB, free: 3.664 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.1446, allocations: 1.098 MB / 0.5601 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.327e-05/0.1447, allocations: 0 / 0.5601 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.145, allocations: 95.38 kB / 0.5602 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002815/0.1453, allocations: 91.31 kB / 0.5602 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.1456, allocations: 127.4 kB / 0.5604 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.1458, allocations: 178.9 kB / 0.5605 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.074e-05/0.1458, allocations: 12.41 kB / 0.5605 GB, free: 2.066 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.146, allocations: 79.52 kB / 0.5606 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.1462, allocations: 87.5 kB / 0.5607 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.1462, allocations: 4 kB / 0.5607 GB, free: 1.898 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004418/0.1466, allocations: 267.6 kB / 0.561 GB, free: 1.637 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.874e-05/0.1467, allocations: 27.78 kB / 0.561 GB, free: 1.609 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.769e-05/0.1468, allocations: 83.41 kB / 0.5611 GB, free: 1.527 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004547/0.1472, allocations: 330.5 kB / 0.5614 GB, free: 1.203 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1472, allocations: 0 / 0.5614 GB, free: 1.203 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.1472, allocations: 3.938 kB / 0.5614 GB, free: 1.199 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.1472, allocations: 4 kB / 0.5614 GB, free: 1.195 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.0006585/0.1479, allocations: 0.5025 MB / 0.5619 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.1479, allocations: 8.031 kB / 0.5619 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.742e-05/0.148, allocations: 24.8 kB / 0.5619 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.1482, allocations: 220 kB / 0.5621 GB, free: 364 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.1482, allocations: 12.81 kB / 0.5621 GB, free: 352 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.1483, allocations: 24.12 kB / 0.5622 GB, free: 328 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004194/0.1487, allocations: 227.3 kB / 0.5624 GB, free: 96 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1487, allocations: 0 / 0.5624 GB, free: 96 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.1487, allocations: 12 kB / 0.5624 GB, free: 84 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1487, allocations: 4 kB / 0.5624 GB, free: 80 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004631/0.1492, allocations: 253.6 kB / 0.5626 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.1502, allocations: 0.6274 MB / 0.5632 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.1505, allocations: 94.61 kB / 0.5633 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.1506, allocations: 40.94 kB / 0.5634 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.1506, allocations: 0 / 0.5634 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.1507, allocations: 38.5 kB / 0.5634 GB, free: 14.96 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 8.92e-07/0.1507, allocations: 0 / 0.5634 GB, free: 14.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005439/0.1512, allocations: 169.4 kB / 0.5636 GB, free: 14.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.1513, allocations: 55.77 kB / 0.5636 GB, free: 14.72 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.1515, allocations: 263 kB / 0.5639 GB, free: 14.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.1516, allocations: 29.7 kB / 0.5639 GB, free: 14.42 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.1517, allocations: 179.3 kB / 0.5641 GB, free: 14.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.1517, allocations: 35.69 kB / 0.5641 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.979e-05/0.1518, allocations: 45.66 kB / 0.5642 GB, free: 14.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.152, allocations: 342.8 kB / 0.5645 GB, free: 13.81 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.1521, allocations: 51.95 kB / 0.5645 GB, free: 13.76 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.1524, allocations: 140.8 kB / 0.5647 GB, free: 13.58 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004275/0.1528, allocations: 212.6 kB / 0.5649 GB, free: 13.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1528, allocations: 0 / 0.5649 GB, free: 13.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004922/0.1533, allocations: 241.4 kB / 0.5651 GB, free: 13.08 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1533, allocations: 8 kB / 0.5651 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1533, allocations: 0 / 0.5651 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.1533, allocations: 8 kB / 0.5651 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003885/0.1537, allocations: 83.91 kB / 0.5652 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008646/0.1546, allocations: 1.223 MB / 0.5664 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.1548, allocations: 35.78 kB / 0.5664 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.1548, allocations: 8 kB / 0.5664 GB, free: 11.67 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.0001433/0.1549, allocations: 141.6 kB / 0.5666 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.155, allocations: 23.81 kB / 0.5666 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000462/0.1554, allocations: 171.3 kB / 0.5667 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1554, allocations: 0 / 0.5667 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.1555, allocations: 3.984 kB / 0.5668 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1555, allocations: 0 / 0.5668 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000688/0.1561, allocations: 448.1 kB / 0.5672 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.1561, allocations: 3.984 kB / 0.5672 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/0.1564, allocations: 55.92 kB / 0.5672 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.1564, allocations: 4 kB / 0.5672 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.1564, allocations: 4 kB / 0.5672 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000758/0.1572, allocations: 1.215 MB / 0.5684 GB, free: 9.492 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.1572, allocations: 3.938 kB / 0.5684 GB, free: 9.488 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003993/0.1576, allocations: 253.2 kB / 0.5687 GB, free: 9.219 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.532e-05/0.1577, allocations: 100.9 kB / 0.5688 GB, free: 9.102 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.1577, allocations: 4 kB / 0.5688 GB, free: 9.098 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.1579, allocations: 4 kB / 0.5688 GB, free: 9.094 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.1579, allocations: 16.11 kB / 0.5688 GB, free: 9.078 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.1579, allocations: 4 kB / 0.5688 GB, free: 9.074 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001804/0.1581, allocations: 193.9 kB / 0.569 GB, free: 8.887 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1581, allocations: 0 / 0.569 GB, free: 8.887 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003838/0.1585, allocations: 63.94 kB / 0.569 GB, free: 8.824 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.0002801/0.1588, allocations: 151 kB / 0.5692 GB, free: 8.668 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005735/0.1593, allocations: 163.7 kB / 0.5693 GB, free: 8.508 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1593, allocations: 4.875 kB / 0.5694 GB, free: 8.504 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003078/0.1596, allocations: 87.89 kB / 0.5694 GB, free: 8.418 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.16, allocations: 17.22 kB / 0.5695 GB, free: 8.398 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009306/0.161, allocations: 436.3 kB / 0.5699 GB, free: 7.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.1614, allocations: 0.7363 MB / 0.5706 GB, free: 7.168 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.268e-05/0.1615, allocations: 15.44 kB / 0.5706 GB, free: 7.152 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1615, allocations: 0 / 0.5706 GB, free: 7.152 MB / 430.1 MB Notification: Performance of Templates: time 0.007413/0.1689, allocations: 4.416 MB / 0.5749 GB, free: 2.75 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.110525400843471]