Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_Stack.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.Batteries.Examples.CCCV_Stack,tolerance=1e-06,outputFormat="mat",numberOfIntervals=24000,variableFilter="time|energy.y|stack.cell.1, 1..cell.limIntegrator.y|stack.cell.1, 1..limIntegrator.y|stack.cell.1, 2..cell.limIntegrator.y|stack.cell.1, 2..limIntegrator.y|stack.cell.2, 1..cell.limIntegrator.y|stack.cell.2, 1..limIntegrator.y|stack.cell.2, 2..cell.limIntegrator.y|stack.cell.2, 2..limIntegrator.y|stack.cell.3, 1..cell.limIntegrator.y|stack.cell.3, 1..limIntegrator.y|stack.cell.3, 2..cell.limIntegrator.y|stack.cell.3, 2..limIntegrator.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_Stack") translateModel(Modelica.Electrical.Batteries.Examples.CCCV_Stack,tolerance=1e-06,outputFormat="mat",numberOfIntervals=24000,variableFilter="time|energy.y|stack.cell.1, 1..cell.limIntegrator.y|stack.cell.1, 1..limIntegrator.y|stack.cell.1, 2..cell.limIntegrator.y|stack.cell.1, 2..limIntegrator.y|stack.cell.2, 1..cell.limIntegrator.y|stack.cell.2, 1..limIntegrator.y|stack.cell.2, 2..cell.limIntegrator.y|stack.cell.2, 2..limIntegrator.y|stack.cell.3, 1..cell.limIntegrator.y|stack.cell.3, 1..limIntegrator.y|stack.cell.3, 2..cell.limIntegrator.y|stack.cell.3, 2..limIntegrator.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_Stack") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001127/0.001127, allocations: 113.2 kB / 18.41 MB, free: 4.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001202/0.001202, allocations: 212.6 kB / 19.36 MB, free: 3.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.613e-05/3.616e-05, allocations: 2.281 kB / 308.3 MB, free: 15.94 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_Stack): time 0.01217/0.01223, allocations: 10.1 MB / 318.4 MB, free: 5.801 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.005133/0.0174, allocations: 3.628 MB / 322 MB, free: 2.164 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005607/0.01798, allocations: 23.88 kB / 322.1 MB, free: 2.141 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001953/0.01994, allocations: 1.175 MB / 323.2 MB, free: 0.9609 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.02102, allocations: 0.6802 MB / 323.9 MB, free: 284 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008645/0.02189, allocations: 490.3 kB / 324.4 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005497/0.0274, allocations: 6.371 MB / 330.8 MB, free: 9.422 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003262/0.03068, allocations: 3.028 MB / 333.8 MB, free: 6.332 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002595/0.03328, allocations: 1.766 MB / 335.6 MB, free: 4.562 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001694/0.03499, allocations: 1.793 MB / 337.4 MB, free: 2.766 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003424/0.03534, allocations: 291.9 kB / 337.6 MB, free: 2.48 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002873/0.03822, allocations: 1.842 MB / 339.5 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of combineBinaries: time 0.002829/0.04106, allocations: 3.374 MB / 342.9 MB, free: 13.24 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.001572/0.04264, allocations: 2.07 MB / 344.9 MB, free: 11.15 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004312/0.04308, allocations: 231.5 kB / 345.1 MB, free: 10.92 MB / 286.1 MB Notification: Performance of FrontEnd: time 0.0002253/0.04332, allocations: 43.75 kB / 345.2 MB, free: 10.88 MB / 286.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: CellType Error: Internal error NBackendDAE.lowerVariable failed for redeclare parameter Modelica.Electrical.Batteries.BaseClasses.BaseStackData stack.stackData = stackData