Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.DemonstrateSignalExtrema.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002201/0.002201, allocations: 99.59 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 221.1 kB / 24.5 MB, free: 3.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.529/1.529, allocations: 230.6 MB / 258.3 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Blocks.Examples.DemonstrateSignalExtrema") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.651e-05/2.651e-05, allocations: 5.375 kB / 378.9 MB, free: 2.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemonstrateSignalExtrema): time 0.002998/0.003025, allocations: 1.686 MB / 380.6 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.004311, allocations: 0.635 MB / 381.2 MB, free: 172 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.186e-05/0.004393, allocations: 8 kB / 381.3 MB, free: 164 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.004512, allocations: 15.8 kB / 381.3 MB, free: 148 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.331e-05/0.004575, allocations: 19.78 kB / 381.3 MB, free: 128 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003244/0.0049, allocations: 87.77 kB / 381.4 MB, free: 40 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2064/0.2113, allocations: 175 kB / 381.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002134/0.2115, allocations: 29.58 kB / 381.6 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003189/0.2119, allocations: 84.59 kB / 381.7 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.212, allocations: 64.45 kB / 381.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.511e-05/0.212, allocations: 12.09 kB / 381.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.604e-05/0.2121, allocations: 25.38 kB / 381.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002172/0.2123, allocations: 240.4 kB / 382 MB, free: 12.91 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 7.773e-05/0.2124, allocations: 140.4 kB / 382.1 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.667e-05/0.2124, allocations: 7.938 kB / 382.1 MB, free: 12.83 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.419e-05/0.2125, allocations: 2.906 kB / 382.1 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.735421025659889] 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.22121230978518724 0.237431156 0.021356998000000002 Calling exit ...