Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.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.001617/0.001617, 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.001689/0.001689, allocations: 212.5 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.502/1.502, allocations: 230.6 MB / 258.3 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2407/0.2407, allocations: 44.93 MB / 359.7 MB, free: 6.023 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Core.B|Core.MagRel|Core1.B|Core1.MagRel|Core2.B|Core2.MagRel|Core3.B|Core3.MagRel|Core4.J|Core4.MagRel|Core4.beta|Core4.v|Core4.x|PM.B|PM.MagRel|PM1.B",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Core.B|Core.MagRel|Core1.B|Core1.MagRel|Core2.B|Core2.MagRel|Core3.B|Core3.MagRel|Core4.J|Core4.MagRel|Core4.beta|Core4.v|Core4.x|PM.B|PM.MagRel|PM1.B",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.12e-05, allocations: 2.281 kB / 0.4943 GB, free: 10.05 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets): time 0.007283/0.007304, allocations: 4.453 MB / 0.4987 GB, free: 5.578 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006587/0.01389, allocations: 3.153 MB / 0.5017 GB, free: 2.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008455/0.01474, allocations: 15.88 kB / 0.5018 GB, free: 2.395 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003788/0.01852, allocations: 2.779 MB / 0.5045 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001941/0.02047, allocations: 0.5591 MB / 0.505 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00187/0.02234, allocations: 0.6524 MB / 0.5057 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004532/0.02687, allocations: 3.43 MB / 0.509 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003979/0.02727, allocations: 134 kB / 0.5091 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001804/0.02907, allocations: 1.136 MB / 0.5102 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002358/0.03143, allocations: 1.991 MB / 0.5122 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003621/0.03179, allocations: 220 kB / 0.5124 GB, free: 7.457 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003302/0.03509, allocations: 2.147 MB / 0.5145 GB, free: 5.305 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.003823/0.03891, allocations: 3.627 MB / 0.518 GB, free: 1.656 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.001562/0.04048, allocations: 1.389 MB / 0.5194 GB, free: 256 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005209/0.041, allocations: 88 kB / 0.5195 GB, free: 168 kB / 382.1 MB Notification: Performance of FrontEnd: time 0.0003679/0.04136, allocations: 47.72 kB / 0.5195 GB, free: 120 kB / 382.1 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if Core4.hmax < Core4.eps then Core4.aSavI = Core4.mat.Hsat; Core4.bSavI = -Core4.mat.Hsat; elseif Core4.asc and Core4.x < 0.0 then Core4.aSavI = Core4.mat.Hsat; Core4.bSavI = -Core4.hmax; elseif Core4.asc and Core4.x > 0.0 then Core4.aSavI = Core4.hmax; Core4.bSavI = Core4.alpha; elseif not Core4.asc and Core4.x < 0.0 then Core4.aSavI = Core4.alpha; Core4.bSavI = -Core4.hmax; elseif true then Core4.aSavI = Core4.hmax; Core4.bSavI = -Core4.mat.Hsat; end if " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.075289426953532] Failed to read output from testmodel.py, exit status != 0: ['time', 'Core.B', 'Core.MagRel', 'Core1.B', 'Core1.MagRel', 'Core2.B', 'Core2.MagRel', 'Core3.B', 'Core3.MagRel', 'Core4.J', 'Core4.MagRel', 'Core4.beta', 'Core4.v', 'Core4.x', 'PM.B', 'PM.MagRel', 'PM1.B'] 0.3128390529891476 0.32597457 0.281657274 Calling exit ...