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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007541/0.0007541, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009856/0.00174, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006243/0.0006243, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008428/0.001467, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8523/0.8523, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.164/1.016, allocations: 52.49 MB / 238.5 MB, free: 7.621 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1755/0.1755, allocations: 32.8 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04015/0.2157, allocations: 12.54 MB / 284.5 MB, free: 9.711 MB / 282.7 MB " [Timeout remaining time 180] 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=5003,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.[0-9,]+.|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=5003,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.[0-9,]+.|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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 3.938 kB / 285.9 MB, free: 8.395 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.953e-05/2.085e-05, allocations: 2.312 kB / 285.9 MB, free: 8.391 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003657/0.003678, allocations: 2.268 MB / 288.1 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001702/0.00538, allocations: 1.043 MB / 289.2 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.005494, allocations: 0 / 289.2 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002614/0.005755, allocations: 95.34 kB / 289.3 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002625/0.006018, allocations: 95.19 kB / 289.4 MB, free: 4.871 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.006323, allocations: 111.5 kB / 289.5 MB, free: 4.762 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.006556, allocations: 190.7 kB / 289.7 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.076e-05/0.006607, allocations: 22.5 kB / 289.7 MB, free: 4.555 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002197/0.006827, allocations: 115.5 kB / 289.8 MB, free: 4.441 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.006963, allocations: 63.73 kB / 289.9 MB, free: 4.379 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.006987, allocations: 8 kB / 289.9 MB, free: 4.371 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003412/0.007329, allocations: 139.8 kB / 290 MB, free: 4.234 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.922e-05/0.007378, allocations: 15.88 kB / 290 MB, free: 4.219 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.052e-05/0.007438, allocations: 39.88 kB / 290.1 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003772/0.007816, allocations: 254.8 kB / 290.3 MB, free: 3.93 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.157e-05/0.007827, allocations: 0 / 290.3 MB, free: 3.93 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.007828, allocations: 0 / 290.3 MB, free: 3.93 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.00784, allocations: 4 kB / 290.3 MB, free: 3.926 MB / 282.7 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.0005279/0.008367, allocations: 439.9 kB / 290.7 MB, free: 3.473 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.0084, allocations: 8.031 kB / 290.7 MB, free: 3.465 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.066e-05/0.00846, allocations: 36.91 kB / 290.8 MB, free: 3.43 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.008631, allocations: 153.4 kB / 290.9 MB, free: 3.254 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.008649, allocations: 16.88 kB / 290.9 MB, free: 3.238 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.008676, allocations: 16.38 kB / 291 MB, free: 3.223 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.008931, allocations: 172.1 kB / 291.1 MB, free: 3.043 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.008942, allocations: 3.938 kB / 291.1 MB, free: 3.039 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.008959, allocations: 8 kB / 291.1 MB, free: 3.031 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.008969, allocations: 12 kB / 291.2 MB, free: 3.02 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.009088, allocations: 79.47 kB / 291.2 MB, free: 2.945 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006934/0.009782, allocations: 405.5 kB / 291.6 MB, free: 2.527 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.009921, allocations: 53.31 kB / 291.7 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.708e-05/0.009958, allocations: 20.84 kB / 291.7 MB, free: 2.441 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.00998, allocations: 0 / 291.7 MB, free: 2.441 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.01001, allocations: 38.5 kB / 291.7 MB, free: 2.395 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.01001, allocations: 0 / 291.7 MB, free: 2.395 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002016/0.01021, allocations: 69.61 kB / 291.8 MB, free: 2.32 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.01024, allocations: 59.41 kB / 291.9 MB, free: 2.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.01039, allocations: 204.4 kB / 292.1 MB, free: 2.035 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.0104, allocations: 25.7 kB / 292.1 MB, free: 2.004 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.844e-05/0.01049, allocations: 171.9 kB / 292.3 MB, free: 1.832 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.01052, allocations: 31.73 kB / 292.3 MB, free: 1.801 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-05/0.01059, allocations: 53.58 kB / 292.3 MB, free: 1.742 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.38e-05/0.01069, allocations: 326.8 kB / 292.7 MB, free: 1.414 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.898e-05/0.01073, allocations: 19.98 kB / 292.7 MB, free: 1.395 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.01083, allocations: 119.8 kB / 292.8 MB, free: 1.234 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.01101, allocations: 167.5 kB / 293 MB, free: 1.023 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01101, allocations: 8 kB / 293 MB, free: 1.016 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002369/0.01125, allocations: 149.2 kB / 293.1 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.01127, allocations: 11.94 kB / 293.1 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.01127, allocations: 4.438 kB / 293.1 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.01129, allocations: 8 kB / 293.1 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/0.01162, allocations: 63.91 kB / 293.2 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006135/0.01223, allocations: 1.199 MB / 294.4 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.01238, allocations: 31.83 kB / 294.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.01239, allocations: 8 kB / 294.4 MB, free: 15.49 MB / 298.7 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_1.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 (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 9.871e-05/0.01249, allocations: 136.5 kB / 294.6 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.01253, allocations: 7.984 kB / 294.6 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.01273, allocations: 107.5 kB / 294.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.01274, allocations: 0 / 294.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.01274, allocations: 3.938 kB / 294.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.01274, allocations: 0 / 294.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003397/0.01308, allocations: 260.4 kB / 294.9 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.01309, allocations: 8.062 kB / 295 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.01329, allocations: 35.97 kB / 295 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.224e-05/0.01331, allocations: 15.86 kB / 295 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.01331, allocations: 3.938 kB / 295 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.01333, allocations: 8 kB / 295 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005164/0.01384, allocations: 1.197 MB / 296.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.01384, allocations: 4 kB / 296.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.014, allocations: 180.1 kB / 296.4 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.01403, allocations: 3.984 kB / 296.4 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.01413, allocations: 4 kB / 296.4 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.01417, allocations: 15.92 kB / 296.4 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.01418, allocations: 4 kB / 296.4 MB, free: 13.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.737e-05/0.01424, allocations: 61.98 kB / 296.5 MB, free: 13.33 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01424, allocations: 0 / 296.5 MB, free: 13.33 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003733/0.01461, allocations: 75.75 kB / 296.6 MB, free: 13.25 MB / 298.7 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.0002667/0.01488, allocations: 128.2 kB / 296.7 MB, free: 13.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003448/0.01522, allocations: 122.3 kB / 296.8 MB, free: 12.99 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/0.01523, allocations: 4 kB / 296.8 MB, free: 12.99 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.01542, allocations: 74.48 kB / 296.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.01564, allocations: 118.6 kB / 297 MB, free: 12.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.01732, allocations: 412.4 kB / 297.4 MB, free: 12.33 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.167e-05/0.01736, allocations: 75.92 kB / 297.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.153e-05/0.01741, allocations: 21.61 kB / 297.5 MB, free: 12.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.333e-05/0.01748, allocations: 67.36 kB / 297.6 MB, free: 12.15 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01749, allocations: 4 kB / 297.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of Templates: time 0.004965/0.02245, allocations: 3.348 MB / 300.9 MB, free: 8.848 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7004919182509184]