Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.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) 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(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001217, allocations: 107.3 kB / 16.42 MB, free: 5.973 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.001187/0.001187, allocations: 191.3 kB / 17.36 MB, free: 5.566 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.227/1.227, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/1.88e-05, allocations: 3.547 kB / 327.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses): time 0.01113/0.01115, allocations: 12.1 MB / 339.3 MB, free: 7.156 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005713/0.01689, allocations: 3.297 MB / 342.6 MB, free: 3.848 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008695/0.01778, allocations: 35.94 kB / 342.6 MB, free: 3.812 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001347/0.01914, allocations: 0.6712 MB / 343.3 MB, free: 3.137 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001347/0.0205, allocations: 0.7247 MB / 344 MB, free: 2.406 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00064/0.02114, allocations: 403.5 kB / 344.4 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002313/0.02346, allocations: 2.812 MB / 347.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001085/0.02456, allocations: 0.9939 MB / 348.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008822/0.02545, allocations: 0.9182 MB / 349.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000798/0.02626, allocations: 0.9799 MB / 350.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001909/0.02646, allocations: 200 kB / 350.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009714/0.02744, allocations: 0.6397 MB / 351 MB, free: 11.41 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002107/0.02955, allocations: 3.35 MB / 354.3 MB, free: 8.023 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001147/0.03071, allocations: 2.095 MB / 356.4 MB, free: 5.898 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003593/0.03107, allocations: 359.1 kB / 356.7 MB, free: 5.547 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001479/0.03123, allocations: 47.88 kB / 356.8 MB, free: 5.5 MB / 302.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFBackendExtension.mo:1178:11-1178:133:writable] Error: Internal error NFBackendExtension.VariableAttributes.createRecord got unknown record child: ILinear Error: Internal error NBackendDAE.lowerVariable failed for parameter Modelica.Electrical.Machines.Utilities.ParameterRecords.DcPermanentMagnetData dcpmData2