Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.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.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|damper.s_rel|damper.v_rel|massWithStopAndFriction.s|massWithStopAndFriction.v|springDamper.s_rel|springDamper.v_rel|springDamper1.s_rel|springDamper1.v_rel|brake.mode|brake.startBackward|brake.startForward|massWithStopAndFriction.mode|massWithStopAndFriction.startBackward|massWithStopAndFriction.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses") translateModel(Modelica.Mechanics.Translational.Examples.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|damper.s_rel|damper.v_rel|massWithStopAndFriction.s|massWithStopAndFriction.v|springDamper.s_rel|springDamper.v_rel|springDamper1.s_rel|springDamper1.v_rel|brake.mode|brake.startBackward|brake.startForward|massWithStopAndFriction.mode|massWithStopAndFriction.startBackward|massWithStopAndFriction.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001274/0.001274, allocations: 110.7 kB / 18.47 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001232/0.001232, allocations: 207.9 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.218/1.218, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.769e-05/1.77e-05, allocations: 2.281 kB / 359.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.004789/0.004815, allocations: 4.471 MB / 363.8 MB, free: 8.547 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002386/0.007216, allocations: 1.593 MB / 365.4 MB, free: 6.949 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002283/0.007455, allocations: 8 kB / 365.4 MB, free: 6.941 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003959/0.007858, allocations: 134.7 kB / 365.5 MB, free: 6.809 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005079/0.008399, allocations: 281.7 kB / 365.8 MB, free: 6.531 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007752/0.009183, allocations: 419.2 kB / 366.2 MB, free: 6.121 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.01022, allocations: 1.279 MB / 367.5 MB, free: 4.832 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003444/0.01057, allocations: 266.1 kB / 367.7 MB, free: 4.559 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005521/0.01113, allocations: 0.5024 MB / 368.3 MB, free: 4.055 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004822/0.01162, allocations: 0.5215 MB / 368.8 MB, free: 3.531 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.01176, allocations: 96 kB / 368.9 MB, free: 3.438 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002763/0.01204, allocations: 159.9 kB / 369 MB, free: 3.281 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0009605/0.01301, allocations: 1.427 MB / 370.4 MB, free: 1.84 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004011/0.01342, allocations: 0.7928 MB / 371.2 MB, free: 1.035 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.01356, allocations: 147.5 kB / 371.4 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.491e-05/0.01366, allocations: 31.94 kB / 371.4 MB, free: 0.8594 MB / 302.1 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for assert(massWithStopAndFriction.s > (massWithStopAndFriction.smin + massWithStopAndFriction.L / 2.0) or massWithStopAndFriction.s >= (massWithStopAndFriction.smin + massWithStopAndFriction.L / 2.0) and massWithStopAndFriction.v >= 0.0, "Error in initialization of hard stop. (s - L/2) must be >= smin " + "(s=" + String(massWithStopAndFriction.s, 6, 0, true) + ", L=" + String(massWithStopAndFriction.L, 6, 0, true) + ", smin=" + String(massWithStopAndFriction.smin, 6, 0, true) + ")", AssertionLevel.error)