Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FluxTubes.Shapes.HysteresisAndMagnets,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets") translateModel(ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 106.4 kB / 16.42 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009252/0.0009254, allocations: 192.2 kB / 17.35 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.297/1.297, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1735/0.1735, allocations: 39.95 MB / 310.5 MB, free: 4.027 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.057e-05, allocations: 2.281 kB / 436.4 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.HysteresisAndMagnets): time 0.003952/0.003981, allocations: 4.837 MB / 441.2 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003449/0.007442, allocations: 3.095 MB / 444.3 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003267/0.007781, allocations: 11.94 kB / 444.3 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002065/0.009853, allocations: 2.779 MB / 447.1 MB, free: 1.031 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0009214/0.01079, allocations: 0.5085 MB / 447.6 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.0119, allocations: 0.6236 MB / 448.2 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002837/0.01475, allocations: 3.336 MB / 451.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000286/0.01504, allocations: 201.2 kB / 451.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009831/0.01604, allocations: 1.042 MB / 452.8 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001548/0.01759, allocations: 1.948 MB / 454.8 MB, free: 9.348 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002579/0.01786, allocations: 216 kB / 455 MB, free: 9.137 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004525/0.02239, allocations: 4.85 MB / 459.8 MB, free: 4.277 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.001914/0.02432, allocations: 2.72 MB / 462.5 MB, free: 1.539 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006317/0.02496, allocations: 1.129 MB / 463.7 MB, free: 404 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002177/0.02518, allocations: 171.4 kB / 463.8 MB, free: 232 kB / 334.1 MB Notification: Performance of FrontEnd: time 0.000133/0.02532, allocations: 43.75 kB / 463.9 MB, free: 188 kB / 334.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