Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 117 kB / 17.76 MB, free: 5.293 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.0013/0.001301, allocations: 184.7 kB / 18.68 MB, free: 4.375 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.276/1.276, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.357e-05, allocations: 2.281 kB / 351.9 MB, free: 3.312 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2): time 0.002663/0.002694, allocations: 1.597 MB / 353.5 MB, free: 1.707 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004563/0.003163, allocations: 187.4 kB / 353.7 MB, free: 1.523 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.692e-05/0.00326, allocations: 3.938 kB / 353.7 MB, free: 1.52 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.003372, allocations: 11.86 kB / 353.7 MB, free: 1.508 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.0035, allocations: 7.938 kB / 353.7 MB, free: 1.5 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.003732, allocations: 57.56 kB / 353.8 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.003907, allocations: 79.77 kB / 353.9 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.004056, allocations: 43.97 kB / 353.9 MB, free: 1.324 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.357e-05/0.004106, allocations: 23.86 kB / 353.9 MB, free: 1.301 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.328e-05/0.004165, allocations: 27.86 kB / 354 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.00419, allocations: 4 kB / 354 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.289e-05/0.004207, allocations: 4 kB / 354 MB, free: 1.266 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0001048/0.004316, allocations: 126.3 kB / 354.1 MB, free: 1.141 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 4.981e-05/0.004372, allocations: 86.69 kB / 354.2 MB, free: 1.055 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.198e-05/0.004398, allocations: 11.94 kB / 354.2 MB, free: 1.043 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.283e-05/0.004427, allocations: 4 kB / 354.2 MB, free: 1.039 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 (17) * Number of variables: 17 (15) Notification: Performance of Bindings: time 0.0004943/0.004926, allocations: 448.8 kB / 354.6 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FunctionAlias: time 4.78e-05/0.004986, allocations: 15.98 kB / 354.6 MB, free: 492 kB / 286.1 MB Notification: Performance of Early Inline: time 0.0001552/0.005149, allocations: 176.3 kB / 354.8 MB, free: 288 kB / 286.1 MB Notification: Performance of simplify1: time 2.072e-05/0.005175, allocations: 11.98 kB / 354.8 MB, free: 276 kB / 286.1 MB Notification: Performance of Alias: time 0.00046/0.00564, allocations: 333.8 kB / 355.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of simplify2: time 1.007e-05/0.005659, allocations: 7.984 kB / 355.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of Events: time 8.351e-05/0.005748, allocations: 39.89 kB / 355.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of Detect States: time 8.118e-05/0.005836, allocations: 56.23 kB / 355.3 MB, free: 15.75 MB / 302.1 MB Notification: Performance of Partitioning: time 9.108e-05/0.005934, allocations: 84.36 kB / 355.3 MB, free: 15.64 MB / 302.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {sum1.u[1], sum1.u[2]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: sum1.u. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) sum1.y = sum1.k * sum1.u ($RES_SIM_2)