Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 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.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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.HeatLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001297/0.001297, 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.001353/0.001353, 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.216/1.216, allocations: 230.4 MB / 251.3 MB, free: 8.746 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.428e-06/9.428e-06, allocations: 2.281 kB / 368.8 MB, free: 6.582 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.005017/0.005026, allocations: 4.497 MB / 373.3 MB, free: 2.062 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002543/0.007569, allocations: 1.589 MB / 374.9 MB, free: 480 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003113/0.007881, allocations: 11.94 kB / 374.9 MB, free: 468 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003421/0.008223, allocations: 142.7 kB / 375.1 MB, free: 324 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004913/0.008714, allocations: 273.8 kB / 375.3 MB, free: 48 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1245/0.1332, allocations: 420.1 kB / 375.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001592/0.1348, allocations: 1.304 MB / 377 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003327/0.1351, allocations: 169.5 kB / 377.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008501/0.1359, allocations: 0.5046 MB / 377.7 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007578/0.1367, allocations: 0.5316 MB / 378.2 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002101/0.1369, allocations: 94.88 kB / 378.3 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003934/0.1373, allocations: 165.7 kB / 378.5 MB, free: 9.871 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0009587/0.1383, allocations: 1.433 MB / 379.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003573/0.1386, allocations: 0.8021 MB / 380.7 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002601/0.1389, allocations: 139.9 kB / 380.9 MB, free: 8.605 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001227/0.139, allocations: 34.83 kB / 380.9 MB, free: 8.602 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)