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.0008928/0.0008927, allocations: 101.8 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009923/0.0009924, allocations: 206.1 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2119/0.2119, allocations: 45.92 MB / 344 MB, free: 12.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003176/0.0003176, allocations: 8 kB / 417.9 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1483, allocations: 63.45 MB / 481.4 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002545/0.1509, allocations: 1.725 MB / 483.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.1527, allocations: 1.256 MB / 484.4 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.39e-05/0.1528, allocations: 4 kB / 484.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.1531, allocations: 67.69 kB / 484.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.1532, allocations: 63.75 kB / 484.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/0.1537, allocations: 183.1 kB / 484.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.1538, allocations: 115.7 kB / 484.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.024e-05/0.1539, allocations: 12.31 kB / 484.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.1541, allocations: 51.72 kB / 484.9 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.489e-05/0.1541, allocations: 59.64 kB / 484.9 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.1542, allocations: 4 kB / 484.9 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006264/0.1548, allocations: 423.5 kB / 485.3 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.19e-05/0.1549, allocations: 23.84 kB / 485.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.69e-05/0.1549, allocations: 61.58 kB / 485.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003455/0.1553, allocations: 247.5 kB / 485.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.1553, allocations: 0 / 485.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1553, allocations: 0 / 485.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1553, allocations: 0 / 485.7 MB, free: 1.125 MB / 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.0006446/0.1559, allocations: 478.5 kB / 486.1 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.156, allocations: 8.031 kB / 486.1 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.207e-05/0.1561, allocations: 27.81 kB / 486.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.1563, allocations: 206.7 kB / 486.4 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.1563, allocations: 12 kB / 486.4 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.1563, allocations: 20 kB / 486.4 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003873/0.1567, allocations: 198.7 kB / 486.6 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1567, allocations: 0 / 486.6 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.1568, allocations: 15.98 kB / 486.6 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.1568, allocations: 8 kB / 486.6 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003048/0.1571, allocations: 160.2 kB / 486.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007783/0.1579, allocations: 0.5753 MB / 487.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.1581, allocations: 62.55 kB / 487.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.1581, allocations: 0 / 487.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.1582, allocations: 38.62 kB / 487.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1582, allocations: 4 kB / 487.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005221/0.1587, allocations: 307.5 kB / 487.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.1587, allocations: 55.41 kB / 487.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.159, allocations: 258.6 kB / 488.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.159, allocations: 25.7 kB / 488.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.1591, allocations: 163.7 kB / 488.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.1592, allocations: 23.73 kB / 488.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-06/0.1592, allocations: 4 kB / 488.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1593, allocations: 330.8 kB / 488.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.1594, allocations: 43.97 kB / 488.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.1596, allocations: 144.7 kB / 488.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.1598, allocations: 59.97 kB / 488.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1598, allocations: 0 / 488.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00038/0.1602, allocations: 209 kB / 489 MB, free: 13.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1602, allocations: 4 kB / 489 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-05/0.1602, allocations: 15.98 kB / 489.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.1602, allocations: 8.375 kB / 489.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.1604, allocations: 39.92 kB / 489.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.1604, allocations: 7.938 kB / 489.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.1605, allocations: 35.67 kB / 489.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.1606, allocations: 12 kB / 489.2 MB, free: 13.33 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.0001098/0.1607, allocations: 133.7 kB / 489.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.1607, allocations: 19.72 kB / 489.3 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003901/0.1611, allocations: 154.8 kB / 489.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1611, allocations: 4 kB / 489.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1612, allocations: 0 / 489.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1612, allocations: 192 / 489.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.1614, allocations: 225.5 kB / 489.7 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/0.1614, allocations: 8 kB / 489.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.277e-05/0.1615, allocations: 11.98 kB / 489.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1615, allocations: 0 / 489.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/0.1615, allocations: 4 kB / 489.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.1615, allocations: 4 kB / 489.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1615, allocations: 0 / 489.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.1618, allocations: 219.1 kB / 489.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.041e-05/0.1619, allocations: 96.83 kB / 490 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.162, allocations: 3.984 kB / 490 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.969e-05/0.1621, allocations: 8 kB / 490 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.1621, allocations: 7.984 kB / 490 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.1621, allocations: 4 kB / 490 MB, free: 12.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001519/0.1623, allocations: 174 kB / 490.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1623, allocations: 0 / 490.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004022/0.1627, allocations: 83.86 kB / 490.3 MB, free: 12.09 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.00034/0.163, allocations: 168.7 kB / 490.5 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004534/0.1635, allocations: 184.2 kB / 490.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1635, allocations: 0 / 490.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.1637, allocations: 107.2 kB / 490.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.164, allocations: 36.33 kB / 490.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000605/0.1646, allocations: 405.4 kB / 491.2 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.1649, allocations: 0.7439 MB / 491.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.868e-05/0.165, allocations: 17.48 kB / 491.9 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.428e-05/0.165, allocations: 15.44 kB / 491.9 MB, free: 10.35 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.165, allocations: 0 / 491.9 MB, free: 10.35 MB / 366.1 MB Notification: Performance of Templates: time 0.007281/0.1723, allocations: 3.757 MB / 495.7 MB, free: 6.633 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","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches