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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 112 kB / 20.54 MB, free: 1.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 183.8 kB / 23.71 MB, free: 5.402 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 225.6 MB / 252.3 MB, free: 13.36 MB / 206.1 MB " [Timeout remaining time 179] 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.2069/0.2069, allocations: 44.93 MB / 352.4 MB, free: 12.25 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 1.657e-05/1.657e-05, allocations: 2.281 kB / 495.9 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets): time 0.006225/0.006242, allocations: 4.938 MB / 0.4891 GB, free: 12.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004955/0.0112, allocations: 3.164 MB / 0.4922 GB, free: 9.809 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000363/0.01156, allocations: 11.94 kB / 0.4922 GB, free: 9.797 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003212/0.01477, allocations: 2.791 MB / 0.4949 GB, free: 7 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001223/0.016, allocations: 0.5125 MB / 0.4954 GB, free: 6.484 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.01739, allocations: 0.6396 MB / 0.4961 GB, free: 5.848 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003403/0.0208, allocations: 3.391 MB / 0.4994 GB, free: 2.449 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002479/0.02105, allocations: 133.2 kB / 0.4995 GB, free: 2.301 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/0.02221, allocations: 1.101 MB / 0.5006 GB, free: 1.195 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001924/0.02413, allocations: 2.053 MB / 0.5026 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002986/0.02443, allocations: 220 kB / 0.5028 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005452/0.02988, allocations: 5.462 MB / 0.5081 GB, free: 9.449 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.002906/0.03279, allocations: 3.39 MB / 0.5114 GB, free: 6.039 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008024/0.03359, allocations: 1.16 MB / 0.5126 GB, free: 4.863 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002516/0.03384, allocations: 175.4 kB / 0.5127 GB, free: 4.691 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0002085/0.03405, allocations: 43.78 kB / 0.5128 GB, free: 4.648 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.6219261568039656]