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.001286/0.001286, allocations: 110 kB / 18.45 MB, free: 4.578 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.001025/0.001025, allocations: 186.3 kB / 19.38 MB, free: 3.66 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.26/1.26, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.1973/0.1973, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 68.05 kB / 471.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3043, allocations: 60.81 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003461/0.3078, allocations: 2.183 MB / 0.5217 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.3094, allocations: 1.061 MB / 0.5228 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002039/0.3097, allocations: 1.375 kB / 0.5228 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003814/0.3101, allocations: 95.39 kB / 0.5229 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004044/0.3105, allocations: 83.83 kB / 0.5229 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004025/0.3109, allocations: 117.8 kB / 0.523 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002759/0.3112, allocations: 181 kB / 0.5232 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.669e-05/0.3113, allocations: 15.95 kB / 0.5232 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.3114, allocations: 67.77 kB / 0.5233 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.3116, allocations: 88.94 kB / 0.5234 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.3116, allocations: 5.125 kB / 0.5234 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005049/0.3121, allocations: 260.6 kB / 0.5236 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.725e-05/0.3122, allocations: 33.91 kB / 0.5237 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.632e-05/0.3123, allocations: 79.33 kB / 0.5237 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005946/0.3129, allocations: 333.7 kB / 0.5241 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.313, allocations: 0.9062 kB / 0.5241 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.313, allocations: 0.7031 kB / 0.5241 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.545e-05/0.313, allocations: 0 / 0.5241 GB, free: 0.6953 MB / 382.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.000679/0.3137, allocations: 0.4935 MB / 0.5245 GB, free: 244 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.3137, allocations: 9.641 kB / 0.5246 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.305e-05/0.3138, allocations: 24.69 kB / 0.5246 GB, free: 232 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.314, allocations: 220.7 kB / 0.5248 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.314, allocations: 13.62 kB / 0.5248 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.317e-05/0.3141, allocations: 29.52 kB / 0.5248 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005137/0.3146, allocations: 226 kB / 0.525 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3147, allocations: 0 / 0.525 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.3147, allocations: 13.88 kB / 0.5251 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.3147, allocations: 5.875 kB / 0.5251 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000453/0.3152, allocations: 246.2 kB / 0.5253 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.3162, allocations: 0.6205 MB / 0.5259 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/0.3165, allocations: 100 kB / 0.526 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.3166, allocations: 39.5 kB / 0.526 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.3167, allocations: 6.062 kB / 0.526 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.3167, allocations: 40.59 kB / 0.5261 GB, free: 15.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 2.665e-06/0.3167, allocations: 0 / 0.5261 GB, free: 15.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005334/0.3173, allocations: 169.6 kB / 0.5262 GB, free: 15.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.3173, allocations: 57.52 kB / 0.5263 GB, free: 15.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.3176, allocations: 265.9 kB / 0.5266 GB, free: 14.96 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.3176, allocations: 26.95 kB / 0.5266 GB, free: 14.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.3177, allocations: 168.5 kB / 0.5267 GB, free: 14.78 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.3178, allocations: 31.55 kB / 0.5268 GB, free: 14.76 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.619e-05/0.3178, allocations: 48.23 kB / 0.5268 GB, free: 14.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.318, allocations: 336.6 kB / 0.5271 GB, free: 14.4 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.3181, allocations: 55.03 kB / 0.5272 GB, free: 14.39 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.3184, allocations: 147.1 kB / 0.5273 GB, free: 14.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/0.3188, allocations: 213.1 kB / 0.5275 GB, free: 14.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.3188, allocations: 5.094 kB / 0.5275 GB, free: 14.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004817/0.3193, allocations: 234.5 kB / 0.5278 GB, free: 13.97 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.3193, allocations: 9.844 kB / 0.5278 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.3193, allocations: 6.906 kB / 0.5278 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.3193, allocations: 9.172 kB / 0.5278 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/0.3197, allocations: 83.75 kB / 0.5279 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006498/0.3204, allocations: 1.218 MB / 0.5291 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.3206, allocations: 40.02 kB / 0.5291 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.3206, allocations: 18.94 kB / 0.5291 GB, free: 12.7 MB / 398.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.0001192/0.3207, allocations: 130 kB / 0.5292 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.3208, allocations: 22.72 kB / 0.5293 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004101/0.3212, allocations: 169.4 kB / 0.5294 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3212, allocations: 1.375 kB / 0.5294 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3212, allocations: 0 / 0.5294 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3212, allocations: 1.375 kB / 0.5294 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006229/0.3219, allocations: 454.8 kB / 0.5299 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3219, allocations: 0 / 0.5299 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.3221, allocations: 60.56 kB / 0.5299 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3221, allocations: 1.156 kB / 0.5299 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.3222, allocations: 2.844 kB / 0.5299 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006171/0.3228, allocations: 1.21 MB / 0.5311 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3228, allocations: 1.406 kB / 0.5311 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.3232, allocations: 253.6 kB / 0.5313 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.847e-05/0.3232, allocations: 99.3 kB / 0.5314 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.3233, allocations: 2.344 kB / 0.5314 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.3234, allocations: 12.3 kB / 0.5315 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.3235, allocations: 12.98 kB / 0.5315 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.3235, allocations: 3.562 kB / 0.5315 GB, free: 10.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001547/0.3237, allocations: 190.6 kB / 0.5317 GB, free: 10.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3237, allocations: 4 kB / 0.5317 GB, free: 10.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003974/0.3241, allocations: 61.94 kB / 0.5317 GB, free: 10.33 MB / 398.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.0002618/0.3243, allocations: 148.5 kB / 0.5319 GB, free: 10.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005388/0.3249, allocations: 173.3 kB / 0.532 GB, free: 10.15 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3249, allocations: 0 / 0.532 GB, free: 10.15 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002993/0.3252, allocations: 88.03 kB / 0.5321 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.3256, allocations: 38.47 kB / 0.5321 GB, free: 10.09 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007878/0.3264, allocations: 413.9 kB / 0.5325 GB, free: 9.789 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.3267, allocations: 0.7307 MB / 0.5332 GB, free: 9.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.987e-05/0.3268, allocations: 22.17 kB / 0.5333 GB, free: 9.059 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3268, allocations: 1.469 kB / 0.5333 GB, free: 9.059 MB / 398.1 MB Notification: Performance of Templates: time 0.006867/0.3336, allocations: 4.368 MB / 0.5375 GB, free: 6.773 MB / 398.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