Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001706/0.001706, 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.002015/0.002015, allocations: 215.5 kB / 24.5 MB, free: 3.93 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.618/1.618, allocations: 230.6 MB / 258.3 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2512/0.2512, allocations: 46.97 MB / 361.6 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.275e-05/3.275e-05, allocations: 9.031 kB / 0.4973 GB, free: 7.273 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets): time 0.008516/0.008548, allocations: 4.453 MB / 0.5016 GB, free: 2.797 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006647/0.0152, allocations: 3.149 MB / 0.5047 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005997/0.0158, allocations: 15.88 kB / 0.5047 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003882/0.01968, allocations: 2.783 MB / 0.5074 GB, free: 12.83 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00179/0.02147, allocations: 0.5513 MB / 0.508 GB, free: 12.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001972/0.02344, allocations: 0.6667 MB / 0.5086 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004416/0.02786, allocations: 3.426 MB / 0.512 GB, free: 8.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003992/0.02825, allocations: 137.9 kB / 0.5121 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001719/0.02997, allocations: 1.148 MB / 0.5132 GB, free: 6.879 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002418/0.03239, allocations: 2.065 MB / 0.5152 GB, free: 4.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004088/0.0328, allocations: 216 kB / 0.5154 GB, free: 4.594 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003556/0.03636, allocations: 2.155 MB / 0.5176 GB, free: 2.434 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.2838/0.3201, allocations: 3.62 MB / 0.5211 GB, free: 22.95 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.001782/0.3219, allocations: 1.388 MB / 0.5224 GB, free: 22.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006683/0.3226, allocations: 86.41 kB / 0.5225 GB, free: 22.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0003382/0.3229, allocations: 46.67 kB / 0.5226 GB, free: 22.63 MB / 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.3953245850279927] 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.33548263320699334 0.34834472 0.02246675 Calling exit ...