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.00114/0.00114, allocations: 111.3 kB / 18.47 MB, free: 4.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001261/0.001261, allocations: 202.7 kB / 19.42 MB, free: 3.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, 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.2337/0.2337, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.448e-05/3.45e-05, allocations: 5.375 kB / 481.9 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.HysteresisAndMagnets): time 0.006813/0.006856, allocations: 4.924 MB / 486.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006645/0.01352, allocations: 3.339 MB / 490.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008632/0.0144, allocations: 11.94 kB / 490.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004209/0.01862, allocations: 2.787 MB / 493 MB, free: 9.035 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002291/0.02099, allocations: 0.5513 MB / 493.5 MB, free: 8.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.02297, allocations: 0.666 MB / 494.2 MB, free: 7.816 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004939/0.02792, allocations: 3.348 MB / 497.5 MB, free: 4.465 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004368/0.02837, allocations: 205.3 kB / 497.7 MB, free: 4.246 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/0.03024, allocations: 1.054 MB / 498.8 MB, free: 3.188 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002494/0.03275, allocations: 1.948 MB / 0.489 GB, free: 1.234 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007319/0.03349, allocations: 220 kB / 0.4892 GB, free: 1.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006105/0.03961, allocations: 4.886 MB / 0.494 GB, free: 12.12 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.002759/0.04238, allocations: 2.75 MB / 0.4967 GB, free: 9.355 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0009578/0.04335, allocations: 1.148 MB / 0.4978 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005284/0.04389, allocations: 175.4 kB / 0.498 GB, free: 8.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0002937/0.04419, allocations: 43.75 kB / 0.498 GB, free: 7.977 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