Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008532/0.000853, allocations: 101.4 kB / 17.01 MB, free: 6.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00121/0.00121, allocations: 194.2 kB / 17.91 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.7 MB / 246.4 MB, free: 9.836 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2161/0.2161, allocations: 46.19 MB / 344.8 MB, free: 11.35 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002581/0.0002581, allocations: 8.219 kB / 418.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1372, allocations: 63.57 MB / 482.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003079/0.1403, allocations: 2.286 MB / 484.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002224/0.1426, allocations: 1.384 MB / 486.1 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.1427, allocations: 0 / 486.1 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002765/0.143, allocations: 87.38 kB / 486.2 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003631/0.1434, allocations: 119.1 kB / 486.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004278/0.1438, allocations: 195.4 kB / 486.5 MB, free: 456 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002755/0.1441, allocations: 270.1 kB / 486.8 MB, free: 184 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.894e-05/0.1442, allocations: 28.72 kB / 486.8 MB, free: 156 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.1443, allocations: 91.47 kB / 486.9 MB, free: 64 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.1445, allocations: 119.2 kB / 487 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.1445, allocations: 8 kB / 487 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009141/0.1455, allocations: 0.5812 MB / 487.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.417e-05/0.1455, allocations: 43.7 kB / 487.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.32e-05/0.1456, allocations: 73.52 kB / 487.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004898/0.1461, allocations: 358.8 kB / 488 MB, free: 14.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1462, allocations: 0 / 488 MB, free: 14.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1462, allocations: 0 / 488 MB, free: 14.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1462, allocations: 0 / 488 MB, free: 14.88 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0008226/0.147, allocations: 0.5809 MB / 488.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.147, allocations: 12.03 kB / 488.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.392e-05/0.1471, allocations: 35.53 kB / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.1474, allocations: 251.1 kB / 488.9 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.1474, allocations: 25 kB / 488.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/0.1475, allocations: 36 kB / 489 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007431/0.1482, allocations: 0.5765 MB / 489.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.1483, allocations: 7.938 kB / 489.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.118e-05/0.1483, allocations: 16 kB / 489.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.1483, allocations: 12 kB / 489.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005267/0.1488, allocations: 345 kB / 489.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002941/0.1518, allocations: 4.043 MB / 494 MB, free: 8.527 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.1521, allocations: 98.48 kB / 494.1 MB, free: 8.422 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.1522, allocations: 40.95 kB / 494.1 MB, free: 8.379 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.1522, allocations: 0 / 494.1 MB, free: 8.379 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.1523, allocations: 42.5 kB / 494.1 MB, free: 8.328 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1523, allocations: 0 / 494.1 MB, free: 8.328 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.00052/0.1528, allocations: 173.2 kB / 494.3 MB, free: 8.152 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.1529, allocations: 55.41 kB / 494.4 MB, free: 8.086 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004584/0.1533, allocations: 413.6 kB / 494.8 MB, free: 7.676 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.1534, allocations: 25.7 kB / 494.8 MB, free: 7.645 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.1535, allocations: 247 kB / 495 MB, free: 7.398 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.1536, allocations: 31.64 kB / 495.1 MB, free: 7.367 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.413e-05/0.1536, allocations: 8 kB / 495.1 MB, free: 7.359 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.1538, allocations: 346.8 kB / 495.4 MB, free: 7.012 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.1539, allocations: 64.61 kB / 495.5 MB, free: 6.945 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003067/0.1543, allocations: 267.2 kB / 495.7 MB, free: 6.582 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.1545, allocations: 107.8 kB / 495.8 MB, free: 6.477 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.1545, allocations: 4 kB / 495.8 MB, free: 6.473 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005989/0.1551, allocations: 364.4 kB / 496.2 MB, free: 6.109 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.1551, allocations: 8.938 kB / 496.2 MB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.1551, allocations: 7.938 kB / 496.2 MB, free: 6.094 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.1552, allocations: 12 kB / 496.2 MB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004749/0.1556, allocations: 119.8 kB / 496.3 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008376/0.1565, allocations: 1.215 MB / 497.6 MB, free: 4.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000267/0.1568, allocations: 67.55 kB / 497.6 MB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.1568, allocations: 24 kB / 497.7 MB, free: 4.613 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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.0002267/0.157, allocations: 145.7 kB / 497.8 MB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.258e-05/0.1571, allocations: 35.53 kB / 497.8 MB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005168/0.1576, allocations: 184.9 kB / 498 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.1576, allocations: 0 / 498 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.1577, allocations: 7.953 kB / 498 MB, free: 4.227 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1577, allocations: 0 / 498 MB, free: 4.227 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003628/0.158, allocations: 281.4 kB / 498.3 MB, free: 3.902 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.158, allocations: 0 / 498.3 MB, free: 3.902 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/0.1583, allocations: 55.97 kB / 498.3 MB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.1583, allocations: 4 kB / 498.4 MB, free: 3.844 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.1583, allocations: 0 / 498.4 MB, free: 3.844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006585/0.159, allocations: 1.207 MB / 499.6 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.159, allocations: 4 kB / 499.6 MB, free: 2.586 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003457/0.1594, allocations: 251.2 kB / 499.8 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.822e-05/0.1595, allocations: 108.6 kB / 499.9 MB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.969e-05/0.1595, allocations: 0 / 499.9 MB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.1597, allocations: 11.98 kB / 499.9 MB, free: 2.188 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.1597, allocations: 7.984 kB / 499.9 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.1597, allocations: 8 kB / 499.9 MB, free: 2.172 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002586/0.16, allocations: 267.2 kB / 0.4885 GB, free: 1.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.583e-06/0.16, allocations: 0 / 0.4885 GB, free: 1.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006119/0.1606, allocations: 119.9 kB / 0.4886 GB, free: 1.793 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 (7): * Single equations (assignments): 5 * 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.000387/0.161, allocations: 184.2 kB / 0.4888 GB, free: 1.605 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005536/0.1616, allocations: 217.3 kB / 0.489 GB, free: 1.395 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1616, allocations: 0 / 0.489 GB, free: 1.395 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002568/0.1619, allocations: 80.11 kB / 0.4891 GB, free: 1.316 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.1623, allocations: 50.03 kB / 0.4891 GB, free: 1.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009168/0.1632, allocations: 0.5792 MB / 0.4897 GB, free: 0.668 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.1636, allocations: 0.7719 MB / 0.4904 GB, free: 15.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001313/0.1637, allocations: 30.97 kB / 0.4904 GB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.117e-05/0.1638, allocations: 23.44 kB / 0.4905 GB, free: 15.82 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1638, allocations: 0 / 0.4905 GB, free: 15.82 MB / 382.1 MB Notification: Performance of Templates: time 0.01245/0.1763, allocations: 5.967 MB / 0.4963 GB, free: 9.895 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube_KC/kc_roundTube_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches