Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001121/0.001121, allocations: 109.9 kB / 18.47 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00132/0.001321, allocations: 204.1 kB / 19.42 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.144/1.144, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1729/0.1729, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.888e-06/9.898e-06, allocations: 2.281 kB / 481.9 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets): time 0.004862/0.00488, allocations: 4.913 MB / 486.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003955/0.008849, allocations: 3.335 MB / 490.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000221/0.009081, allocations: 11.94 kB / 490.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002548/0.01164, allocations: 2.787 MB / 493 MB, free: 9.051 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009348/0.01258, allocations: 0.563 MB / 493.5 MB, free: 8.484 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.01367, allocations: 0.6624 MB / 494.2 MB, free: 7.824 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002504/0.01618, allocations: 3.348 MB / 497.5 MB, free: 4.473 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002639/0.01645, allocations: 205.3 kB / 497.7 MB, free: 4.254 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008404/0.0173, allocations: 1.058 MB / 498.8 MB, free: 3.191 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001548/0.01886, allocations: 1.948 MB / 0.489 GB, free: 1.238 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002707/0.01914, allocations: 223.9 kB / 0.4892 GB, free: 1.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003777/0.02292, allocations: 4.866 MB / 0.494 GB, free: 12.14 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.001821/0.02475, allocations: 2.75 MB / 0.4967 GB, free: 9.375 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005755/0.02534, allocations: 1.156 MB / 0.4978 GB, free: 8.203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.02552, allocations: 179.4 kB / 0.498 GB, free: 8.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0001048/0.02563, allocations: 43.75 kB / 0.498 GB, free: 7.984 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