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.001454/0.001454, allocations: 109.9 kB / 18.3 MB, free: 4.887 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.001686/0.001686, allocations: 195.5 kB / 19.23 MB, free: 3.961 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.459/1.459, allocations: 222.9 MB / 242.9 MB, free: 15.21 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.1996/0.1996, allocations: 44.19 MB / 337.3 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 69.08 kB / 409.1 MB, free: 27.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09975/0.1016, allocations: 60.81 MB / 469.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003459/0.1051, allocations: 2.172 MB / 472.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.1067, allocations: 1.067 MB / 473.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.1069, allocations: 3.938 kB / 473.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000347/0.1073, allocations: 95.38 kB / 473.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003316/0.1076, allocations: 79.33 kB / 473.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000316/0.108, allocations: 119.5 kB / 473.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002249/0.1082, allocations: 178.9 kB / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.674e-05/0.1083, allocations: 12.41 kB / 473.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.1084, allocations: 71.59 kB / 473.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.1086, allocations: 91.48 kB / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.321e-05/0.1086, allocations: 7.938 kB / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004249/0.109, allocations: 259.6 kB / 474.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.121e-05/0.1091, allocations: 31.8 kB / 474.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.904e-05/0.1092, allocations: 83.39 kB / 474.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004315/0.1096, allocations: 326.7 kB / 474.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1097, allocations: 0 / 474.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1097, allocations: 0 / 474.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.1097, allocations: 0 / 474.5 MB, free: 9.719 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.0006037/0.1103, allocations: 0.4951 MB / 475 MB, free: 9.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.1103, allocations: 11.97 kB / 475 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.689e-05/0.1104, allocations: 28.66 kB / 475.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.1106, allocations: 215.6 kB / 475.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.1106, allocations: 20.8 kB / 475.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.1107, allocations: 20.12 kB / 475.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004038/0.1111, allocations: 223.3 kB / 475.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1111, allocations: 0 / 475.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.1111, allocations: 12 kB / 475.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1111, allocations: 4 kB / 475.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004301/0.1116, allocations: 253.5 kB / 475.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009233/0.1125, allocations: 0.6157 MB / 476.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.1128, allocations: 102.7 kB / 476.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.113, allocations: 48.81 kB / 476.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.113, allocations: 4 kB / 476.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.113, allocations: 34.5 kB / 476.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.723e-06/0.113, allocations: 0 / 476.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005331/0.1136, allocations: 165.3 kB / 476.7 MB, free: 7.324 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.1136, allocations: 55.41 kB / 476.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.1139, allocations: 270.9 kB / 477.1 MB, free: 6.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.1139, allocations: 25.7 kB / 477.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.114, allocations: 167.4 kB / 477.3 MB, free: 6.789 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.114, allocations: 39.47 kB / 477.3 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.677e-05/0.1141, allocations: 49.98 kB / 477.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1143, allocations: 338.8 kB / 477.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.1144, allocations: 47.95 kB / 477.7 MB, free: 6.309 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.1146, allocations: 144.8 kB / 477.9 MB, free: 6.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003603/0.115, allocations: 216.5 kB / 478.1 MB, free: 5.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.115, allocations: 0 / 478.1 MB, free: 5.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004797/0.1155, allocations: 237.1 kB / 478.3 MB, free: 5.625 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.1155, allocations: 8 kB / 478.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.1156, allocations: 4.438 kB / 478.3 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.1156, allocations: 8 kB / 478.3 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003916/0.116, allocations: 79.91 kB / 478.4 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007166/0.1167, allocations: 1.223 MB / 479.6 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.1169, allocations: 31.88 kB / 479.7 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.1169, allocations: 16 kB / 479.7 MB, free: 4.211 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.0001281/0.1171, allocations: 133.7 kB / 479.8 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/0.1171, allocations: 19.72 kB / 479.8 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004514/0.1176, allocations: 179.1 kB / 480 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1176, allocations: 0 / 480 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1176, allocations: 0 / 480 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1176, allocations: 7.984 kB / 480 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006226/0.1182, allocations: 452 kB / 480.4 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1183, allocations: 0 / 480.4 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.1185, allocations: 59.97 kB / 480.5 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.77e-06/0.1185, allocations: 0 / 480.5 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.1185, allocations: 7.938 kB / 480.5 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006346/0.1192, allocations: 1.211 MB / 481.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.1192, allocations: 4.031 kB / 481.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003739/0.1196, allocations: 240.8 kB / 482 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-05/0.1197, allocations: 96.92 kB / 482.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/0.1197, allocations: 11.98 kB / 482.1 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.1199, allocations: 7.938 kB / 482.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.706e-05/0.1199, allocations: 7.984 kB / 482.1 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.1199, allocations: 12 kB / 482.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001634/0.1201, allocations: 186 kB / 482.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1201, allocations: 0 / 482.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003709/0.1205, allocations: 67.94 kB / 482.3 MB, free: 1.367 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.0002825/0.1208, allocations: 139.3 kB / 482.5 MB, free: 1.223 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005574/0.1214, allocations: 183.7 kB / 482.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1214, allocations: 0 / 482.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002952/0.1217, allocations: 88.89 kB / 482.7 MB, free: 0.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.1221, allocations: 23.7 kB / 482.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007732/0.1228, allocations: 436.4 kB / 483.2 MB, free: 488 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.1231, allocations: 0.7323 MB / 483.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.673e-05/0.1232, allocations: 19.44 kB / 483.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1232, allocations: 0 / 483.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of Templates: time 0.006323/0.1296, allocations: 4.364 MB / 488.3 MB, free: 11.34 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/jenkins1/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/jenkins1/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