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.001231/0.001231, allocations: 96.83 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001597/0.001598, allocations: 194.7 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.7 MB / 246.4 MB, free: 9.793 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2251/0.2251, allocations: 46.19 MB / 344.8 MB, free: 11.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002984/0.0002984, allocations: 12 kB / 418.9 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1368, allocations: 63.56 MB / 482.4 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002813/0.1397, allocations: 1.841 MB / 484.3 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.1415, allocations: 1.013 MB / 485.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.1417, allocations: 0 / 485.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003042/0.142, allocations: 75.52 kB / 485.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003771/0.1424, allocations: 75.45 kB / 485.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.1427, allocations: 99.64 kB / 485.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002479/0.143, allocations: 170.9 kB / 485.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.585e-05/0.1431, allocations: 24.31 kB / 485.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002116/0.1433, allocations: 67.66 kB / 485.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.1434, allocations: 83.5 kB / 485.9 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.1435, allocations: 4 kB / 485.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004277/0.1439, allocations: 255.7 kB / 486.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.775e-05/0.144, allocations: 23.8 kB / 486.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.944e-05/0.144, allocations: 57.56 kB / 486.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003164/0.1444, allocations: 207.2 kB / 486.4 MB, free: 500 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1444, allocations: 0 / 486.4 MB, free: 500 kB / 350.1 MB Notification: Performance of FrontEnd: time 4.068e-06/0.1444, allocations: 0 / 486.4 MB, free: 500 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1444, allocations: 3.938 kB / 486.4 MB, free: 496 kB / 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.0006751/0.1451, allocations: 486.9 kB / 486.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.1451, allocations: 8.031 kB / 486.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.932e-05/0.1452, allocations: 27.66 kB / 486.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.1455, allocations: 214.6 kB / 487.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.1455, allocations: 16.44 kB / 487.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.1455, allocations: 16 kB / 487.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004598/0.146, allocations: 231.2 kB / 487.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.146, allocations: 0 / 487.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.146, allocations: 16 kB / 487.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.1461, allocations: 4 kB / 487.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004384/0.1465, allocations: 257.5 kB / 487.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.1475, allocations: 0.6119 MB / 488.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.1478, allocations: 102.7 kB / 488.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.148, allocations: 44.88 kB / 488.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.814e-05/0.1481, allocations: 8 kB / 488.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.1481, allocations: 34.5 kB / 488.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 2.495e-06/0.1481, allocations: 0 / 488.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.00063/0.1487, allocations: 185.2 kB / 488.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.1488, allocations: 59.39 kB / 488.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003446/0.1492, allocations: 262.9 kB / 488.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.1492, allocations: 25.7 kB / 489 MB, free: 13.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.1494, allocations: 179.3 kB / 489.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.1494, allocations: 31.56 kB / 489.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.127e-05/0.1494, allocations: 4 kB / 489.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.1496, allocations: 334.8 kB / 489.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.1498, allocations: 59.95 kB / 489.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.15, allocations: 140.8 kB / 489.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.1502, allocations: 87.84 kB / 489.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.1502, allocations: 0 / 489.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005398/0.1508, allocations: 245.4 kB / 490 MB, free: 12.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.1508, allocations: 8 kB / 490 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.1508, allocations: 4 kB / 490 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.1508, allocations: 4 kB / 490 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004172/0.1513, allocations: 87.91 kB / 490.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008352/0.1521, allocations: 1.219 MB / 491.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.1523, allocations: 35.59 kB / 491.4 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.1524, allocations: 12 kB / 491.4 MB, free: 11.18 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.000146/0.1525, allocations: 141.9 kB / 491.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/0.1526, allocations: 27.72 kB / 491.6 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004548/0.153, allocations: 183.5 kB / 491.7 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.153, allocations: 0 / 491.7 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.1531, allocations: 0 / 491.7 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.1531, allocations: 3.984 kB / 491.7 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006659/0.1537, allocations: 460 kB / 492.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1537, allocations: 0 / 492.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.154, allocations: 59.97 kB / 492.2 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.154, allocations: 0 / 492.2 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.154, allocations: 8 kB / 492.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007165/0.1548, allocations: 1.223 MB / 493.5 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1548, allocations: 0 / 493.5 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003894/0.1552, allocations: 261.1 kB / 493.7 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-05/0.1553, allocations: 104.8 kB / 493.8 MB, free: 8.566 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.1553, allocations: 3.984 kB / 493.8 MB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.1555, allocations: 12 kB / 493.8 MB, free: 8.551 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.1555, allocations: 15.94 kB / 493.9 MB, free: 8.535 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.1555, allocations: 4 kB / 493.9 MB, free: 8.531 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001814/0.1557, allocations: 186 kB / 494 MB, free: 8.348 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1557, allocations: 0 / 494 MB, free: 8.348 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003876/0.1561, allocations: 60 kB / 494.1 MB, free: 8.289 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.000307/0.1564, allocations: 139.7 kB / 494.2 MB, free: 8.145 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005653/0.157, allocations: 183.7 kB / 494.4 MB, free: 7.965 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.157, allocations: 0 / 494.4 MB, free: 7.965 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002957/0.1573, allocations: 96.89 kB / 494.5 MB, free: 7.871 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.1577, allocations: 20.83 kB / 494.5 MB, free: 7.848 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008534/0.1586, allocations: 467.6 kB / 495 MB, free: 7.359 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.1589, allocations: 0.7326 MB / 495.7 MB, free: 6.598 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.159, allocations: 25.98 kB / 495.8 MB, free: 6.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.599e-05/0.1591, allocations: 15.44 kB / 495.8 MB, free: 6.555 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1591, allocations: 0 / 495.8 MB, free: 6.555 MB / 366.1 MB Notification: Performance of Templates: time 0.008015/0.1671, allocations: 3.235 MB / 499 MB, free: 3.355 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