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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001195/0.001194, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001194/0.001194, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2138/0.2138, allocations: 46.11 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.00143, allocations: 83.16 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1358, allocations: 62.44 MB / 480 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.00413/0.1399, allocations: 2.188 MB / 482.2 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.1419, allocations: 1.102 MB / 483.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.1421, allocations: 0 / 483.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003726/0.1424, allocations: 99.3 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000377/0.1429, allocations: 87.27 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000377/0.1432, allocations: 119.5 kB / 483.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002901/0.1435, allocations: 174.9 kB / 483.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.493e-05/0.1436, allocations: 20.39 kB / 483.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002415/0.1439, allocations: 79.52 kB / 483.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.144, allocations: 91.44 kB / 484 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.1441, allocations: 4 kB / 484 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004455/0.1445, allocations: 267.6 kB / 484.3 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.392e-05/0.1446, allocations: 19.86 kB / 484.3 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.1447, allocations: 87.41 kB / 484.4 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004685/0.1452, allocations: 330.6 kB / 484.7 MB, free: 0.625 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1452, allocations: 0 / 484.7 MB, free: 0.625 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1452, allocations: 0 / 484.7 MB, free: 0.625 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1452, allocations: 0 / 484.7 MB, free: 0.625 MB / 350.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.0007293/0.1459, allocations: 0.4951 MB / 485.2 MB, free: 84 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.146, allocations: 12.03 kB / 485.2 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.534e-05/0.1461, allocations: 24.66 kB / 485.2 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.1464, allocations: 211.9 kB / 485.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.1464, allocations: 20.81 kB / 485.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.1464, allocations: 24.12 kB / 485.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004831/0.1469, allocations: 223.3 kB / 485.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.147, allocations: 0 / 485.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.147, allocations: 8 kB / 485.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.147, allocations: 11.98 kB / 485.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004719/0.1475, allocations: 245.6 kB / 485.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.1487, allocations: 0.6195 MB / 486.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.149, allocations: 102.6 kB / 486.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.1491, allocations: 44.94 kB / 486.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.1492, allocations: 0 / 486.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.1492, allocations: 38.56 kB / 486.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 2.485e-06/0.1492, allocations: 0 / 486.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005635/0.1498, allocations: 165.3 kB / 486.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.1498, allocations: 59.34 kB / 487 MB, free: 14.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00028/0.1501, allocations: 266.9 kB / 487.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.1501, allocations: 29.7 kB / 487.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.1503, allocations: 171.3 kB / 487.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.1503, allocations: 31.5 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.672e-05/0.1504, allocations: 49.69 kB / 487.5 MB, free: 13.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1505, allocations: 338.8 kB / 487.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.1507, allocations: 51.95 kB / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.1509, allocations: 140.8 kB / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003661/0.1513, allocations: 208.6 kB / 488.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1513, allocations: 4 kB / 488.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004968/0.1518, allocations: 237.4 kB / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.1518, allocations: 6.5 kB / 488.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.1518, allocations: 4 kB / 488.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.1519, allocations: 11.94 kB / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003845/0.1523, allocations: 83.91 kB / 488.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007337/0.153, allocations: 1.219 MB / 489.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.1532, allocations: 39.69 kB / 489.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.1533, allocations: 11.98 kB / 489.8 MB, free: 11.12 MB / 366.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.0001334/0.1534, allocations: 133.7 kB / 490 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.113e-05/0.1535, allocations: 23.72 kB / 490 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004635/0.1539, allocations: 171.6 kB / 490.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1539, allocations: 3.984 kB / 490.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1539, allocations: 96 / 490.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.154, allocations: 3.938 kB / 490.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006828/0.1546, allocations: 456 kB / 490.6 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.1547, allocations: 0 / 490.6 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/0.1549, allocations: 51.98 kB / 490.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.1549, allocations: 0 / 490.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.155, allocations: 11.98 kB / 490.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006666/0.1556, allocations: 1.211 MB / 491.9 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1557, allocations: 0 / 491.9 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003764/0.156, allocations: 257 kB / 492.1 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.987e-05/0.1561, allocations: 96.81 kB / 492.2 MB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.1562, allocations: 3.984 kB / 492.2 MB, free: 8.551 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.1563, allocations: 12 kB / 492.2 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.1564, allocations: 11.92 kB / 492.2 MB, free: 8.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.1564, allocations: 4 kB / 492.3 MB, free: 8.523 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001758/0.1566, allocations: 190 kB / 492.4 MB, free: 8.336 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1566, allocations: 0 / 492.4 MB, free: 8.336 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004022/0.157, allocations: 67.94 kB / 492.5 MB, free: 8.27 MB / 366.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.0002565/0.1572, allocations: 146.2 kB / 492.6 MB, free: 8.121 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005554/0.1578, allocations: 171.7 kB / 492.8 MB, free: 7.953 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.1578, allocations: 4.812 kB / 492.8 MB, free: 7.949 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003057/0.1581, allocations: 88.02 kB / 492.9 MB, free: 7.863 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.1585, allocations: 28.88 kB / 492.9 MB, free: 7.836 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007801/0.1593, allocations: 399.2 kB / 493.3 MB, free: 7.414 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.1596, allocations: 0.7323 MB / 494.1 MB, free: 6.656 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.41e-05/0.1597, allocations: 21.95 kB / 494.1 MB, free: 6.637 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.309e-05/0.1598, allocations: 19.44 kB / 494.1 MB, free: 6.617 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1598, allocations: 0 / 494.1 MB, free: 6.617 MB / 366.1 MB Notification: Performance of Templates: time 0.007209/0.167, allocations: 3.513 MB / 497.6 MB, free: 3.145 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (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) 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) Reference file matches