Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Friction.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.Friction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 107.3 kB / 18.41 MB, free: 4.688 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.001187/0.001187, allocations: 193.4 kB / 19.35 MB, free: 3.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.955e-05/2.958e-05, allocations: 3.125 kB / 329.2 MB, free: 3.371 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Friction): time 0.004824/0.004862, allocations: 2.977 MB / 332.1 MB, free: 376 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002411/0.007299, allocations: 1.201 MB / 333.3 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001879/0.007502, allocations: 4 kB / 333.3 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004531/0.007961, allocations: 87.22 kB / 333.4 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002125/0.008229, allocations: 111 kB / 333.5 MB, free: 14.96 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009116/0.009149, allocations: 411.2 kB / 333.9 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008883/0.01005, allocations: 0.862 MB / 334.8 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002228/0.01028, allocations: 97.56 kB / 334.9 MB, free: 13.6 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004397/0.01073, allocations: 359.1 kB / 335.2 MB, free: 13.25 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001504/0.01224, allocations: 1.338 MB / 336.6 MB, free: 11.91 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.01237, allocations: 64 kB / 336.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002121/0.01259, allocations: 123.9 kB / 336.8 MB, free: 11.72 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0007582/0.01335, allocations: 0.8551 MB / 337.6 MB, free: 10.86 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003833/0.01375, allocations: 425.5 kB / 338 MB, free: 10.44 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.01387, allocations: 87.75 kB / 338.1 MB, free: 10.35 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.788e-05/0.01396, allocations: 19.92 kB / 338.1 MB, free: 10.33 MB / 286.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)