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_flatTube_KC.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_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009834/0.0009834, allocations: 93.25 kB / 17.35 MB, free: 6.371 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.001204/0.001204, allocations: 173.1 kB / 18.25 MB, free: 5.523 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.354/1.354, allocations: 223.3 MB / 242.3 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2008/0.2008, allocations: 44.25 MB / 337.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003653, allocations: 8 kB / 410.4 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1117, allocations: 61.91 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002211/0.1139, allocations: 1.882 MB / 474.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.1154, allocations: 1.055 MB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.057e-05/0.1155, allocations: 4 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.1158, allocations: 83.5 kB / 475.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002673/0.1161, allocations: 79.39 kB / 475.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.1163, allocations: 91.7 kB / 475.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.1165, allocations: 190.9 kB / 475.6 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.495e-05/0.1166, allocations: 12.41 kB / 475.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.1167, allocations: 67.59 kB / 475.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.1169, allocations: 91.48 kB / 475.8 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.1169, allocations: 4 kB / 475.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003773/0.1173, allocations: 259.6 kB / 476.1 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.751e-05/0.1173, allocations: 31.78 kB / 476.1 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.871e-05/0.1174, allocations: 109 kB / 476.2 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004045/0.1179, allocations: 318.6 kB / 476.5 MB, free: 9.035 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.1179, allocations: 8 kB / 476.5 MB, free: 9.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1179, allocations: 0 / 476.5 MB, free: 9.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.1179, allocations: 0 / 476.5 MB, free: 9.027 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006134/0.1185, allocations: 475.1 kB / 477 MB, free: 8.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1186, allocations: 8.031 kB / 477 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.382e-05/0.1186, allocations: 24.66 kB / 477 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.1188, allocations: 216 kB / 477.2 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.1189, allocations: 20.81 kB / 477.3 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.986e-05/0.1189, allocations: 20.12 kB / 477.3 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004569/0.1194, allocations: 235.2 kB / 477.5 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.1194, allocations: 0 / 477.5 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.1194, allocations: 12 kB / 477.5 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.1194, allocations: 7.984 kB / 477.5 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004454/0.1199, allocations: 257.6 kB / 477.8 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009379/0.1208, allocations: 0.6118 MB / 478.4 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.1211, allocations: 110.6 kB / 478.5 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.1213, allocations: 44.84 kB / 478.5 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.1213, allocations: 11.98 kB / 478.6 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.1214, allocations: 30.56 kB / 478.6 MB, free: 6.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.1214, allocations: 0 / 478.6 MB, free: 6.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.000582/0.122, allocations: 185.2 kB / 478.8 MB, free: 6.625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.122, allocations: 55.41 kB / 478.8 MB, free: 6.559 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.1223, allocations: 270.9 kB / 479.1 MB, free: 6.289 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1223, allocations: 25.7 kB / 479.1 MB, free: 6.258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.1224, allocations: 167.4 kB / 479.3 MB, free: 6.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.1225, allocations: 39.48 kB / 479.3 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/0.1225, allocations: 25.7 kB / 479.3 MB, free: 6.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1227, allocations: 338.8 kB / 479.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.1228, allocations: 55.97 kB / 479.7 MB, free: 5.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.1231, allocations: 156.8 kB / 479.9 MB, free: 5.426 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000416/0.1235, allocations: 220.5 kB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1235, allocations: 0 / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004882/0.124, allocations: 249.5 kB / 480.3 MB, free: 4.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.124, allocations: 12 kB / 480.3 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1241, allocations: 0 / 480.3 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1241, allocations: 12 kB / 480.4 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003702/0.1244, allocations: 83.89 kB / 480.4 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007007/0.1252, allocations: 1.219 MB / 481.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.1254, allocations: 43.58 kB / 481.7 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.1254, allocations: 12 kB / 481.7 MB, free: 3.488 MB / 350.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.1255, allocations: 129.7 kB / 481.8 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.151e-05/0.1256, allocations: 19.72 kB / 481.9 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004609/0.126, allocations: 191.6 kB / 482 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1261, allocations: 4 kB / 482 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1261, allocations: 3.938 kB / 482.1 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.1261, allocations: 0 / 482.1 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006262/0.1267, allocations: 460.1 kB / 482.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1267, allocations: 0 / 482.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.127, allocations: 63.91 kB / 482.6 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.127, allocations: 0 / 482.6 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.127, allocations: 4 kB / 482.6 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007734/0.1278, allocations: 1.219 MB / 483.8 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1278, allocations: 32 / 483.8 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003888/0.1282, allocations: 264.9 kB / 484 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.169e-05/0.1283, allocations: 100.8 kB / 484.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.1283, allocations: 0 / 484.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.1285, allocations: 11.98 kB / 484.2 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/0.1285, allocations: 8 kB / 484.2 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.1286, allocations: 11.98 kB / 484.2 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000197/0.1288, allocations: 182 kB / 484.4 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1288, allocations: 0 / 484.4 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003651/0.1291, allocations: 71.92 kB / 484.4 MB, free: 0.6055 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002522/0.1294, allocations: 135.8 kB / 484.6 MB, free: 476 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006639/0.1301, allocations: 183.7 kB / 484.7 MB, free: 292 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1301, allocations: 0 / 484.7 MB, free: 292 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002994/0.1304, allocations: 91.89 kB / 484.8 MB, free: 200 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.1308, allocations: 33.84 kB / 484.9 MB, free: 168 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000882/0.1317, allocations: 495.9 kB / 485.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.1321, allocations: 0.7326 MB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.949e-05/0.1322, allocations: 21.98 kB / 486.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.691e-05/0.1323, allocations: 15.44 kB / 486.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of SimCode: time 6.22e-07/0.1323, allocations: 4 kB / 486.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of Templates: time 0.007778/0.1401, allocations: 3.293 MB / 489.4 MB, free: 11.59 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_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/kc_flatTube_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches