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.001123/0.001123, allocations: 95.64 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001248/0.001248, allocations: 207.2 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.2 MB / 245.9 MB, free: 12.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2484/0.2484, allocations: 45.92 MB / 344 MB, free: 12.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003065/0.0003065, allocations: 8 kB / 417.9 MB, free: 20.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1469, allocations: 63.46 MB / 481.4 MB, free: 5.449 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.00222/0.1492, allocations: 1.767 MB / 483.2 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.1505, allocations: 0.9786 MB / 484.2 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.475e-05/0.1506, allocations: 0 / 484.2 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002672/0.1509, allocations: 83.55 kB / 484.2 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.1511, allocations: 83.72 kB / 484.3 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.1514, allocations: 99.73 kB / 484.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.1515, allocations: 135.6 kB / 484.5 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.631e-05/0.1516, allocations: 16.34 kB / 484.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.1518, allocations: 71.64 kB / 484.6 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.1519, allocations: 87.55 kB / 484.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.1519, allocations: 4 kB / 484.7 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003744/0.1523, allocations: 259.7 kB / 485 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.108e-05/0.1523, allocations: 27.83 kB / 485 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.307e-05/0.1524, allocations: 57.52 kB / 485.1 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.1526, allocations: 183.5 kB / 485.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1526, allocations: 4 kB / 485.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1526, allocations: 0 / 485.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.1527, allocations: 0 / 485.2 MB, free: 1.586 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.0005382/0.1532, allocations: 474.9 kB / 485.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.1532, allocations: 8.031 kB / 485.7 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.934e-05/0.1533, allocations: 23.72 kB / 485.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.1535, allocations: 210.7 kB / 485.9 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.1535, allocations: 16.44 kB / 486 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.1536, allocations: 24 kB / 486 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003968/0.154, allocations: 235.2 kB / 486.2 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.154, allocations: 7.922 kB / 486.2 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.154, allocations: 8 kB / 486.2 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.154, allocations: 4 kB / 486.2 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004307/0.1544, allocations: 253.6 kB / 486.5 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009309/0.1554, allocations: 0.6236 MB / 487.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003778/0.1558, allocations: 122.6 kB / 487.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.1558, allocations: 0 / 487.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.1558, allocations: 34.56 kB / 487.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.1558, allocations: 0 / 487.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005352/0.1564, allocations: 185.5 kB / 487.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.1564, allocations: 51.41 kB / 487.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.1567, allocations: 270.9 kB / 487.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.1567, allocations: 29.7 kB / 487.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.1568, allocations: 167.3 kB / 487.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.1569, allocations: 31.55 kB / 488 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.181e-05/0.1569, allocations: 8 kB / 488 MB, free: 14.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.157, allocations: 338.8 kB / 488.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.1572, allocations: 47.97 kB / 488.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.1574, allocations: 153.4 kB / 488.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.1576, allocations: 71.92 kB / 488.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.1576, allocations: 8.312 kB / 488.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004758/0.1581, allocations: 249.4 kB / 488.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1581, allocations: 8 kB / 488.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1581, allocations: 4 kB / 488.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1581, allocations: 7.938 kB / 488.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003792/0.1585, allocations: 87.89 kB / 488.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007258/0.1593, allocations: 1.219 MB / 490.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.1595, allocations: 35.59 kB / 490.2 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.1595, allocations: 12 kB / 490.2 MB, free: 12.32 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001246/0.1596, allocations: 137.9 kB / 490.3 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.46e-05/0.1597, allocations: 31.67 kB / 490.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004543/0.1601, allocations: 179.2 kB / 490.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1602, allocations: 4 kB / 490.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1602, allocations: 0 / 490.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1602, allocations: 0 / 490.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006237/0.1608, allocations: 464 kB / 491 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1608, allocations: 0 / 491 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002627/0.1611, allocations: 63.95 kB / 491.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1611, allocations: 0 / 491.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.1611, allocations: 4 kB / 491.1 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006369/0.1618, allocations: 1.211 MB / 492.3 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.688e-05/0.1618, allocations: 3.984 kB / 492.3 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003926/0.1622, allocations: 280.5 kB / 492.6 MB, free: 9.801 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.194e-05/0.1623, allocations: 100.8 kB / 492.7 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.1623, allocations: 8.172 kB / 492.7 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.1625, allocations: 11.94 kB / 492.7 MB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/0.1625, allocations: 15.92 kB / 492.7 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.1626, allocations: 7.938 kB / 492.7 MB, free: 9.641 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001517/0.1627, allocations: 182 kB / 492.9 MB, free: 9.461 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1627, allocations: 0 / 492.9 MB, free: 9.461 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003971/0.1631, allocations: 68 kB / 492.9 MB, free: 9.395 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002561/0.1634, allocations: 143.7 kB / 493.1 MB, free: 9.246 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005477/0.1639, allocations: 180.5 kB / 493.3 MB, free: 9.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.164, allocations: 0 / 493.3 MB, free: 9.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003062/0.1643, allocations: 99.94 kB / 493.4 MB, free: 8.973 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.1645, allocations: 28.77 kB / 493.4 MB, free: 8.941 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007365/0.1653, allocations: 461.3 kB / 493.8 MB, free: 8.457 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.1656, allocations: 0.7365 MB / 494.6 MB, free: 7.695 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.142e-05/0.1657, allocations: 17.95 kB / 494.6 MB, free: 7.676 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.316e-05/0.1657, allocations: 19.44 kB / 494.6 MB, free: 7.656 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1657, allocations: 3.938 kB / 494.6 MB, free: 7.652 MB / 366.1 MB Notification: Performance of Templates: time 0.006146/0.1719, allocations: 3.164 MB / 497.8 MB, free: 4.527 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","../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