Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001095/0.001095, allocations: 111.7 kB / 17.75 MB, free: 5.301 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.001281/0.001281, allocations: 190 kB / 18.69 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.275e-05, allocations: 2.281 kB / 351.9 MB, free: 3.281 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses): time 0.0136/0.01363, allocations: 12.15 MB / 364.1 MB, free: 7.074 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006675/0.02034, allocations: 3.28 MB / 367.4 MB, free: 3.785 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00181/0.02218, allocations: 35.94 kB / 367.4 MB, free: 3.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002277/0.02447, allocations: 0.6946 MB / 368.1 MB, free: 3.051 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00286/0.02735, allocations: 0.7911 MB / 368.9 MB, free: 2.254 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.02863, allocations: 399.5 kB / 369.3 MB, free: 1.863 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1753/0.2039, allocations: 2.806 MB / 372.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001485/0.2055, allocations: 0.992 MB / 373.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001318/0.2068, allocations: 0.9283 MB / 374 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009357/0.2077, allocations: 0.986 MB / 375 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000227/0.208, allocations: 198.3 kB / 375.2 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.2093, allocations: 0.6476 MB / 375.8 MB, free: 11.86 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001885/0.2112, allocations: 3.343 MB / 379.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.00093/0.2121, allocations: 2.098 MB / 381.3 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003849/0.2125, allocations: 355.2 kB / 381.6 MB, free: 8.684 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0003359/0.2129, allocations: 58.41 kB / 381.7 MB, free: 8.676 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