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.001059/0.001059, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001084/0.001084, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2103/0.2103, allocations: 46.11 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001415, allocations: 74.02 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1346, allocations: 62.45 MB / 481.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003518/0.1382, allocations: 2.125 MB / 483.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.1402, allocations: 1.417 MB / 485 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.198e-05/0.1403, allocations: 4 kB / 485 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.1407, allocations: 83.44 kB / 485.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001912/0.1409, allocations: 67.42 kB / 485.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005611/0.1415, allocations: 210.4 kB / 485.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.1417, allocations: 151 kB / 485.5 MB, free: 468 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.404e-05/0.1417, allocations: 12.31 kB / 485.5 MB, free: 456 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.1419, allocations: 67.59 kB / 485.6 MB, free: 388 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.47e-05/0.142, allocations: 59.59 kB / 485.7 MB, free: 328 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.142, allocations: 4 kB / 485.7 MB, free: 324 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005974/0.1426, allocations: 439.3 kB / 486.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.871e-05/0.1427, allocations: 23.86 kB / 486.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.379e-05/0.1428, allocations: 71.42 kB / 486.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005551/0.1434, allocations: 442.5 kB / 486.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1434, allocations: 0 / 486.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1434, allocations: 0 / 486.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.1434, allocations: 4 kB / 486.6 MB, free: 15.36 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.0006269/0.144, allocations: 498.6 kB / 487.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.1441, allocations: 9.109 kB / 487.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/0.1441, allocations: 28.66 kB / 487.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.1443, allocations: 208 kB / 487.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.1444, allocations: 12.38 kB / 487.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.1444, allocations: 24.06 kB / 487.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003659/0.1448, allocations: 202.7 kB / 487.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.1448, allocations: 0 / 487.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.1448, allocations: 4 kB / 487.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.1448, allocations: 4 kB / 487.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002722/0.1451, allocations: 152.2 kB / 487.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008564/0.146, allocations: 0.5752 MB / 488.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.1461, allocations: 62.55 kB / 488.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.848e-05/0.1463, allocations: 36.94 kB / 488.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.415e-05/0.1463, allocations: 11.97 kB / 488.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.1463, allocations: 30.56 kB / 488.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.1463, allocations: 0 / 488.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004094/0.1467, allocations: 141.3 kB / 488.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.1468, allocations: 51.41 kB / 488.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/0.147, allocations: 258.6 kB / 488.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.1471, allocations: 33.64 kB / 488.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.938e-05/0.1472, allocations: 163.7 kB / 489.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.1472, allocations: 23.73 kB / 489.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-05/0.1473, allocations: 37.62 kB / 489.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1474, allocations: 334.8 kB / 489.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.1475, allocations: 35.97 kB / 489.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.1477, allocations: 135.9 kB / 489.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.148, allocations: 184.6 kB / 489.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.148, allocations: 0 / 489.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003699/0.1484, allocations: 201.1 kB / 490 MB, free: 11.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1484, allocations: 8 kB / 490 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.329e-05/0.1484, allocations: 12 kB / 490 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1485, allocations: 8 kB / 490 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.1486, allocations: 24.42 kB / 490.1 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.1486, allocations: 11.94 kB / 490.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.1487, allocations: 39.58 kB / 490.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.1488, allocations: 12 kB / 490.1 MB, free: 11.54 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.000112/0.1489, allocations: 129.7 kB / 490.3 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.1489, allocations: 15.81 kB / 490.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00036/0.1493, allocations: 138.9 kB / 490.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.1493, allocations: 4 kB / 490.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1493, allocations: 3.938 kB / 490.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1493, allocations: 0 / 490.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.1496, allocations: 225.4 kB / 490.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.8e-05/0.1496, allocations: 11.98 kB / 490.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.924e-05/0.1497, allocations: 8 kB / 490.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1497, allocations: 192 / 490.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.1497, allocations: 12 kB / 490.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1497, allocations: 0 / 490.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.1497, allocations: 11.91 kB / 490.7 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002863/0.15, allocations: 199.3 kB / 490.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.32e-05/0.1501, allocations: 92.83 kB / 491 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.1501, allocations: 7.984 kB / 491 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.337e-05/0.1502, allocations: 4 kB / 491 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.1503, allocations: 7.984 kB / 491 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.1503, allocations: 4 kB / 491 MB, free: 10.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001661/0.1505, allocations: 178 kB / 491.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1505, allocations: 0 / 491.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004047/0.1509, allocations: 79.92 kB / 491.2 MB, free: 10.33 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.0003653/0.1512, allocations: 167.1 kB / 491.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004593/0.1517, allocations: 171.1 kB / 491.6 MB, free: 9.973 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1517, allocations: 0 / 491.6 MB, free: 9.973 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.1519, allocations: 104.2 kB / 491.7 MB, free: 9.859 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.1523, allocations: 20.45 kB / 491.7 MB, free: 9.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000753/0.1531, allocations: 372.1 kB / 492 MB, free: 9.449 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.1535, allocations: 0.7281 MB / 492.8 MB, free: 8.695 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.846e-05/0.1535, allocations: 17.92 kB / 492.8 MB, free: 8.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.1536, allocations: 15.44 kB / 492.8 MB, free: 8.664 MB / 366.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1536, allocations: 0 / 492.8 MB, free: 8.664 MB / 366.1 MB Notification: Performance of Templates: time 0.007741/0.1613, allocations: 4.191 MB / 497 MB, free: 4.508 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 -s cvode -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/jenkins1/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/jenkins1/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