Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema.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.Blocks.Examples.DemonstrateSignalExtrema,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema") translateModel(Modelica.Blocks.Examples.DemonstrateSignalExtrema,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001489/0.001489, allocations: 119.7 kB / 18.47 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001713/0.001714, allocations: 213.1 kB / 19.42 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.923e-05/1.924e-05, allocations: 2.281 kB / 359.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemonstrateSignalExtrema): time 0.002371/0.0024, allocations: 1.736 MB / 361.1 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009786/0.00339, allocations: 0.6622 MB / 361.7 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.915e-05/0.00347, allocations: 4 kB / 361.7 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.003583, allocations: 11.81 kB / 361.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.275e-05/0.003638, allocations: 19.78 kB / 361.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.003918, allocations: 87.77 kB / 361.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.004105, allocations: 167.6 kB / 362 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.004227, allocations: 33.41 kB / 362 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.004376, allocations: 75.7 kB / 362.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.462e-05/0.00447, allocations: 63.73 kB / 362.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.0045, allocations: 16 kB / 362.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.771e-05/0.004563, allocations: 23.98 kB / 362.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001418/0.004711, allocations: 197.8 kB / 362.4 MB, free: 9.91 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 5.972e-05/0.004777, allocations: 114.2 kB / 362.5 MB, free: 9.797 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.06e-05/0.004812, allocations: 19.94 kB / 362.5 MB, free: 9.777 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.415e-05/0.004831, allocations: 3.938 kB / 362.5 MB, free: 9.773 MB / 302.1 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if signalExtrema1.y_min < pre(signalExtrema1.y_min) then signalExtrema1.t_min = time; signalExtrema1.t_max = pre(signalExtrema1.t_max); elseif signalExtrema1.y_max > pre(signalExtrema1.y_max) then signalExtrema1.t_max = time; signalExtrema1.t_min = pre(signalExtrema1.t_min); elseif true then signalExtrema1.t_min = pre(signalExtrema1.t_min); signalExtrema1.t_max = pre(signalExtrema1.t_max); end if