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) 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 4.1.0-beta.om/package.mo", uses=false) 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=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_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=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_4.1.0-beta.om_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.001606/0.001606, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001911/0.001911, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 227.4 MB / 246.3 MB, free: 9.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2275/0.2275, allocations: 46.13 MB / 343.7 MB, free: 11.54 MB / 286.1 MB 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.002778/0.002779, allocations: 80.95 kB / 416.9 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1361, allocations: 62.45 MB / 479.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.004844/0.141, allocations: 2.245 MB / 481.6 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00212/0.1432, allocations: 1.106 MB / 482.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001954/0.1434, allocations: 3.938 kB / 482.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004048/0.1439, allocations: 87.48 kB / 482.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004214/0.1443, allocations: 75.47 kB / 482.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.1447, allocations: 99.64 kB / 483 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002975/0.145, allocations: 178.9 kB / 483.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.208e-05/0.1451, allocations: 16.39 kB / 483.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002738/0.1453, allocations: 83.52 kB / 483.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.1455, allocations: 79.5 kB / 483.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.1456, allocations: 8 kB / 483.4 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004672/0.1461, allocations: 271.6 kB / 483.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.274e-05/0.1461, allocations: 23.8 kB / 483.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.1462, allocations: 83.41 kB / 483.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004935/0.1467, allocations: 330.6 kB / 484.1 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1468, allocations: 0 / 484.1 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1468, allocations: 0 / 484.1 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.1468, allocations: 0 / 484.1 MB, free: 0.9336 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.0007496/0.1475, allocations: 499 kB / 484.5 MB, free: 408 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.1476, allocations: 20.86 kB / 484.6 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.963e-05/0.1477, allocations: 20.66 kB / 484.6 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.1479, allocations: 212 kB / 484.8 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.148, allocations: 16.81 kB / 484.8 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.129e-05/0.148, allocations: 28.12 kB / 484.8 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005161/0.1485, allocations: 227.2 kB / 485.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.1486, allocations: 3.938 kB / 485.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.1486, allocations: 4 kB / 485.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.1486, allocations: 8 kB / 485.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004733/0.1491, allocations: 249.6 kB / 485.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.1503, allocations: 0.6157 MB / 485.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.1506, allocations: 102.5 kB / 486 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.1508, allocations: 48.92 kB / 486.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.1508, allocations: 0 / 486.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/0.1509, allocations: 42.56 kB / 486.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 9.02e-07/0.1509, allocations: 0 / 486.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006104/0.1515, allocations: 165.2 kB / 486.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/0.1516, allocations: 59.41 kB / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004161/0.152, allocations: 270.9 kB / 486.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.152, allocations: 29.7 kB / 486.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.1522, allocations: 163.4 kB / 486.8 MB, free: 14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.1522, allocations: 39.47 kB / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/0.1524, allocations: 45.7 kB / 486.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.1526, allocations: 338.8 kB / 487.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.1527, allocations: 51.97 kB / 487.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.153, allocations: 140.8 kB / 487.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000423/0.1534, allocations: 212.6 kB / 487.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.1535, allocations: 4 kB / 487.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004953/0.154, allocations: 233.4 kB / 487.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.154, allocations: 10.66 kB / 487.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.154, allocations: 4 kB / 487.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.154, allocations: 4 kB / 487.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000408/0.1544, allocations: 87.89 kB / 487.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008573/0.1553, allocations: 1.219 MB / 489.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/0.1556, allocations: 35.67 kB / 489.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.1557, allocations: 12 kB / 489.2 MB, free: 11.43 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.0001703/0.1558, allocations: 137.7 kB / 489.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.838e-05/0.1559, allocations: 23.72 kB / 489.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000484/0.1564, allocations: 175.6 kB / 489.5 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.1564, allocations: 0 / 489.5 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1564, allocations: 0 / 489.5 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1564, allocations: 0 / 489.5 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007659/0.1572, allocations: 452 kB / 490 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1572, allocations: 0 / 490 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/0.1575, allocations: 59.91 kB / 490 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1575, allocations: 0 / 490 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.1575, allocations: 8 kB / 490 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008766/0.1584, allocations: 1.215 MB / 491.3 MB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1584, allocations: 0 / 491.3 MB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004424/0.1589, allocations: 257 kB / 491.5 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.203e-05/0.159, allocations: 100.8 kB / 491.6 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/0.159, allocations: 0 / 491.6 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.1592, allocations: 11.98 kB / 491.6 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.1592, allocations: 8 kB / 491.6 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.1593, allocations: 7.984 kB / 491.6 MB, free: 8.832 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001946/0.1595, allocations: 186 kB / 491.8 MB, free: 8.648 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.215e-06/0.1595, allocations: 0 / 491.8 MB, free: 8.648 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003931/0.1599, allocations: 75.88 kB / 491.9 MB, free: 8.574 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.0003109/0.1602, allocations: 135.3 kB / 492 MB, free: 8.434 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006006/0.1608, allocations: 179.6 kB / 492.2 MB, free: 8.258 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1608, allocations: 0 / 492.2 MB, free: 8.258 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003257/0.1611, allocations: 84.83 kB / 492.3 MB, free: 8.176 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.1616, allocations: 28.83 kB / 492.3 MB, free: 8.152 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008872/0.1625, allocations: 453.7 kB / 492.7 MB, free: 7.676 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.1629, allocations: 0.7365 MB / 493.5 MB, free: 6.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.307e-05/0.163, allocations: 21.97 kB / 493.5 MB, free: 6.891 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.374e-05/0.1631, allocations: 23.44 kB / 493.5 MB, free: 6.867 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1631, allocations: 0 / 493.5 MB, free: 6.867 MB / 366.1 MB Notification: Performance of Templates: time 0.008581/0.1717, allocations: 3.342 MB / 496.9 MB, free: 3.574 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (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) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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) Reference file matches