Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM.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) 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(Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|armatureInverter.iDCFilter.y|armatureInverter.iMotFilter.y|armatureInverter.idealDcDc.deadTime.y|armatureInverter.idealDcDc.powerController.y|armatureInverter.vDCFilter.y|armatureInverter.vMotFilter.y|currentController.integrator.y|dcpm.la.i|loadInertia.phi|loadInertia.w|speedController.integrator.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM") translateModel(Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|armatureInverter.iDCFilter.y|armatureInverter.iMotFilter.y|armatureInverter.idealDcDc.deadTime.y|armatureInverter.idealDcDc.powerController.y|armatureInverter.vDCFilter.y|armatureInverter.vMotFilter.y|currentController.integrator.y|dcpm.la.i|loadInertia.phi|loadInertia.w|speedController.integrator.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001378/0.001378, allocations: 111 kB / 18.47 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001796/0.001797, allocations: 213.1 kB / 19.42 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.117e-05/2.119e-05, allocations: 2.281 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM): time 0.1992/0.1993, allocations: 15.29 MB / 374.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0108/0.2101, allocations: 5.74 MB / 380.4 MB, free: 9.527 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004813/0.215, allocations: 74.78 kB / 380.5 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004678/0.2197, allocations: 0.9989 MB / 381.5 MB, free: 9.082 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003577/0.2233, allocations: 0.6523 MB / 382.1 MB, free: 8.699 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002432/0.2258, allocations: 0.7408 MB / 382.9 MB, free: 8.246 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004951/0.2308, allocations: 3.087 MB / 385.9 MB, free: 6.684 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002699/0.2335, allocations: 1.302 MB / 387.2 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002509/0.236, allocations: 1.083 MB / 388.3 MB, free: 5.422 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002448/0.2385, allocations: 1.056 MB / 389.4 MB, free: 4.836 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009462/0.2394, allocations: 246.4 kB / 389.6 MB, free: 4.836 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003315/0.2427, allocations: 0.9922 MB / 390.6 MB, free: 4.547 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.003044/0.2458, allocations: 3.58 MB / 394.2 MB, free: 2.086 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001281/0.2471, allocations: 2.279 MB / 396.5 MB, free: 436 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006111/0.2477, allocations: 390.2 kB / 396.9 MB, free: 224 kB / 302.1 MB Notification: Performance of FrontEnd: time 0.0007373/0.2485, allocations: 95.58 kB / 397 MB, free: 180 kB / 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 driveData.motorData