Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001481/0.001481, allocations: 117.2 kB / 18.45 MB, free: 4.594 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.001665/0.001665, allocations: 210.6 kB / 21.41 MB, free: 1.645 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.481/1.481, allocations: 227.4 MB / 251.7 MB, free: 80 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.2346/0.2346, allocations: 46.16 MB / 351.1 MB, free: 14.29 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_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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002235, allocations: 77.75 kB / 490.2 MB, free: 27.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1398, allocations: 62.45 MB / 0.5397 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003902/0.1438, allocations: 2.203 MB / 0.5419 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.1455, allocations: 1.094 MB / 0.5429 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.619e-05/0.1456, allocations: 0 / 0.5429 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003461/0.146, allocations: 87.38 kB / 0.543 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003175/0.1463, allocations: 91.31 kB / 0.5431 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.1467, allocations: 119.5 kB / 0.5432 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002401/0.1469, allocations: 178.9 kB / 0.5434 GB, free: 448 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.946e-05/0.147, allocations: 20.33 kB / 0.5434 GB, free: 428 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002285/0.1472, allocations: 71.59 kB / 0.5435 GB, free: 356 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.1474, allocations: 91.42 kB / 0.5436 GB, free: 264 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.1475, allocations: 8 kB / 0.5436 GB, free: 256 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005933/0.1481, allocations: 259.7 kB / 0.5438 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.212e-05/0.1481, allocations: 31.8 kB / 0.5439 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.075e-05/0.1482, allocations: 79.41 kB / 0.5439 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005014/0.1487, allocations: 342.3 kB / 0.5443 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1488, allocations: 0 / 0.5443 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1488, allocations: 0 / 0.5443 GB, free: 15.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.1488, allocations: 0 / 0.5443 GB, free: 15.55 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.0007136/0.1495, allocations: 0.5064 MB / 0.5447 GB, free: 14.99 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.1495, allocations: 8.031 kB / 0.5448 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.376e-05/0.1496, allocations: 28.8 kB / 0.5448 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.1499, allocations: 220 kB / 0.545 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.1499, allocations: 16.81 kB / 0.545 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/0.1499, allocations: 28.11 kB / 0.545 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004693/0.1504, allocations: 223.3 kB / 0.5452 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1504, allocations: 0 / 0.5452 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.1505, allocations: 8 kB / 0.5453 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.1505, allocations: 4 kB / 0.5453 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004662/0.1509, allocations: 249.5 kB / 0.5455 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.1521, allocations: 0.6236 MB / 0.5461 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002822/0.1523, allocations: 94.66 kB / 0.5462 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.1525, allocations: 44.89 kB / 0.5462 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.1525, allocations: 7.938 kB / 0.5462 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.1526, allocations: 38.5 kB / 0.5463 GB, free: 13.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.1526, allocations: 0 / 0.5463 GB, free: 13.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005443/0.1531, allocations: 165.4 kB / 0.5464 GB, free: 13.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.1532, allocations: 51.41 kB / 0.5465 GB, free: 13.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.1535, allocations: 270.9 kB / 0.5468 GB, free: 12.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.1535, allocations: 33.7 kB / 0.5468 GB, free: 12.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.1536, allocations: 179.3 kB / 0.547 GB, free: 12.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.99e-05/0.1537, allocations: 35.73 kB / 0.547 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.112e-05/0.1538, allocations: 45.66 kB / 0.547 GB, free: 12.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1539, allocations: 338.8 kB / 0.5474 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.1541, allocations: 51.95 kB / 0.5474 GB, free: 12.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.1544, allocations: 140.8 kB / 0.5475 GB, free: 11.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003988/0.1548, allocations: 209 kB / 0.5477 GB, free: 11.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1548, allocations: 0 / 0.5477 GB, free: 11.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005062/0.1553, allocations: 249 kB / 0.548 GB, free: 11.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.1553, allocations: 8 kB / 0.548 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.1554, allocations: 7.938 kB / 0.548 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.1554, allocations: 4.438 kB / 0.548 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003984/0.1558, allocations: 83.91 kB / 0.5481 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000883/0.1567, allocations: 1.219 MB / 0.5493 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.1569, allocations: 39.77 kB / 0.5493 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.1569, allocations: 8.188 kB / 0.5493 GB, free: 10.01 MB / 414.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.0001516/0.1571, allocations: 145.6 kB / 0.5494 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.688e-05/0.1571, allocations: 23.81 kB / 0.5495 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004554/0.1576, allocations: 171.2 kB / 0.5496 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1576, allocations: 0 / 0.5496 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1576, allocations: 0 / 0.5496 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.1576, allocations: 3.984 kB / 0.5496 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006789/0.1583, allocations: 444.1 kB / 0.5501 GB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1583, allocations: 0 / 0.5501 GB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002409/0.1586, allocations: 63.97 kB / 0.5501 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1586, allocations: 4 kB / 0.5501 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.1586, allocations: 8 kB / 0.5501 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008483/0.1594, allocations: 1.215 MB / 0.5513 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1595, allocations: 3.938 kB / 0.5513 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004111/0.1599, allocations: 245 kB / 0.5516 GB, free: 7.555 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.926e-05/0.16, allocations: 96.91 kB / 0.5517 GB, free: 7.441 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.53e-05/0.16, allocations: 7.984 kB / 0.5517 GB, free: 7.434 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.1601, allocations: 8.062 kB / 0.5517 GB, free: 7.426 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.856e-05/0.1602, allocations: 11.98 kB / 0.5517 GB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.1602, allocations: 4 kB / 0.5517 GB, free: 7.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001844/0.1604, allocations: 186 kB / 0.5519 GB, free: 7.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1604, allocations: 0 / 0.5519 GB, free: 7.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003872/0.1608, allocations: 67.88 kB / 0.5519 GB, free: 7.164 MB / 414.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.0003417/0.1612, allocations: 147.2 kB / 0.5521 GB, free: 7.012 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000567/0.1617, allocations: 179.6 kB / 0.5522 GB, free: 6.836 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1617, allocations: 0 / 0.5522 GB, free: 6.836 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002969/0.1621, allocations: 83.89 kB / 0.5523 GB, free: 6.754 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.1624, allocations: 25.89 kB / 0.5523 GB, free: 6.727 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008259/0.1632, allocations: 408.9 kB / 0.5527 GB, free: 6.293 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/0.1637, allocations: 0.7284 MB / 0.5534 GB, free: 5.539 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.247e-05/0.1637, allocations: 21.95 kB / 0.5535 GB, free: 5.516 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.63e-05/0.1638, allocations: 15.44 kB / 0.5535 GB, free: 5.5 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1638, allocations: 0 / 0.5535 GB, free: 5.5 MB / 414.1 MB Notification: Performance of Templates: time 0.008197/0.172, allocations: 3.562 MB / 0.557 GB, free: 1.98 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 5.133598514832556]