Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.ShowImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 211.2 kB / 24.55 MB, free: 3.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.607/1.607, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Batteries.Examples.ShowImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|impedance.z.re|impedance.z.im",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.ShowImpedance") translateModel(Modelica.Electrical.Batteries.Examples.ShowImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|impedance.z.re|impedance.z.im",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Batteries.Examples.ShowImpedance") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.701e-05, allocations: 2.281 kB / 379 MB, free: 2.512 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.ShowImpedance): time 0.004025/0.004052, allocations: 1.864 MB / 380.9 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.227/0.2311, allocations: 1.139 MB / 382 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.136e-05/0.2312, allocations: 3.375 kB / 382 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.2324, allocations: 491.8 kB / 382.5 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002678/0.2326, allocations: 196.9 kB / 382.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004406/0.2331, allocations: 157.5 kB / 382.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000385/0.2335, allocations: 265.6 kB / 383.1 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.994e-05/0.2335, allocations: 6.422 kB / 383.1 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000262/0.2338, allocations: 151.2 kB / 383.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002671/0.2341, allocations: 198.5 kB / 383.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.2341, allocations: 2.719 kB / 383.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006853/0.2348, allocations: 372.4 kB / 383.8 MB, free: 12.87 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003242/0.2351, allocations: 365 kB / 384.2 MB, free: 12.72 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000142/0.2352, allocations: 222.5 kB / 384.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.056e-05/0.2353, allocations: 10.91 kB / 384.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-05/0.2353, allocations: 0 / 384.4 MB, free: 12.6 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: 4 (3) * Number of variables: 4 (4) Notification: Performance of [SIM] Bindings: time 0.001456/0.2367, allocations: 1.689 MB / 386.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001801/0.2369, allocations: 110.6 kB / 386.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0005501/0.2375, allocations: 492.7 kB / 386.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001175/0.2376, allocations: 119.3 kB / 386.8 MB, free: 11.51 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0004226/0.238, allocations: 238.8 kB / 387 MB, free: 11.38 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001093/0.2381, allocations: 118.2 kB / 387.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 4.022e-05/0.2382, allocations: 49.98 kB / 387.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 9.203e-05/0.2382, allocations: 115.3 kB / 387.3 MB, free: 11.1 MB / 302.1 MB Notification: Performance of [SIM] Events: time 7.859e-05/0.2383, allocations: 29.62 kB / 387.4 MB, free: 11.1 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.00014/0.2385, allocations: 105.7 kB / 387.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0002835/0.2387, allocations: 145.7 kB / 387.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002117/0.239, allocations: 236.4 kB / 387.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0003884/0.2393, allocations: 251.4 kB / 388.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0004493/0.2398, allocations: 475.2 kB / 388.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 2.426e-05/0.2398, allocations: 16.45 kB / 388.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 5.373e-05/0.2399, allocations: 58.84 kB / 388.6 MB, free: 10.52 MB / 302.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 7 is too large for record elements {cellData.rcData.CellType, cellData.rcData.R, cellData.rcData.T_ref, cellData.rcData.alpha, cellData.rcData.C}. Error: Internal error NBSlice.resolveDependency failed for: cellData.rcData.C. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [RECD] (140) impedance.cellData = cellData ($RES_BND_16) Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.5997120030224323] Failed to read output from testmodel.py, exit status != 0: ['time', 'impedance.z.re', 'impedance.z.im'] 0.24833719804883003 0.26080465099999994 0.022777774 Calling exit ...