Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=40000,variableFilter="time|dcpm1.la.i|dcpm2.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm1.la.i|dcpm2.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_3.2.3_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.001265/0.001265, allocations: 109.7 kB / 18.41 MB, free: 4.664 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.001229/0.001229, allocations: 191.1 kB / 19.35 MB, free: 3.742 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.367/1.367, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/2.902e-05, allocations: 7.062 kB / 329.2 MB, free: 3.344 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses): time 0.01386/0.0139, allocations: 12.1 MB / 341.3 MB, free: 7.184 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00697/0.02091, allocations: 3.301 MB / 344.6 MB, free: 3.871 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00246/0.02341, allocations: 39.88 kB / 344.6 MB, free: 3.832 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002661/0.02609, allocations: 0.6673 MB / 345.3 MB, free: 3.16 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003316/0.02943, allocations: 0.7286 MB / 346 MB, free: 2.426 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.0312, allocations: 403.5 kB / 346.4 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004767/0.03598, allocations: 2.811 MB / 349.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001836/0.03783, allocations: 0.9977 MB / 350.2 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001857/0.0397, allocations: 0.9182 MB / 351.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001812/0.04153, allocations: 0.9916 MB / 352.1 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005382/0.04208, allocations: 199.9 kB / 352.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002038/0.04413, allocations: 0.6359 MB / 352.9 MB, free: 11.42 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.00323/0.04737, allocations: 3.35 MB / 356.3 MB, free: 8.031 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001302/0.04868, allocations: 2.098 MB / 358.4 MB, free: 5.902 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005499/0.04924, allocations: 359.1 kB / 358.7 MB, free: 5.551 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0004026/0.04965, allocations: 47.88 kB / 358.8 MB, free: 5.504 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