Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 104.3 kB / 18.4 MB, free: 4.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 187 kB / 19.34 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 243 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2253/0.2253, allocations: 44.18 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001306, allocations: 68.11 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1132, allocations: 60.82 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003512/0.1168, allocations: 2.097 MB / 472.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002661/0.1195, allocations: 1.658 MB / 474.5 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.1196, allocations: 3.938 kB / 474.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003937/0.12, allocations: 95.38 kB / 474.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.1202, allocations: 63.42 kB / 474.6 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008425/0.1211, allocations: 350.7 kB / 475 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.1213, allocations: 147 kB / 475.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.64e-05/0.1213, allocations: 12.31 kB / 475.1 MB, free: 9.211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.1214, allocations: 55.66 kB / 475.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.1216, allocations: 59.59 kB / 475.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.1216, allocations: 4 kB / 475.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.1228, allocations: 0.7646 MB / 476 MB, free: 8.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.185e-05/0.1229, allocations: 27.8 kB / 476 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.123, allocations: 79.42 kB / 476.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008911/0.1239, allocations: 0.5647 MB / 476.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.1239, allocations: 0 / 476.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.079e-06/0.1239, allocations: 0 / 476.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.1239, allocations: 3.938 kB / 476.7 MB, free: 7.652 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009231/0.1249, allocations: 0.503 MB / 477.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/0.1249, allocations: 16.03 kB / 477.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.791e-05/0.125, allocations: 20.66 kB / 477.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.1253, allocations: 208.5 kB / 477.4 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.674e-05/0.1254, allocations: 20.38 kB / 477.5 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.758e-05/0.1254, allocations: 16 kB / 477.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005312/0.126, allocations: 267.4 kB / 477.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.126, allocations: 4 kB / 477.7 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.126, allocations: 12 kB / 477.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.1261, allocations: 4 kB / 477.8 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003151/0.1264, allocations: 156.2 kB / 477.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.1275, allocations: 0.9041 MB / 478.8 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.1277, allocations: 66.48 kB / 478.9 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.99e-05/0.1278, allocations: 28.95 kB / 478.9 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.988e-05/0.1279, allocations: 0 / 478.9 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.1279, allocations: 34.56 kB / 478.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.1279, allocations: 4 kB / 478.9 MB, free: 5.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004553/0.1284, allocations: 133.5 kB / 479.1 MB, free: 5.074 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.1285, allocations: 59.34 kB / 479.1 MB, free: 5.004 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/0.1287, allocations: 266.9 kB / 479.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.1288, allocations: 25.7 kB / 479.4 MB, free: 4.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.1289, allocations: 187 kB / 479.6 MB, free: 4.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.1289, allocations: 19.73 kB / 479.6 MB, free: 4.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.736e-05/0.129, allocations: 53.61 kB / 479.7 MB, free: 4.441 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1291, allocations: 334.8 kB / 480 MB, free: 4.105 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.1292, allocations: 40.2 kB / 480 MB, free: 4.062 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.1295, allocations: 194 kB / 480.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/0.1298, allocations: 259.3 kB / 480.5 MB, free: 3.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1298, allocations: 4 kB / 480.5 MB, free: 3.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004334/0.1302, allocations: 265.2 kB / 480.7 MB, free: 3.211 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.1303, allocations: 4 kB / 480.7 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-05/0.1303, allocations: 16 kB / 480.8 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.1303, allocations: 7.984 kB / 480.8 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.1305, allocations: 47.86 kB / 480.8 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.1305, allocations: 11.94 kB / 480.8 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.1307, allocations: 39.58 kB / 480.9 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.1307, allocations: 20.28 kB / 480.9 MB, free: 3.066 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.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 (25): * Single equations (assignments): 23 * 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.0001171/0.1308, allocations: 137.7 kB / 481 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.118e-05/0.1309, allocations: 23.72 kB / 481 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000349/0.1312, allocations: 138.8 kB / 481.2 MB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.1313, allocations: 3.938 kB / 481.2 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1313, allocations: 0 / 481.2 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1313, allocations: 0 / 481.2 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.1315, allocations: 217.6 kB / 481.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.718e-05/0.1315, allocations: 12 kB / 481.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.767e-05/0.1316, allocations: 8 kB / 481.4 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.1316, allocations: 3.984 kB / 481.4 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.1316, allocations: 0 / 481.4 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1316, allocations: 7.938 kB / 481.4 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.1316, allocations: 4 kB / 481.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.1319, allocations: 199.2 kB / 481.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/0.132, allocations: 100.8 kB / 481.7 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.132, allocations: 0 / 481.7 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.718e-05/0.1321, allocations: 7.938 kB / 481.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.1322, allocations: 15.92 kB / 481.7 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.1322, allocations: 4 kB / 481.8 MB, free: 2.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001529/0.1324, allocations: 182 kB / 481.9 MB, free: 1.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1324, allocations: 0 / 481.9 MB, free: 1.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004642/0.1328, allocations: 92 kB / 482 MB, free: 1.828 MB / 350.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.0004048/0.1333, allocations: 191.1 kB / 482.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004805/0.1337, allocations: 203.8 kB / 482.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1338, allocations: 0 / 482.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.134, allocations: 103.9 kB / 482.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.1343, allocations: 24.55 kB / 482.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006331/0.135, allocations: 359.8 kB / 482.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.1352, allocations: 0.7323 MB / 483.6 MB, free: 152 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.794e-05/0.1353, allocations: 26.27 kB / 483.6 MB, free: 128 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.761e-05/0.1354, allocations: 15.44 kB / 483.7 MB, free: 116 kB / 350.1 MB Notification: Performance of SimCode: time 1.533e-06/0.1354, allocations: 0 / 483.7 MB, free: 116 kB / 350.1 MB Notification: Performance of Templates: time 0.01033/0.1457, allocations: 6.155 MB / 489.8 MB, free: 9.988 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube/kc_roundTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches