Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009353/0.0009354, allocations: 99.09 kB / 17 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009921/0.0009921, allocations: 195.2 kB / 17.91 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.7 MB / 246.4 MB, free: 9.738 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2092/0.2092, allocations: 46.19 MB / 344.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003047/0.0003047, allocations: 8.219 kB / 418.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1384, allocations: 63.56 MB / 482.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002312/0.1407, allocations: 1.783 MB / 484.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001911/0.1426, allocations: 1.298 MB / 485.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.772e-05/0.1427, allocations: 0 / 485.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003008/0.1431, allocations: 71.58 kB / 485.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.1432, allocations: 59.48 kB / 485.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004878/0.1437, allocations: 171.4 kB / 485.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.1439, allocations: 147 kB / 485.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.772e-05/0.144, allocations: 20.23 kB / 486 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.1442, allocations: 59.66 kB / 486 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.1443, allocations: 59.59 kB / 486.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.1443, allocations: 4 kB / 486.1 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006093/0.145, allocations: 407.4 kB / 486.5 MB, free: 440 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.391e-05/0.145, allocations: 31.78 kB / 486.5 MB, free: 408 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.119e-05/0.1451, allocations: 45.64 kB / 486.6 MB, free: 356 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003901/0.1455, allocations: 279.1 kB / 486.8 MB, free: 76 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1455, allocations: 0 / 486.8 MB, free: 76 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1455, allocations: 0 / 486.8 MB, free: 76 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.1455, allocations: 0 / 486.8 MB, free: 76 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007445/0.1463, allocations: 482.5 kB / 487.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/0.1463, allocations: 9.109 kB / 487.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.315e-05/0.1464, allocations: 19.81 kB / 487.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.1467, allocations: 210.6 kB / 487.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.1467, allocations: 12 kB / 487.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.1467, allocations: 20 kB / 487.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004262/0.1472, allocations: 202.7 kB / 487.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1472, allocations: 0 / 487.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.1472, allocations: 16 kB / 487.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.1473, allocations: 7.938 kB / 487.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002901/0.1475, allocations: 152.2 kB / 487.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00094/0.1485, allocations: 0.5832 MB / 488.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.1487, allocations: 62.55 kB / 488.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.1488, allocations: 44.94 kB / 488.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.693e-05/0.1489, allocations: 0 / 488.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.1489, allocations: 42.5 kB / 488.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.1489, allocations: 0 / 488.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.00043/0.1494, allocations: 149.3 kB / 488.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.1494, allocations: 51.41 kB / 488.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.1497, allocations: 258.6 kB / 489.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.1497, allocations: 25.7 kB / 489.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.1498, allocations: 163.7 kB / 489.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.1499, allocations: 15.75 kB / 489.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.899e-06/0.1499, allocations: 12 kB / 489.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.15, allocations: 330.8 kB / 489.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.1501, allocations: 39.92 kB / 489.7 MB, free: 13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.1503, allocations: 136.8 kB / 489.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.1505, allocations: 63.91 kB / 489.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1505, allocations: 4 kB / 489.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004012/0.1509, allocations: 205.2 kB / 490.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1509, allocations: 8 kB / 490.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.27e-05/0.1509, allocations: 23.92 kB / 490.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.151, allocations: 4 kB / 490.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.1511, allocations: 31.98 kB / 490.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.1511, allocations: 7.938 kB / 490.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.1513, allocations: 35.92 kB / 490.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.1513, allocations: 16 kB / 490.2 MB, free: 12.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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001195/0.1514, allocations: 133.7 kB / 490.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.1515, allocations: 19.72 kB / 490.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003722/0.1518, allocations: 146.9 kB / 490.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.1519, allocations: 3.984 kB / 490.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1519, allocations: 0 / 490.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1519, allocations: 0 / 490.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.1521, allocations: 221.5 kB / 490.7 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.147e-05/0.1522, allocations: 11.98 kB / 490.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.834e-05/0.1522, allocations: 15.94 kB / 490.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1522, allocations: 0 / 490.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.411e-05/0.1523, allocations: 8.188 kB / 490.8 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.1523, allocations: 4 kB / 490.8 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1523, allocations: 3.938 kB / 490.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003233/0.1526, allocations: 219.2 kB / 491 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-05/0.1527, allocations: 92.83 kB / 491.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.1527, allocations: 4 kB / 491.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.775e-05/0.1528, allocations: 7.984 kB / 491.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.1529, allocations: 4 kB / 491.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.1529, allocations: 7.984 kB / 491.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001654/0.1531, allocations: 182 kB / 491.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1531, allocations: 0 / 491.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003806/0.1535, allocations: 75.92 kB / 491.3 MB, free: 11.19 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003153/0.1538, allocations: 163.7 kB / 491.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004338/0.1542, allocations: 184 kB / 491.7 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1542, allocations: 0 / 491.7 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.1544, allocations: 107.3 kB / 491.8 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.1548, allocations: 23.89 kB / 491.8 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007433/0.1555, allocations: 425.2 kB / 492.2 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.156, allocations: 0.7249 MB / 493 MB, free: 9.496 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.687e-05/0.156, allocations: 21.53 kB / 493 MB, free: 9.477 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.1561, allocations: 11.44 kB / 493 MB, free: 9.465 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1561, allocations: 4 kB / 493 MB, free: 9.461 MB / 366.1 MB Notification: Performance of Templates: time 0.008128/0.1643, allocations: 3.891 MB / 496.9 MB, free: 5.609 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches