Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 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.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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Friction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00134/0.00134, allocations: 112.5 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.001369/0.001369, allocations: 210.6 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.233/1.233, allocations: 230.4 MB / 251.3 MB, free: 8.852 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.608e-06/9.608e-06, allocations: 2.281 kB / 368.8 MB, free: 6.609 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Friction): time 0.0037/0.003709, allocations: 3.132 MB / 371.9 MB, free: 3.457 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.005564, allocations: 1.359 MB / 373.3 MB, free: 2.094 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.005665, allocations: 8 kB / 373.3 MB, free: 2.086 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003369/0.006002, allocations: 99.14 kB / 373.4 MB, free: 1.988 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001961/0.006198, allocations: 122.9 kB / 373.5 MB, free: 1.867 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006622/0.00686, allocations: 433.5 kB / 373.9 MB, free: 1.449 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007648/0.007625, allocations: 0.8855 MB / 374.8 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.007757, allocations: 61.56 kB / 374.9 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004202/0.008177, allocations: 383 kB / 375.3 MB, free: 124 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1121/0.1203, allocations: 1.469 MB / 376.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001611/0.1204, allocations: 68.5 kB / 376.8 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002857/0.1207, allocations: 130.8 kB / 376.9 MB, free: 10.58 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004797/0.1212, allocations: 0.8742 MB / 377.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001591/0.1213, allocations: 448.1 kB / 378.2 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.1214, allocations: 76.22 kB / 378.3 MB, free: 9.938 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.385e-05/0.1215, allocations: 17.89 kB / 378.3 MB, free: 9.938 MB / 302.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)