Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 111.3 kB / 18.47 MB, free: 4.703 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.001246/0.001246, allocations: 193.3 kB / 19.4 MB, free: 3.781 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.339/1.339, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.1893/0.1893, allocations: 44.19 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.784e-05/2.784e-05, allocations: 2.281 kB / 471.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.002777/0.002819, allocations: 1.584 MB / 472.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007584/0.00359, allocations: 415.1 kB / 473.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.625e-05/0.003647, allocations: 0 / 473.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005723/0.004226, allocations: 447.2 kB / 473.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000354/0.004589, allocations: 255.4 kB / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.004936, allocations: 126.9 kB / 474 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002243/0.005168, allocations: 163.7 kB / 474.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.998e-05/0.005275, allocations: 15.98 kB / 474.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.005405, allocations: 111.8 kB / 474.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.005568, allocations: 143.7 kB / 474.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.005595, allocations: 4 kB / 474.4 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.589e-05/0.005665, allocations: 23.94 kB / 474.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0001338/0.005806, allocations: 98.84 kB / 474.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 3.489e-05/0.005846, allocations: 55.12 kB / 474.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.446e-05/0.005866, allocations: 11.94 kB / 474.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.508e-05/0.005887, allocations: 7.938 kB / 474.6 MB, free: 9.773 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: 5 (5) * Number of variables: 5 (5) Notification: Performance of Bindings: time 0.0004453/0.006336, allocations: 332 kB / 474.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of FunctionAlias: time 5.199e-05/0.006398, allocations: 19.89 kB / 474.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0001064/0.00651, allocations: 96.39 kB / 475 MB, free: 9.207 MB / 350.1 MB Notification: Performance of simplify1: time 1.631e-05/0.006532, allocations: 11.92 kB / 475 MB, free: 9.195 MB / 350.1 MB Notification: Performance of Alias: time 0.0003022/0.00684, allocations: 173.5 kB / 475.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of simplify2: time 7.724e-06/0.006857, allocations: 3.984 kB / 475.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of Events: time 6.69e-05/0.006931, allocations: 31.86 kB / 475.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of Detect States: time 7.76e-05/0.007015, allocations: 44.19 kB / 475.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of Partitioning: time 6.297e-05/0.007085, allocations: 44.11 kB / 475.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of Causalize: time 0.000189/0.007282, allocations: 144.2 kB / 475.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 8.979e-05/0.007379, allocations: 100.3 kB / 475.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of Inline: time 0.0001986/0.007584, allocations: 189.8 kB / 475.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of Partitioning: time 1.401e-05/0.007606, allocations: 12.12 kB / 475.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of Cleanup: time 2.313e-05/0.007634, allocations: 11.92 kB / 475.8 MB, free: 8.297 MB / 350.1 MB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency t_new.tableID could not be divided 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_9) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (3/5) ************************ (1) [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}) (2) [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}) (3) [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 (3/5) ************************ (1) [ARRY] (2) t_new.u_max = Modelica.Blocks.Tables.Internal.getTable2DAbscissaUmax(t_new.tableID) ($RES_BND_9) (2) [ARRY] (2) t_new.u_min = Modelica.Blocks.Tables.Internal.getTable2DAbscissaUmin(t_new.tableID) ($RES_BND_8) (3) [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!