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_roundTube_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.001136/0.001136, allocations: 80.05 kB / 20.72 MB, free: 3.77 MB / 18.57 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.001483/0.001483, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9198/0.9198, allocations: 158.6 MB / 186 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1413/0.1413, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] 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.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_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Nu|m_flow.[0-9,]+.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Nu|m_flow.[0-9,]+.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.183e-06/1.183e-06, allocations: 0 / 299.1 MB, free: 2.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.594e-05/1.712e-05, allocations: 2.312 kB / 299.1 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.1439/0.1439, allocations: 2.675 MB / 301.8 MB, free: 19.28 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002306/0.1462, allocations: 1.446 MB / 303.2 MB, free: 18.86 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.1464, allocations: 1.25 kB / 303.2 MB, free: 18.86 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003535/0.1467, allocations: 108.3 kB / 303.3 MB, free: 18.81 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00037/0.1471, allocations: 151.8 kB / 303.5 MB, free: 18.72 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006961/0.1478, allocations: 260.7 kB / 303.7 MB, free: 18.67 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000327/0.1481, allocations: 299.1 kB / 304 MB, free: 18.54 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.141e-05/0.1482, allocations: 17.25 kB / 304.1 MB, free: 18.53 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.1484, allocations: 134.4 kB / 304.2 MB, free: 18.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.1485, allocations: 91.27 kB / 304.3 MB, free: 18.48 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.1486, allocations: 10.98 kB / 304.3 MB, free: 18.48 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007925/0.1494, allocations: 429.9 kB / 304.7 MB, free: 18.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.1495, allocations: 42.41 kB / 304.8 MB, free: 18.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.1496, allocations: 77.41 kB / 304.8 MB, free: 18.38 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000772/0.1504, allocations: 0.5132 MB / 305.3 MB, free: 18.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.1504, allocations: 1.375 kB / 305.3 MB, free: 18.16 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1504, allocations: 0 / 305.3 MB, free: 18.16 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.1504, allocations: 3.094 kB / 305.3 MB, free: 18.16 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.000638/0.151, allocations: 0.5272 MB / 305.9 MB, free: 17.74 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.151, allocations: 9.219 kB / 305.9 MB, free: 17.74 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.288e-05/0.1511, allocations: 55.73 kB / 305.9 MB, free: 17.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.1513, allocations: 182.7 kB / 306.1 MB, free: 17.55 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.1513, allocations: 28.59 kB / 306.1 MB, free: 17.54 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.1513, allocations: 36.38 kB / 306.2 MB, free: 17.53 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003849/0.1517, allocations: 0.5084 MB / 306.7 MB, free: 17.07 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.1517, allocations: 7.062 kB / 306.7 MB, free: 17.06 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.1518, allocations: 25.12 kB / 306.7 MB, free: 17.05 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.1518, allocations: 11 kB / 306.7 MB, free: 17.05 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/0.152, allocations: 191.8 kB / 306.9 MB, free: 16.99 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.1532, allocations: 3.759 MB / 310.7 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.1533, allocations: 43.48 kB / 310.7 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.773e-05/0.1533, allocations: 16.31 kB / 310.7 MB, free: 13.28 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.1533, allocations: 2.531 kB / 310.7 MB, free: 13.28 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.1533, allocations: 32.22 kB / 310.8 MB, free: 13.24 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.1533, allocations: 0 / 310.8 MB, free: 13.24 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001724/0.1535, allocations: 73.94 kB / 310.8 MB, free: 13.2 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.1535, allocations: 53.47 kB / 310.9 MB, free: 13.14 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.1537, allocations: 293.9 kB / 311.2 MB, free: 12.95 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.1537, allocations: 26.92 kB / 311.2 MB, free: 12.92 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.661e-05/0.1538, allocations: 260.5 kB / 311.5 MB, free: 12.7 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.1538, allocations: 28.59 kB / 311.5 MB, free: 12.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.032e-05/0.1539, allocations: 73.31 kB / 311.6 MB, free: 12.63 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.382e-05/0.1539, allocations: 336.7 kB / 311.9 MB, free: 12.31 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.594e-05/0.154, allocations: 22.12 kB / 311.9 MB, free: 12.31 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.1541, allocations: 235.9 kB / 312.1 MB, free: 12.03 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.1543, allocations: 308.7 kB / 312.4 MB, free: 11.7 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.1543, allocations: 2.938 kB / 312.4 MB, free: 11.7 MB / 282.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002889/0.1546, allocations: 236.8 kB / 312.7 MB, free: 11.61 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1546, allocations: 10.19 kB / 312.7 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.1546, allocations: 7.656 kB / 312.7 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.1546, allocations: 17.12 kB / 312.7 MB, free: 11.6 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/0.1549, allocations: 90.53 kB / 312.8 MB, free: 11.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003259/0.1552, allocations: 1.196 MB / 314 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.1554, allocations: 48.84 kB / 314 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.1554, allocations: 18.98 kB / 314.1 MB, free: 10.35 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_2.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_4.geometry,m_flow_IN_con_4.N) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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 8.57e-05/0.1555, allocations: 137.9 kB / 314.2 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.1555, allocations: 13.69 kB / 314.2 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.1557, allocations: 99.06 kB / 314.3 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1557, allocations: 1.188 kB / 314.3 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.1557, allocations: 1.312 kB / 314.3 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.1557, allocations: 5.797 kB / 314.3 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.1559, allocations: 141.2 kB / 314.4 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1559, allocations: 3.938 kB / 314.5 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.156, allocations: 29.75 kB / 314.5 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.156, allocations: 1.094 kB / 314.5 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.156, allocations: 1.703 kB / 314.5 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002491/0.1563, allocations: 1.202 MB / 315.7 MB, free: 8.828 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1563, allocations: 6.016 kB / 315.7 MB, free: 8.824 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.1564, allocations: 163.1 kB / 315.9 MB, free: 8.684 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.135e-05/0.1564, allocations: 22.98 kB / 315.9 MB, free: 8.668 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.1564, allocations: 3.297 kB / 315.9 MB, free: 8.668 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.794e-05/0.1565, allocations: 4.234 kB / 315.9 MB, free: 8.668 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.1565, allocations: 9.734 kB / 315.9 MB, free: 8.664 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.1565, allocations: 2.266 kB / 315.9 MB, free: 8.664 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.283e-05/0.1566, allocations: 90.06 kB / 316 MB, free: 8.633 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1566, allocations: 0.7812 kB / 316 MB, free: 8.633 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003568/0.157, allocations: 129.9 kB / 316.1 MB, free: 8.602 MB / 282.7 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 (7): * Single equations (assignments): 5 * 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.0003299/0.1573, allocations: 164.4 kB / 316.3 MB, free: 8.504 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003134/0.1576, allocations: 139.4 kB / 316.4 MB, free: 8.457 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.639e-05/0.1576, allocations: 6.531 kB / 316.4 MB, free: 8.457 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.1577, allocations: 38.3 kB / 316.4 MB, free: 8.445 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.1579, allocations: 29.66 kB / 316.5 MB, free: 8.426 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009056/0.1588, allocations: 0.4884 MB / 317 MB, free: 8.098 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.771e-05/0.1589, allocations: 88.06 kB / 317.1 MB, free: 8.023 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.927e-05/0.159, allocations: 19.7 kB / 317.1 MB, free: 8.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.114e-05/0.159, allocations: 71.12 kB / 317.1 MB, free: 7.973 MB / 282.7 MB Notification: Performance of SimCode: time 8.82e-07/0.159, allocations: 0 / 317.1 MB, free: 7.973 MB / 282.7 MB Notification: Performance of Templates: time 0.01057/0.1696, allocations: 6.082 MB / 323.2 MB, free: 5.395 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube_KC/kc_roundTube_KC.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.261104009114206]