Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled.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.DCMachines.DCPM_CurrentControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|PID.I.y|dcpm.la.i|firstOrder.y|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|PID.I.y|dcpm.la.i|firstOrder.y|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001277/0.001277, allocations: 111.7 kB / 18.47 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001324/0.001324, allocations: 213.1 kB / 19.42 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.982e-05/2.983e-05, allocations: 4.531 kB / 359.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled): time 0.008914/0.008952, allocations: 8.179 MB / 367.5 MB, free: 4.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00525/0.01426, allocations: 2.723 MB / 370.3 MB, free: 1.996 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009694/0.01526, allocations: 31.81 kB / 370.3 MB, free: 1.965 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001555/0.01682, allocations: 0.5395 MB / 370.8 MB, free: 1.422 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.018, allocations: 428.5 kB / 371.2 MB, free: 1 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007042/0.01871, allocations: 359.5 kB / 371.6 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2299/0.2486, allocations: 1.738 MB / 373.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.2498, allocations: 0.616 MB / 373.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001185/0.251, allocations: 0.5634 MB / 374.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007288/0.2517, allocations: 0.6058 MB / 375.1 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002343/0.2519, allocations: 128.5 kB / 375.2 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.2534, allocations: 0.5565 MB / 375.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.00188/0.2553, allocations: 2.129 MB / 377.9 MB, free: 9.617 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001244/0.2566, allocations: 1.355 MB / 379.3 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007187/0.2573, allocations: 222 kB / 379.5 MB, free: 8.668 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0006831/0.258, allocations: 47.53 kB / 379.5 MB, free: 8.66 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 dcpmData