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.001465/0.001465, 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.001655/0.001655, 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.342/1.342, allocations: 222.9 MB / 243 MB, free: 15.09 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.2117/0.2117, allocations: 44.18 MB / 337.4 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 62.73 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1086, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003399/0.112, allocations: 2.098 MB / 472.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002369/0.1144, allocations: 1.651 MB / 474.5 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.492e-05/0.1145, allocations: 0 / 474.5 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.1149, allocations: 99.38 kB / 474.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.115, allocations: 59.42 kB / 474.6 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000746/0.1158, allocations: 350.5 kB / 475 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.116, allocations: 154.9 kB / 475.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.164e-05/0.116, allocations: 16.3 kB / 475.1 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.986e-05/0.1161, allocations: 47.73 kB / 475.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.609e-05/0.1162, allocations: 63.59 kB / 475.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.1162, allocations: 4 kB / 475.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.1173, allocations: 0.7606 MB / 476 MB, free: 8.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.448e-05/0.1173, allocations: 27.84 kB / 476 MB, free: 8.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.454e-05/0.1174, allocations: 71.44 kB / 476.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006535/0.1181, allocations: 0.5725 MB / 476.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.1181, allocations: 0 / 476.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1181, allocations: 0 / 476.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1181, allocations: 0 / 476.7 MB, free: 7.676 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.0006314/0.1187, allocations: 0.5108 MB / 477.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.1188, allocations: 8.031 kB / 477.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/0.1188, allocations: 24.66 kB / 477.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.119, allocations: 212.5 kB / 477.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.1191, allocations: 24.31 kB / 477.5 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/0.1191, allocations: 20 kB / 477.5 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004068/0.1195, allocations: 263.5 kB / 477.7 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.1195, allocations: 0 / 477.7 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.1195, allocations: 7.984 kB / 477.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.1196, allocations: 8 kB / 477.8 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/0.1199, allocations: 152.2 kB / 477.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009864/0.1209, allocations: 0.9118 MB / 478.8 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.1211, allocations: 58.55 kB / 478.9 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.971e-05/0.1212, allocations: 28.95 kB / 478.9 MB, free: 5.277 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.769e-05/0.1212, allocations: 7.984 kB / 478.9 MB, free: 5.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.1212, allocations: 30.56 kB / 478.9 MB, free: 5.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.1213, allocations: 3.938 kB / 478.9 MB, free: 5.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004417/0.1217, allocations: 137.5 kB / 479.1 MB, free: 5.086 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.1217, allocations: 55.34 kB / 479.1 MB, free: 5.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.122, allocations: 266.9 kB / 479.4 MB, free: 4.754 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.122, allocations: 33.7 kB / 479.4 MB, free: 4.715 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.1222, allocations: 179 kB / 479.6 MB, free: 4.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.1222, allocations: 23.73 kB / 479.6 MB, free: 4.512 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.695e-05/0.1223, allocations: 49.61 kB / 479.7 MB, free: 4.457 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1224, allocations: 334.8 kB / 480 MB, free: 4.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.1225, allocations: 48.2 kB / 480 MB, free: 4.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.1227, allocations: 190 kB / 480.2 MB, free: 3.816 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003371/0.1231, allocations: 255.4 kB / 480.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.1231, allocations: 7.938 kB / 480.5 MB, free: 3.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004385/0.1235, allocations: 253.1 kB / 480.7 MB, free: 3.234 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1236, allocations: 8 kB / 480.7 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-05/0.1236, allocations: 12 kB / 480.8 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.1236, allocations: 8 kB / 480.8 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.1238, allocations: 59.78 kB / 480.8 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.1238, allocations: 4 kB / 480.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.124, allocations: 48.14 kB / 480.9 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.124, allocations: 12 kB / 480.9 MB, free: 3.086 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.0001035/0.1241, allocations: 137.7 kB / 481 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.1241, allocations: 19.72 kB / 481 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003509/0.1245, allocations: 138.8 kB / 481.2 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/0.1245, allocations: 7.938 kB / 481.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1245, allocations: 0 / 481.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1246, allocations: 3.984 kB / 481.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.1248, allocations: 217.6 kB / 481.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.651e-05/0.1248, allocations: 8 kB / 481.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.815e-05/0.1249, allocations: 7.984 kB / 481.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1249, allocations: 4 kB / 481.4 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1249, allocations: 4 kB / 481.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.1249, allocations: 11.92 kB / 481.4 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1249, allocations: 0 / 481.4 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.1252, allocations: 207.2 kB / 481.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.467e-05/0.1253, allocations: 92.86 kB / 481.7 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.1253, allocations: 4 kB / 481.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.1254, allocations: 15.92 kB / 481.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.1255, allocations: 4 kB / 481.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.1255, allocations: 4 kB / 481.7 MB, free: 2.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001441/0.1256, allocations: 189.9 kB / 481.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1256, allocations: 0 / 481.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004347/0.1261, allocations: 95.98 kB / 482 MB, free: 1.832 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.0003941/0.1265, allocations: 187.1 kB / 482.2 MB, free: 1.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004437/0.1269, allocations: 191.3 kB / 482.4 MB, free: 1.438 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1269, allocations: 5.125 kB / 482.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.1271, allocations: 103.4 kB / 482.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.1275, allocations: 20.88 kB / 482.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005779/0.1281, allocations: 363.8 kB / 482.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.1283, allocations: 0.7323 MB / 483.6 MB, free: 164 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.27e-05/0.1284, allocations: 29.88 kB / 483.6 MB, free: 136 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.421e-05/0.1285, allocations: 15.44 kB / 483.7 MB, free: 124 kB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1285, allocations: 0 / 483.7 MB, free: 124 kB / 350.1 MB Notification: Performance of Templates: time 0.01014/0.1386, allocations: 6.15 MB / 489.8 MB, free: 10 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 gbode -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