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.001642/0.001642, allocations: 103.6 kB / 21.25 MB, free: 0.5664 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.00183/0.00183, allocations: 211 kB / 24.55 MB, free: 3.824 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.563/1.563, allocations: 230.6 MB / 258.3 MB, free: 7.75 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.266e-05/2.266e-05, allocations: 2.281 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemonstrateSignalExtrema): time 0.003102/0.003125, allocations: 1.678 MB / 380.7 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.004406, allocations: 0.6389 MB / 381.4 MB, free: 140 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.965e-05/0.004485, allocations: 7.938 kB / 381.4 MB, free: 132 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.004602, allocations: 15.81 kB / 381.4 MB, free: 116 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.121e-05/0.004653, allocations: 19.8 kB / 381.4 MB, free: 96 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.004969, allocations: 87.77 kB / 381.5 MB, free: 8 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2289/0.2339, allocations: 172.7 kB / 381.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.2341, allocations: 30.02 kB / 381.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002723/0.2344, allocations: 84.81 kB / 381.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.2345, allocations: 59.48 kB / 381.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.339e-05/0.2345, allocations: 13.41 kB / 381.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.413e-05/0.2346, allocations: 21.11 kB / 381.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002192/0.2348, allocations: 244.7 kB / 382.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 7.942e-05/0.2349, allocations: 137.1 kB / 382.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.595e-05/0.2349, allocations: 9.188 kB / 382.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.241e-05/0.235, allocations: 8.438 kB / 382.3 MB, free: 12.86 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.7763100509764627] 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.24338189198169857 0.256963769 0.019059231000000003 Calling exit ...