Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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.001365/0.001365, allocations: 118 kB / 18.46 MB, free: 4.613 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.001526/0.001526, allocations: 207.4 kB / 21.4 MB, free: 1.668 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.477/1.477, allocations: 227.4 MB / 251.7 MB, free: 280 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2568/0.2568, allocations: 46.18 MB / 351.1 MB, free: 14.4 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_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.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 80.28 kB / 490.2 MB, free: 27.89 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1351, allocations: 62.46 MB / 0.5397 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004579/0.1398, allocations: 2.684 MB / 0.5424 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002603/0.1424, allocations: 1.48 MB / 0.5438 GB, free: 60 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.1426, allocations: 4 kB / 0.5438 GB, free: 56 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004146/0.143, allocations: 111.2 kB / 0.5439 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003739/0.1434, allocations: 134.8 kB / 0.544 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006205/0.144, allocations: 267.1 kB / 0.5443 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003376/0.1444, allocations: 278 kB / 0.5446 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.412e-05/0.1444, allocations: 24.73 kB / 0.5446 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.1446, allocations: 99.39 kB / 0.5447 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.1448, allocations: 123.1 kB / 0.5448 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.1448, allocations: 8 kB / 0.5448 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001092/0.1459, allocations: 0.6124 MB / 0.5454 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.827e-05/0.146, allocations: 39.66 kB / 0.5454 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.1462, allocations: 139 kB / 0.5456 GB, free: 14.24 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007858/0.147, allocations: 0.5524 MB / 0.5461 GB, free: 13.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.147, allocations: 4 kB / 0.5461 GB, free: 13.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.147, allocations: 0 / 0.5461 GB, free: 13.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.147, allocations: 0 / 0.5461 GB, free: 13.68 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0009088/0.1479, allocations: 0.6427 MB / 0.5467 GB, free: 12.99 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.148, allocations: 8.031 kB / 0.5468 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.708e-05/0.1481, allocations: 40.7 kB / 0.5468 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.1484, allocations: 255.5 kB / 0.547 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.1484, allocations: 25.38 kB / 0.5471 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.016e-05/0.1485, allocations: 40.12 kB / 0.5471 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007641/0.1492, allocations: 0.5802 MB / 0.5477 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.1493, allocations: 7.938 kB / 0.5477 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.205e-05/0.1493, allocations: 20 kB / 0.5477 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.1493, allocations: 8 kB / 0.5477 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005422/0.1499, allocations: 341 kB / 0.548 GB, free: 11.51 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002854/0.1527, allocations: 4.051 MB / 0.552 GB, free: 7.254 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.153, allocations: 90.66 kB / 0.5521 GB, free: 7.156 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.1532, allocations: 32.84 kB / 0.5521 GB, free: 7.121 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.1532, allocations: 3.984 kB / 0.5521 GB, free: 7.117 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.1532, allocations: 38.5 kB / 0.5521 GB, free: 7.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 2.184e-06/0.1533, allocations: 4 kB / 0.5521 GB, free: 7.066 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005609/0.1538, allocations: 161.4 kB / 0.5523 GB, free: 6.902 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.1539, allocations: 51.41 kB / 0.5523 GB, free: 6.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004402/0.1543, allocations: 417.7 kB / 0.5527 GB, free: 6.422 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.1544, allocations: 29.64 kB / 0.5528 GB, free: 6.387 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.1546, allocations: 255.6 kB / 0.553 GB, free: 6.133 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.1546, allocations: 31.78 kB / 0.553 GB, free: 6.102 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.1547, allocations: 73.97 kB / 0.5531 GB, free: 6.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.1549, allocations: 350.7 kB / 0.5535 GB, free: 5.668 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.155, allocations: 56.61 kB / 0.5535 GB, free: 5.613 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/0.1554, allocations: 262.4 kB / 0.5538 GB, free: 5.254 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005127/0.1559, allocations: 356.1 kB / 0.5541 GB, free: 4.805 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1559, allocations: 0 / 0.5541 GB, free: 4.805 MB / 414.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006265/0.1565, allocations: 361.4 kB / 0.5544 GB, free: 4.445 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.1566, allocations: 8 kB / 0.5544 GB, free: 4.438 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.676e-05/0.1566, allocations: 8 kB / 0.5545 GB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.1566, allocations: 8 kB / 0.5545 GB, free: 4.422 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004674/0.1571, allocations: 111.8 kB / 0.5546 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008419/0.158, allocations: 1.227 MB / 0.5558 GB, free: 3.039 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002891/0.1583, allocations: 63.52 kB / 0.5558 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.1583, allocations: 16 kB / 0.5558 GB, free: 2.961 MB / 414.1 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_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * 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 0.0001928/0.1585, allocations: 158.3 kB / 0.556 GB, free: 2.797 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.578e-05/0.1586, allocations: 39.7 kB / 0.556 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000476/0.1591, allocations: 169 kB / 0.5562 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.1591, allocations: 0 / 0.5562 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1591, allocations: 0 / 0.5562 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1591, allocations: 11.98 kB / 0.5562 GB, free: 2.574 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003311/0.1594, allocations: 277.5 kB / 0.5565 GB, free: 2.254 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1594, allocations: 3.938 kB / 0.5565 GB, free: 2.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002687/0.1597, allocations: 55.97 kB / 0.5565 GB, free: 2.195 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.1597, allocations: 4 kB / 0.5565 GB, free: 2.191 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.1598, allocations: 0 / 0.5565 GB, free: 2.191 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007682/0.1605, allocations: 1.211 MB / 0.5577 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1605, allocations: 0 / 0.5577 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004027/0.1609, allocations: 231.2 kB / 0.5579 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.1611, allocations: 112.8 kB / 0.558 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/0.1611, allocations: 12.03 kB / 0.5581 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.1613, allocations: 12 kB / 0.5581 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/0.1613, allocations: 7.984 kB / 0.5581 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.1613, allocations: 0 / 0.5581 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002755/0.1616, allocations: 279.1 kB / 0.5583 GB, free: 268 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1616, allocations: 0 / 0.5583 GB, free: 268 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005392/0.1622, allocations: 119.8 kB / 0.5585 GB, free: 148 kB / 414.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 (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.0004248/0.1626, allocations: 179.1 kB / 0.5586 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005977/0.1632, allocations: 208.2 kB / 0.5588 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1632, allocations: 0 / 0.5588 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002748/0.1635, allocations: 77.27 kB / 0.5589 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.1639, allocations: 42.5 kB / 0.5589 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009419/0.1649, allocations: 0.5026 MB / 0.5594 GB, free: 15.11 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004832/0.1654, allocations: 0.7717 MB / 0.5602 GB, free: 14.31 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.1655, allocations: 34.95 kB / 0.5602 GB, free: 14.28 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.633e-05/0.1656, allocations: 23.44 kB / 0.5602 GB, free: 14.25 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1656, allocations: 0 / 0.5602 GB, free: 14.25 MB / 430.1 MB Notification: Performance of Templates: time 0.01346/0.1791, allocations: 6.372 MB / 0.5665 GB, free: 7.926 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube_KC/kc_roundTube_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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: 5.3889746917411685]