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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001456/0.001456, allocations: 103.6 kB / 21.25 MB, free: 424 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001464/0.001464, allocations: 215.3 kB / 24.55 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 230.5 MB / 258.2 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] 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="mat",numberOfIntervals=150000,variableFilter="time|signalExtrema1.y_min|signalExtrema1.y_max|signalExtrema1.t_min|signalExtrema1.t_max|signalExtrema2.y_min|signalExtrema2.y_max|signalExtrema2.t_min|signalExtrema2.t_max",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema") translateModel(Modelica.Blocks.Examples.DemonstrateSignalExtrema,tolerance=1e-06,outputFormat="mat",numberOfIntervals=150000,variableFilter="time|signalExtrema1.y_min|signalExtrema1.y_max|signalExtrema1.t_min|signalExtrema1.t_max|signalExtrema2.y_min|signalExtrema2.y_max|signalExtrema2.t_min|signalExtrema2.t_max",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.DemonstrateSignalExtrema") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.965e-05/2.965e-05, allocations: 4.531 kB / 379 MB, free: 2.371 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemonstrateSignalExtrema): time 0.003689/0.003718, allocations: 1.69 MB / 380.7 MB, free: 0.668 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.005093, allocations: 0.6428 MB / 381.4 MB, free: 20 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.958e-05/0.005183, allocations: 3.938 kB / 381.4 MB, free: 16 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.005319, allocations: 11.86 kB / 381.4 MB, free: 4 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2641/0.2694, allocations: 13.27 kB / 381.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005457/0.27, allocations: 92.72 kB / 381.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000309/0.2703, allocations: 177.8 kB / 381.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.2704, allocations: 29.55 kB / 381.7 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.2707, allocations: 79.69 kB / 381.8 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.2708, allocations: 62.06 kB / 381.8 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.2708, allocations: 15.78 kB / 381.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.517e-05/0.2709, allocations: 21.77 kB / 381.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.000208/0.2711, allocations: 241.8 kB / 382.1 MB, free: 12.92 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 8.144e-05/0.2712, allocations: 137.8 kB / 382.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.849e-05/0.2712, allocations: 8.656 kB / 382.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.608e-05/0.2713, allocations: 5.562 kB / 382.2 MB, free: 12.83 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 " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.7958558829850517] Failed to read output from testmodel.py, exit status != 0: ['time', 'signalExtrema1.y_min', 'signalExtrema1.y_max', 'signalExtrema1.t_min', 'signalExtrema1.t_max', 'signalExtrema2.y_min', 'signalExtrema2.y_max', 'signalExtrema2.t_min', 'signalExtrema2.t_max'] 0.2806074589607306 0.29445754900000004 0.020401087000000002 Calling exit ...