Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 107.8 kB / 17.05 MB, free: 6.035 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.001057/0.001057, allocations: 196.7 kB / 17.98 MB, free: 5.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.173/1.173, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1689/0.1689, allocations: 43.52 MB / 314.7 MB, free: 484 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.12e-05, allocations: 2.281 kB / 384.1 MB, free: 56.37 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002269/0.002304, allocations: 1.554 MB / 385.7 MB, free: 55.54 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004793/0.002796, allocations: 335.1 kB / 386 MB, free: 55.37 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.689e-05/0.002853, allocations: 5.094 kB / 386 MB, free: 55.36 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000516/0.003375, allocations: 452.7 kB / 386.5 MB, free: 55.35 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000327/0.00371, allocations: 246.4 kB / 386.7 MB, free: 55.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.004047, allocations: 156.7 kB / 386.8 MB, free: 55.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.00428, allocations: 166.4 kB / 387 MB, free: 55.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.047e-05/0.004377, allocations: 13.58 kB / 387 MB, free: 55.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.004504, allocations: 108.7 kB / 387.1 MB, free: 55.24 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.004676, allocations: 140.9 kB / 387.3 MB, free: 55.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.004699, allocations: 3.688 kB / 387.3 MB, free: 55.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.788e-05/0.004762, allocations: 26.81 kB / 387.3 MB, free: 55.21 MB / 318.1 MB Notification: Performance of combineBinaries: time 9.768e-05/0.004866, allocations: 103.1 kB / 387.4 MB, free: 55.16 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 2.74e-05/0.004898, allocations: 59.64 kB / 387.5 MB, free: 55.11 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.749e-05/0.00492, allocations: 6.406 kB / 387.5 MB, free: 55.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.336e-05/0.004938, allocations: 1.219 kB / 387.5 MB, free: 55.11 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 (5) * Number of variables: 5 (5) Notification: Performance of Bindings: time 0.0003258/0.005269, allocations: 344.7 kB / 387.8 MB, free: 54.77 MB / 318.1 MB Notification: Performance of FunctionAlias: time 4.368e-05/0.005318, allocations: 25.52 kB / 387.8 MB, free: 54.76 MB / 318.1 MB Notification: Performance of Early Inline: time 7.035e-05/0.005394, allocations: 99.3 kB / 387.9 MB, free: 54.66 MB / 318.1 MB Notification: Performance of simplify1: time 1.536e-05/0.005414, allocations: 8.188 kB / 387.9 MB, free: 54.66 MB / 318.1 MB Notification: Performance of Alias: time 0.0001918/0.00561, allocations: 124.2 kB / 388 MB, free: 54.54 MB / 318.1 MB Notification: Performance of simplify2: time 6.653e-06/0.005625, allocations: 6.672 kB / 388.1 MB, free: 54.53 MB / 318.1 MB Notification: Performance of Events: time 3.991e-05/0.005669, allocations: 14.52 kB / 388.1 MB, free: 54.52 MB / 318.1 MB Notification: Performance of Detect States: time 5.721e-05/0.005731, allocations: 44.91 kB / 388.1 MB, free: 54.48 MB / 318.1 MB Notification: Performance of Partitioning: time 4.558e-05/0.005783, allocations: 36.95 kB / 388.1 MB, free: 54.45 MB / 318.1 MB Notification: Performance of Causalize: time 0.0001712/0.005959, allocations: 170.6 kB / 388.3 MB, free: 54.38 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 6.103e-05/0.006028, allocations: 99.52 kB / 388.4 MB, free: 54.29 MB / 318.1 MB Notification: Performance of Inline: time 0.0001556/0.006189, allocations: 176.4 kB / 388.6 MB, free: 54.15 MB / 318.1 MB Notification: Performance of Partitioning: time 1.377e-05/0.006211, allocations: 17.98 kB / 388.6 MB, free: 54.13 MB / 318.1 MB Notification: Performance of Cleanup: time 1.062e-05/0.006227, allocations: 16.36 kB / 388.6 MB, free: 54.12 MB / 318.1 MB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency t_new.tableID could not be devided by the body size 2 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (2) t_new.u_max = Modelica.Blocks.Tables.Internal.getTable2DAbscissaUmax(t_new.tableID) ($RES_BND_8) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (4/6) ************************ (1) [PRMT] (1) Real const.y = const.k (fixed = true, start = const.k) (2) [PRMT] (2) final parameter Real[2] t_new.u_max = Modelica.Blocks.Tables.Internal.getTable2DAbscissaUmax(t_new.tableID) (fixed = {true for $i1 in 1:2}) (3) [PRMT] (2) final parameter Real[2] t_new.u_min = Modelica.Blocks.Tables.Internal.getTable2DAbscissaUmin(t_new.tableID) (fixed = {true for $i1 in 1:2}) (4) [EXTO] (1) protected parameter Modelica.Blocks.Types.ExternalCombiTable2D t_new.tableID = Modelica.Blocks.Types.ExternalCombiTable2D.constructor("NoName", "NoName", t_new.table, Modelica.Blocks.Types.Smoothness.ConstantSegments, Modelica.Blocks.Types.Extrapolation.LastTwoPoints, false) (fixed = true) System Equations (4/6) ************************ (1) [SCAL] (1) const.y = const.k ($RES_BND_9) (2) [ARRY] (2) t_new.u_max = Modelica.Blocks.Tables.Internal.getTable2DAbscissaUmax(t_new.tableID) ($RES_BND_8) (3) [ARRY] (2) t_new.u_min = Modelica.Blocks.Tables.Internal.getTable2DAbscissaUmin(t_new.tableID) ($RES_BND_7) (4) [RECD] (1) t_new.tableID = Modelica.Blocks.Types.ExternalCombiTable2D.constructor("NoName", "NoName", t_new.table, Modelica.Blocks.Types.Smoothness.ConstantSegments, Modelica.Blocks.Types.Extrapolation.LastTwoPoints, false) ($RES_BND_10) Error: Internal error NBInitialization.main failed to apply modules!