Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction.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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Translational.Examples.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mass.s|mass.v|stop1.s|stop1.v|stop2.s|stop2.v|stop1.mode|stop1.startBackward|stop1.startForward|stop2.mode|stop2.startBackward|stop2.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction") translateModel(Modelica.Mechanics.Translational.Examples.Friction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mass.s|mass.v|stop1.s|stop1.v|stop2.s|stop2.v|stop1.mode|stop1.startBackward|stop1.startForward|stop2.mode|stop2.startBackward|stop2.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Friction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001103/0.001103, allocations: 114.5 kB / 18.41 MB, free: 4.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001332/0.001332, allocations: 216.6 kB / 19.36 MB, free: 3.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.279/1.279, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.646e-05, allocations: 2.281 kB / 308.3 MB, free: 15.98 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Friction): time 0.004105/0.004147, allocations: 3.105 MB / 311.4 MB, free: 12.88 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002133/0.006295, allocations: 1.346 MB / 312.7 MB, free: 11.53 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.006443, allocations: 11.94 kB / 312.8 MB, free: 11.52 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000399/0.006849, allocations: 99.2 kB / 312.9 MB, free: 11.42 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001934/0.007075, allocations: 122.9 kB / 313 MB, free: 11.3 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007922/0.007876, allocations: 423.4 kB / 313.4 MB, free: 10.89 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.000718/0.008605, allocations: 0.8739 MB / 314.3 MB, free: 10.02 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.008817, allocations: 97.56 kB / 314.4 MB, free: 9.918 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004366/0.00926, allocations: 375 kB / 314.7 MB, free: 9.551 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001312/0.01058, allocations: 1.459 MB / 316.2 MB, free: 8.09 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 9.846e-05/0.01069, allocations: 72 kB / 316.3 MB, free: 8.02 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002186/0.01092, allocations: 135.9 kB / 316.4 MB, free: 7.887 MB / 254.1 MB Notification: Performance of combineBinaries: time 0.0005684/0.01149, allocations: 0.8668 MB / 317.3 MB, free: 7.012 MB / 254.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002123/0.01171, allocations: 445.2 kB / 317.7 MB, free: 6.566 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 7.896e-05/0.0118, allocations: 75.75 kB / 317.8 MB, free: 6.492 MB / 254.1 MB Notification: Performance of FrontEnd: time 4.12e-05/0.01184, allocations: 19.94 kB / 317.8 MB, free: 6.473 MB / 254.1 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for assert(stop1.s > (stop1.smin + stop1.L / 2.0) or stop1.s >= (stop1.smin + stop1.L / 2.0) and stop1.v >= 0.0, "Error in initialization of hard stop. (s - L/2) must be >= smin " + "(s=" + String(stop1.s, 6, 0, true) + ", L=" + String(stop1.L, 6, 0, true) + ", smin=" + String(stop1.smin, 6, 0, true) + ")", AssertionLevel.error)