Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001309/0.001309, allocations: 111.3 kB / 19.05 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001339/0.001339, allocations: 211.7 kB / 20.03 MB, free: 2.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.229/1.229, allocations: 230.4 MB / 251.3 MB, free: 8.863 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05e-05/1.05e-05, allocations: 2.281 kB / 368.8 MB, free: 6.625 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.1316/0.1316, allocations: 7.443 MB / 376.3 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004394/0.136, allocations: 3.291 MB / 379.6 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004079/0.1364, allocations: 32.81 kB / 379.6 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001643/0.138, allocations: 1.051 MB / 380.6 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002107/0.1401, allocations: 1.367 MB / 382 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007758/0.1409, allocations: 459.6 kB / 382.5 MB, free: 9.082 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00266/0.1436, allocations: 2.748 MB / 385.2 MB, free: 8.297 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006382/0.1442, allocations: 0.5726 MB / 385.8 MB, free: 8.031 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006869/0.1449, allocations: 0.7412 MB / 386.5 MB, free: 7.762 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.1459, allocations: 1.068 MB / 387.6 MB, free: 7.375 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.146, allocations: 73.94 kB / 387.7 MB, free: 7.375 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001292/0.1473, allocations: 0.967 MB / 388.6 MB, free: 7.113 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.00115/0.1485, allocations: 2.296 MB / 390.9 MB, free: 5.652 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006906/0.1492, allocations: 1.515 MB / 392.4 MB, free: 4.609 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.1494, allocations: 174.8 kB / 392.6 MB, free: 4.504 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001735/0.1495, allocations: 58.03 kB / 392.7 MB, free: 4.469 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: 968 (265) * Number of variables: 920 (282) Notification: Performance of Bindings: time 0.003783/0.1533, allocations: 5.563 MB / 398.2 MB, free: 344 kB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0003698/0.1537, allocations: 0.5362 MB / 398.8 MB, free: 15.88 MB / 318.1 MB Notification: Performance of Early Inline: time 0.5357/0.6894, allocations: 340.6 MB / 0.722 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of Simplify 1: time 0.2292/0.9186, allocations: 54.03 MB / 0.7748 GB, free: 91.3 MB / 0.5137 GB Notification: Performance of Alias: time 0.1198/1.038, allocations: 106.5 MB / 0.8788 GB, free: 35.01 MB / 0.5137 GB Notification: Performance of Simplify 2: time 0.0729/1.111, allocations: 53.94 MB / 0.9315 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of Remove Stream: time 0.212/1.323, allocations: 37.37 MB / 0.968 GB, free: 124.3 MB / 0.5294 GB Notification: Performance of Detect States: time 0.08495/1.408, allocations: 72.65 MB / 1.039 GB, free: 88.74 MB / 0.5294 GB Notification: Performance of Events: time 0.4035/1.812, allocations: 289 MB / 1.321 GB, free: 25.5 MB / 0.545 GB Notification: Performance of Partitioning: time 0.007194/1.819, allocations: 8.497 MB / 1.329 GB, free: 18.12 MB / 0.545 GB Error: Internal error NBSlice.addMatrixEntry failed because index 180 could not be added. Matrix size: 179. Error: Internal error NBSlice.resolveDependency failed for: body.frame_a.f[1]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (3) body.frame_a.t = {body.w_a[2] * (body.I * body.w_a)[3] - body.w_a[3] * (body.I * body.w_a)[2], body.w_a[3] * (body.I * body.w_a)[1] - body.w_a[1] * (body.I * body.w_a)[3], body.w_a[1] * (body.I * body.w_a)[2] - body.w_a[2] * (body.I * body.w_a)[1]} + body.I * body.z_a + {body.r_CM[2] * body.frame_a.f[3] - body.r_CM[3] * body.frame_a.f[2], body.r_CM[3] * body.frame_a.f[1] - body.r_CM[1] * body.frame_a.f[3], body.r_CM[1] * body.frame_a.f[2] - body.r_CM[2] * body.frame_a.f[1]} ($RES_SIM_1)