Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.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) 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(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|sum.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|sum.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 109.3 kB / 17.75 MB, free: 5.301 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.001443/0.001443, allocations: 188.4 kB / 18.69 MB, free: 4.371 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.381/1.381, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.182e-05, allocations: 2.281 kB / 351.9 MB, free: 3.297 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.003408/0.003437, allocations: 1.953 MB / 353.9 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.005414, allocations: 1.196 MB / 355.1 MB, free: 128 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.005568, allocations: 11.94 kB / 355.1 MB, free: 116 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003594/0.005934, allocations: 71.61 kB / 355.2 MB, free: 44 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003008/0.006273, allocations: 95.58 kB / 355.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008177/0.007101, allocations: 300 kB / 355.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002842/0.007397, allocations: 239.4 kB / 355.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.007547, allocations: 53.64 kB / 355.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.007676, allocations: 95.61 kB / 355.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.007815, allocations: 99.55 kB / 356 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.007852, allocations: 12 kB / 356 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.007989, allocations: 63.91 kB / 356.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002887/0.008285, allocations: 288.5 kB / 356.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 9.815e-05/0.008389, allocations: 189.1 kB / 356.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.299e-05/0.008438, allocations: 27.88 kB / 356.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.971e-05/0.008493, allocations: 8 kB / 356.6 MB, free: 14.6 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 (27) * Number of variables: 27 (26) Notification: Performance of Bindings: time 0.0008448/0.009343, allocations: 0.8274 MB / 357.4 MB, free: 13.67 MB / 302.1 MB Notification: Performance of FunctionAlias: time 8.51e-05/0.009435, allocations: 42.91 kB / 357.5 MB, free: 13.63 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0003019/0.009746, allocations: 341.2 kB / 357.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of simplify1: time 3.107e-05/0.009784, allocations: 15.97 kB / 357.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of Alias: time 0.0005864/0.01038, allocations: 474.6 kB / 358.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of simplify2: time 1.792e-05/0.0104, allocations: 11.98 kB / 358.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002528/0.01066, allocations: 210.6 kB / 358.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of Events: time 0.0001065/0.01078, allocations: 63.88 kB / 358.6 MB, free: 12.42 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001869/0.01098, allocations: 180.8 kB / 358.7 MB, free: 12.21 MB / 302.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {sum.u[1], sum.u[2]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: sum.u. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) sum.y = sum.k * sum.u ($RES_SIM_1)