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.0007752/0.0007751, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009063/0.0009063, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.7 MB / 246.8 MB, free: 11.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2039/0.2039, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003177/0.0003177, allocations: 8.328 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1353, allocations: 63.56 MB / 483.1 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002436/0.1378, allocations: 1.833 MB / 484.9 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.1397, allocations: 1.418 MB / 486.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.575e-05/0.1398, allocations: 0 / 486.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003015/0.1401, allocations: 79.56 kB / 486.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.1403, allocations: 63.48 kB / 486.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004576/0.1408, allocations: 167.4 kB / 486.7 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.1409, allocations: 163 kB / 486.8 MB, free: 432 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.798e-05/0.141, allocations: 24.23 kB / 486.8 MB, free: 408 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.1412, allocations: 63.59 kB / 486.9 MB, free: 344 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.564e-05/0.1413, allocations: 63.59 kB / 487 MB, free: 280 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.1413, allocations: 4 kB / 487 MB, free: 276 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005852/0.1419, allocations: 427.5 kB / 487.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.768e-05/0.142, allocations: 19.8 kB / 487.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.482e-05/0.1421, allocations: 101.1 kB / 487.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005425/0.1426, allocations: 434.4 kB / 487.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1426, allocations: 0 / 487.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1426, allocations: 0 / 487.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.1426, allocations: 4 kB / 487.9 MB, free: 15.3 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007315/0.1434, allocations: 470.7 kB / 488.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.1435, allocations: 13.95 kB / 488.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.208e-05/0.1435, allocations: 16.75 kB / 488.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.1437, allocations: 212 kB / 488.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.1438, allocations: 16.38 kB / 488.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.1438, allocations: 28 kB / 488.7 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004533/0.1443, allocations: 206.7 kB / 488.9 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1443, allocations: 0 / 488.9 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.1443, allocations: 8 kB / 488.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.1443, allocations: 4 kB / 488.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003255/0.1447, allocations: 164.2 kB / 489 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009437/0.1456, allocations: 0.5714 MB / 489.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.1459, allocations: 70.55 kB / 489.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.146, allocations: 40.88 kB / 489.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.072e-05/0.1461, allocations: 4 kB / 489.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.1461, allocations: 30.56 kB / 489.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.492e-06/0.1461, allocations: 4 kB / 489.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004883/0.1466, allocations: 145.3 kB / 489.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.1467, allocations: 51.41 kB / 490 MB, free: 13.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.1469, allocations: 262.6 kB / 490.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.147, allocations: 29.7 kB / 490.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.1471, allocations: 163.7 kB / 490.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.1471, allocations: 15.73 kB / 490.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.1472, allocations: 25.72 kB / 490.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1473, allocations: 334.8 kB / 490.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.1475, allocations: 47.91 kB / 490.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.1477, allocations: 131.2 kB / 490.9 MB, free: 12.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003802/0.1481, allocations: 200.8 kB / 491.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1481, allocations: 0 / 491.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004097/0.1485, allocations: 209 kB / 491.3 MB, free: 11.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.1485, allocations: 8 kB / 491.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.861e-05/0.1486, allocations: 15.94 kB / 491.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.1486, allocations: 8.422 kB / 491.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.1487, allocations: 39.92 kB / 491.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.1487, allocations: 4 kB / 491.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.1489, allocations: 39.61 kB / 491.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.1489, allocations: 12 kB / 491.5 MB, free: 11.45 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.149, allocations: 121.8 kB / 491.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.056e-05/0.1491, allocations: 23.72 kB / 491.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003788/0.1495, allocations: 146.8 kB / 491.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1495, allocations: 4 kB / 491.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1495, allocations: 7.938 kB / 491.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.1495, allocations: 3.984 kB / 491.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.1497, allocations: 225.5 kB / 492 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-05/0.1498, allocations: 8 kB / 492 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.105e-05/0.1498, allocations: 7.984 kB / 492 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1498, allocations: 4 kB / 492 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.1498, allocations: 0 / 492 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1499, allocations: 0 / 492 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1499, allocations: 4 kB / 492 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003281/0.1502, allocations: 227.2 kB / 492.2 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.693e-05/0.1503, allocations: 88.92 kB / 492.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.1503, allocations: 12 kB / 492.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.1504, allocations: 11.98 kB / 492.3 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.1505, allocations: 4 kB / 492.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.1505, allocations: 0 / 492.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001614/0.1506, allocations: 186 kB / 492.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1506, allocations: 0 / 492.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000384/0.151, allocations: 71.84 kB / 492.6 MB, free: 10.22 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003114/0.1513, allocations: 175.1 kB / 492.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004491/0.1518, allocations: 176.1 kB / 492.9 MB, free: 9.852 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1518, allocations: 4 kB / 493 MB, free: 9.848 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.152, allocations: 111.2 kB / 493.1 MB, free: 9.727 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.1524, allocations: 28.44 kB / 493.1 MB, free: 9.699 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007218/0.1531, allocations: 433.3 kB / 493.5 MB, free: 9.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.1535, allocations: 0.7323 MB / 494.2 MB, free: 8.492 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.832e-05/0.1536, allocations: 17.48 kB / 494.3 MB, free: 8.477 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.662e-05/0.1536, allocations: 15.44 kB / 494.3 MB, free: 8.461 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1536, allocations: 4 kB / 494.3 MB, free: 8.457 MB / 366.1 MB Notification: Performance of Templates: time 0.008429/0.1621, allocations: 3.982 MB / 498.3 MB, free: 4.512 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