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.001307/0.001307, allocations: 107.6 kB / 21.2 MB, free: 0.6641 MB / 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.001456/0.001456, allocations: 210.7 kB / 24.49 MB, free: 3.961 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.482/1.482, 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.779e-05/2.779e-05, allocations: 2.281 kB / 378.9 MB, free: 2.531 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.ShowImpedance): time 0.003308/0.003335, allocations: 1.862 MB / 380.8 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.187/0.1904, allocations: 1.13 MB / 381.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.1905, allocations: 4.406 kB / 381.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.1917, allocations: 493.3 kB / 382.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002558/0.192, allocations: 199.1 kB / 382.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004425/0.1924, allocations: 157.5 kB / 382.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003896/0.1928, allocations: 263.4 kB / 383 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.22e-05/0.1929, allocations: 14.62 kB / 383 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002772/0.1931, allocations: 145.8 kB / 383.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000286/0.1934, allocations: 206.2 kB / 383.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.1934, allocations: 3.594 kB / 383.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007047/0.1942, allocations: 381.2 kB / 383.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003681/0.1945, allocations: 355.2 kB / 384.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000152/0.1947, allocations: 227.3 kB / 384.3 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.447e-05/0.1947, allocations: 10 kB / 384.3 MB, free: 12.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.92e-05/0.1947, allocations: 2.391 kB / 384.3 MB, free: 12.58 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.001531/0.1963, allocations: 1.691 MB / 386 MB, free: 11.73 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001946/0.1965, allocations: 107.7 kB / 386.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0005489/0.197, allocations: 479.9 kB / 386.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001261/0.1971, allocations: 117.1 kB / 386.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0004683/0.1976, allocations: 240.4 kB / 386.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001183/0.1977, allocations: 118.2 kB / 387 MB, free: 11.25 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 3.766e-05/0.1978, allocations: 51.25 kB / 387.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.000101/0.1979, allocations: 117.7 kB / 387.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of [SIM] Events: time 8.819e-05/0.1979, allocations: 33.58 kB / 387.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.000159/0.1981, allocations: 102.3 kB / 387.3 MB, free: 11.06 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0002781/0.1984, allocations: 146.5 kB / 387.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002046/0.1986, allocations: 227.1 kB / 387.7 MB, free: 10.96 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0004205/0.199, allocations: 280.9 kB / 388 MB, free: 10.75 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0005084/0.1995, allocations: 475.5 kB / 388.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 2.424e-05/0.1995, allocations: 18.22 kB / 388.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 6.166e-05/0.1996, allocations: 60.02 kB / 388.5 MB, free: 10.47 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.4396797441877425] Failed to read output from testmodel.py, exit status != 0: ['time', 'impedance.z.re', 'impedance.z.im'] 0.20771452318876982 0.220529204 0.023230321 Calling exit ...