Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.ShowImpedance.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.Batteries.Examples.ShowImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|impedance.z.re|impedance.z.im",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.ShowImpedance") translateModel(Modelica.Electrical.Batteries.Examples.ShowImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|impedance.z.re|impedance.z.im",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.ShowImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 116.6 kB / 17.75 MB, free: 5.168 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.001186/0.001186, allocations: 192.6 kB / 18.68 MB, free: 4.254 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.308/1.308, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.913e-05/1.915e-05, allocations: 5.656 kB / 351.9 MB, free: 3.289 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.ShowImpedance): time 0.002612/0.002639, allocations: 1.889 MB / 353.8 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.004176, allocations: 1.222 MB / 355 MB, free: 160 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.801e-05/0.004268, allocations: 7.938 kB / 355 MB, free: 152 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009365/0.005211, allocations: 0.5024 MB / 355.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.005415, allocations: 203.4 kB / 355.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.005822, allocations: 171.3 kB / 355.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000336/0.006168, allocations: 275.1 kB / 356.2 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.94e-05/0.006255, allocations: 4 kB / 356.2 MB, free: 15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.006453, allocations: 143.5 kB / 356.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.006701, allocations: 183.5 kB / 356.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.006723, allocations: 4 kB / 356.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008462/0.007575, allocations: 0.7959 MB / 357.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002236/0.007808, allocations: 289 kB / 357.6 MB, free: 13.6 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001134/0.007928, allocations: 185.5 kB / 357.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.248e-05/0.007958, allocations: 12 kB / 357.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.944e-05/0.007984, allocations: 7.938 kB / 357.8 MB, free: 13.39 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: R Error: Internal error NBackendDAE.lowerVariable failed for parameter Modelica.Electrical.Batteries.ParameterRecords.TransientData.ExampleData cellData