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.001463/0.001463, allocations: 99.64 kB / 21.25 MB, free: 428 kB / 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.00177/0.00177, allocations: 208.2 kB / 24.55 MB, free: 3.727 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.491/1.491, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2387/0.2387, allocations: 46.97 MB / 361.7 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 180] 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 2.052e-05/2.052e-05, allocations: 6.219 kB / 0.4974 GB, free: 7.25 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets): time 0.006398/0.006418, allocations: 4.444 MB / 0.5017 GB, free: 2.785 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006127/0.01254, allocations: 3.157 MB / 0.5048 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005606/0.01311, allocations: 15.88 kB / 0.5048 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003783/0.01689, allocations: 2.779 MB / 0.5076 GB, free: 12.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001709/0.0186, allocations: 0.563 MB / 0.5081 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.02026, allocations: 0.6517 MB / 0.5087 GB, free: 11.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004441/0.0247, allocations: 3.434 MB / 0.5121 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003646/0.02507, allocations: 133.9 kB / 0.5122 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001657/0.02672, allocations: 1.14 MB / 0.5133 GB, free: 6.867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002273/0.029, allocations: 1.983 MB / 0.5153 GB, free: 4.875 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003766/0.02937, allocations: 220 kB / 0.5155 GB, free: 4.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003428/0.0328, allocations: 2.151 MB / 0.5176 GB, free: 2.504 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.2425/0.2753, allocations: 3.617 MB / 0.5211 GB, free: 22.88 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.001159/0.2765, allocations: 1.393 MB / 0.5225 GB, free: 22.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003205/0.2768, allocations: 87.72 kB / 0.5226 GB, free: 22.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0002206/0.277, allocations: 39.75 kB / 0.5226 GB, free: 22.61 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: 2.996253882010933] 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.2877615860197693 0.29986316499999993 0.019900829000000002 Calling exit ...