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.001018/0.001018, allocations: 111.8 kB / 18.47 MB, free: 4.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001118/0.001118, allocations: 210.2 kB / 19.42 MB, free: 3.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.623e-05/2.624e-05, allocations: 2.281 kB / 359.3 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_Stack): time 0.01273/0.01277, allocations: 10.1 MB / 369.4 MB, free: 2.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1946/0.2074, allocations: 3.619 MB / 373 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/0.2088, allocations: 27.84 kB / 373.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003702/0.2125, allocations: 1.186 MB / 374.3 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002476/0.215, allocations: 0.69 MB / 374.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.2165, allocations: 488 kB / 375.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00774/0.2242, allocations: 6.365 MB / 381.8 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003392/0.2276, allocations: 3.039 MB / 384.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003527/0.2312, allocations: 1.808 MB / 386.6 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002375/0.2335, allocations: 1.791 MB / 388.4 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004495/0.234, allocations: 289.5 kB / 388.7 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003369/0.2374, allocations: 1.846 MB / 390.6 MB, free: 9.312 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002586/0.24, allocations: 3.402 MB / 394 MB, free: 7.086 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001113/0.2411, allocations: 2.073 MB / 396 MB, free: 5.723 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004374/0.2415, allocations: 225.4 kB / 396.2 MB, free: 5.629 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002507/0.2418, allocations: 48.58 kB / 396.3 MB, free: 5.609 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: CellType Error: Internal error NBackendDAE.lowerVariable failed for redeclare parameter Modelica.Electrical.Batteries.BaseClasses.BaseStackData stack.stackData = stackData