Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001396/0.001396, allocations: 99.64 kB / 21.25 MB, free: 424 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001533/0.001533, allocations: 215.3 kB / 24.55 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.539/1.539, allocations: 230.5 MB / 258.2 MB, free: 7.723 MB / 206.1 MB " [Timeout remaining time 178] 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.BatteryDischargeCharge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=36000,variableFilter="time|battery1.limIntegrator.y|battery2.capacitor.1..v|battery2.capacitor.2..v|battery2.limIntegrator.y|energy1.y|energy2.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge") translateModel(Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=36000,variableFilter="time|battery1.limIntegrator.y|battery2.capacitor.1..v|battery2.capacitor.2..v|battery2.limIntegrator.y|energy1.y|energy2.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.266e-05, allocations: 2.281 kB / 379 MB, free: 2.359 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.BatteryDischargeCharge): time 0.2298/0.2298, allocations: 5.209 MB / 384.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005843/0.2356, allocations: 2.603 MB / 386.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.2368, allocations: 30.47 kB / 386.9 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002264/0.239, allocations: 0.7453 MB / 387.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001977/0.241, allocations: 0.5676 MB / 388.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.2426, allocations: 0.5063 MB / 388.7 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003446/0.2461, allocations: 2.029 MB / 390.7 MB, free: 9.051 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008015/0.2469, allocations: 342.5 kB / 391.1 MB, free: 8.852 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001578/0.2485, allocations: 0.7363 MB / 391.8 MB, free: 8.535 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/0.2495, allocations: 0.7051 MB / 392.5 MB, free: 8.266 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002026/0.2497, allocations: 119 kB / 392.6 MB, free: 8.266 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001666/0.2514, allocations: 0.5554 MB / 393.2 MB, free: 8.211 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002468/0.2538, allocations: 2.491 MB / 395.7 MB, free: 6.59 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001289/0.2551, allocations: 1.507 MB / 397.2 MB, free: 5.559 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003325/0.2555, allocations: 93.81 kB / 397.3 MB, free: 5.559 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0003657/0.2558, allocations: 47.11 kB / 397.3 MB, free: 5.543 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 (203) * Number of variables: 215 (198) Notification: Performance of [SIM] Bindings: time 0.007769/0.2636, allocations: 6.873 MB / 404.2 MB, free: 1.098 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0007854/0.2644, allocations: 0.5455 MB / 404.7 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.003533/0.2679, allocations: 2.969 MB / 407.7 MB, free: 14.4 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001267/0.2692, allocations: 0.5278 MB / 408.2 MB, free: 14.05 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.00773/0.2769, allocations: 4.368 MB / 412.6 MB, free: 10.84 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0007237/0.2776, allocations: 381.8 kB / 413 MB, free: 10.41 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002753/0.2779, allocations: 208.1 kB / 413.2 MB, free: 10.18 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0006511/0.2786, allocations: 0.4971 MB / 413.7 MB, free: 9.625 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0007/0.2793, allocations: 426.3 kB / 414.1 MB, free: 9.215 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001225/0.2805, allocations: 0.9816 MB / 415.1 MB, free: 8.086 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.002968/0.2835, allocations: 2.011 MB / 417.1 MB, free: 5.914 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001923/0.2854, allocations: 1.842 MB / 418.9 MB, free: 4.07 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.005828/0.2912, allocations: 1.68 MB / 420.6 MB, free: 2.34 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.003667/0.2949, allocations: 3.273 MB / 423.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 0.0001644/0.295, allocations: 72.03 kB / 423.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.0004647/0.2955, allocations: 447.5 kB / 424.4 MB, free: 14.53 MB / 334.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 7 is too large for record elements {cellData2.rcData.CellType, cellData2.rcData.R, cellData2.rcData.T_ref, cellData2.rcData.alpha, cellData2.rcData.C}. Error: Internal error NBSlice.resolveDependency failed for: cellData2.rcData.alpha. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [RECD] (140) battery2.cellData = cellData2 ($RES_BND_353) Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.780912955990061] Failed to read output from testmodel.py, exit status != 0: ['time', 'battery1.limIntegrator.y', 'battery2.capacitor[1].v', 'battery2.capacitor[2].v', 'battery2.limIntegrator.y', 'energy1.y', 'energy2.y'] 0.30688663403270766 0.321684946 0.06261645 Calling exit ...