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.001112/0.001112, allocations: 111.2 kB / 18.47 MB, free: 4.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001248/0.001248, allocations: 208.9 kB / 19.42 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.184e-05, allocations: 2.281 kB / 359.3 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_CurrentControlled): time 0.009378/0.009408, allocations: 8.179 MB / 367.5 MB, free: 4.762 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005352/0.0148, allocations: 2.73 MB / 370.3 MB, free: 2.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.01596, allocations: 31.81 kB / 370.3 MB, free: 1.988 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001702/0.01767, allocations: 0.563 MB / 370.8 MB, free: 1.422 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001253/0.01893, allocations: 468.5 kB / 371.3 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008165/0.01976, allocations: 355.5 kB / 371.7 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2032/0.223, allocations: 1.734 MB / 373.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/0.2241, allocations: 0.6125 MB / 374 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.2252, allocations: 0.5712 MB / 374.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006433/0.2258, allocations: 0.6037 MB / 375.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002127/0.2261, allocations: 128.2 kB / 375.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.2273, allocations: 0.5522 MB / 375.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001249/0.2286, allocations: 2.133 MB / 378 MB, free: 9.684 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006096/0.2292, allocations: 1.355 MB / 379.3 MB, free: 8.773 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002569/0.2294, allocations: 222.6 kB / 379.6 MB, free: 8.734 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0003171/0.2298, allocations: 48.53 kB / 379.6 MB, free: 8.727 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