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_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_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 105.4 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.001168/0.001168, allocations: 188 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.338/1.338, allocations: 222.9 MB / 243 MB, free: 15.08 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.2215/0.2215, allocations: 44.17 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001265, allocations: 60.39 kB / 409.9 MB, free: 26.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1038, allocations: 60.83 MB / 470.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003814/0.1076, allocations: 2.671 MB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002092/0.1097, allocations: 1.425 MB / 474.8 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.1099, allocations: 0 / 474.8 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003359/0.1102, allocations: 111.2 kB / 474.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003619/0.1106, allocations: 134.8 kB / 475.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005656/0.1112, allocations: 259.1 kB / 475.3 MB, free: 9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003066/0.1115, allocations: 282 kB / 475.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.78e-05/0.1116, allocations: 24.73 kB / 475.6 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.1117, allocations: 91.41 kB / 475.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.1119, allocations: 127.2 kB / 475.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.497e-05/0.1119, allocations: 11.94 kB / 475.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009252/0.1129, allocations: 0.5851 MB / 476.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.329e-05/0.1129, allocations: 39.72 kB / 476.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.1131, allocations: 143 kB / 476.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006187/0.1137, allocations: 0.5331 MB / 477.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1137, allocations: 4 kB / 477.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1137, allocations: 0 / 477.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.1137, allocations: 0 / 477.2 MB, free: 7.164 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.00085/0.1146, allocations: 0.62 MB / 477.8 MB, free: 6.496 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.1146, allocations: 8.031 kB / 477.8 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.489e-05/0.1147, allocations: 40.47 kB / 477.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.115, allocations: 248.2 kB / 478.1 MB, free: 6.168 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.115, allocations: 33.38 kB / 478.1 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.129e-05/0.1151, allocations: 40.12 kB / 478.1 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006378/0.1157, allocations: 0.5736 MB / 478.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.1158, allocations: 7.938 kB / 478.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.1158, allocations: 16 kB / 478.7 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.1158, allocations: 12 kB / 478.7 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004915/0.1163, allocations: 337 kB / 479.1 MB, free: 5.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002473/0.1188, allocations: 4.043 MB / 483.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.1191, allocations: 94.47 kB / 483.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.1192, allocations: 36.95 kB / 483.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.1192, allocations: 0 / 483.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.1192, allocations: 30.56 kB / 483.3 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1193, allocations: 4 kB / 483.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004855/0.1197, allocations: 169.2 kB / 483.4 MB, free: 440 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.1198, allocations: 51.41 kB / 483.5 MB, free: 376 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000381/0.1202, allocations: 413.8 kB / 483.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.1202, allocations: 25.7 kB / 483.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.1204, allocations: 254.9 kB / 484.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.1204, allocations: 35.64 kB / 484.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.1205, allocations: 73.92 kB / 484.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1207, allocations: 350.7 kB / 484.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.1208, allocations: 56.61 kB / 484.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/0.1211, allocations: 258.4 kB / 484.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004539/0.1216, allocations: 351.9 kB / 485.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.1216, allocations: 0 / 485.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000605/0.1222, allocations: 353.2 kB / 485.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.1222, allocations: 8 kB / 485.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.1222, allocations: 8 kB / 485.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.1223, allocations: 11.98 kB / 485.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004876/0.1228, allocations: 111.8 kB / 485.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006994/0.1235, allocations: 1.223 MB / 487 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002853/0.1238, allocations: 63.28 kB / 487 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.94e-05/0.1238, allocations: 23.98 kB / 487.1 MB, free: 12.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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.000137/0.124, allocations: 145.7 kB / 487.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.159e-05/0.124, allocations: 39.47 kB / 487.2 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004187/0.1244, allocations: 184.9 kB / 487.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.1245, allocations: 4 kB / 487.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1245, allocations: 0 / 487.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1245, allocations: 4 kB / 487.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000374/0.1249, allocations: 277.5 kB / 487.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1249, allocations: 3.938 kB / 487.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002838/0.1252, allocations: 51.97 kB / 487.8 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1252, allocations: 0 / 487.8 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.1252, allocations: 4 kB / 487.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006327/0.1258, allocations: 1.207 MB / 489 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1258, allocations: 0 / 489 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003348/0.1262, allocations: 227.1 kB / 489.2 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.801e-05/0.1263, allocations: 108.6 kB / 489.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.66e-05/0.1263, allocations: 11.94 kB / 489.3 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.1265, allocations: 8.078 kB / 489.3 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.1266, allocations: 4 kB / 489.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.1266, allocations: 4 kB / 489.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002621/0.1269, allocations: 283.1 kB / 489.6 MB, free: 9.816 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1269, allocations: 0 / 489.6 MB, free: 9.816 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005036/0.1274, allocations: 112 kB / 489.7 MB, free: 9.707 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 (7): * Single equations (assignments): 5 * 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.0003379/0.1277, allocations: 164.4 kB / 489.9 MB, free: 9.535 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005613/0.1283, allocations: 216.2 kB / 490.1 MB, free: 9.324 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1283, allocations: 0 / 490.1 MB, free: 9.324 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002688/0.1286, allocations: 77.25 kB / 490.2 MB, free: 9.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.129, allocations: 47.52 kB / 490.2 MB, free: 9.207 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007719/0.1298, allocations: 0.4936 MB / 490.7 MB, free: 8.691 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.1301, allocations: 0.7756 MB / 491.5 MB, free: 7.887 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.1302, allocations: 30.97 kB / 491.5 MB, free: 7.855 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.541e-05/0.1302, allocations: 27.42 kB / 491.5 MB, free: 7.828 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1302, allocations: 0 / 491.5 MB, free: 7.828 MB / 366.1 MB Notification: Performance of Templates: time 0.01047/0.1407, allocations: 6.163 MB / 497.7 MB, free: 1.719 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_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/kc_roundTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches