Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.ShowImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 104 kB / 21.25 MB, free: 0.5664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 190.7 kB / 24.53 MB, free: 3.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 225.7 MB / 253.4 MB, free: 12.77 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Batteries.Examples.ShowImpedance") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.536e-05/2.536e-05, allocations: 2.281 kB / 371.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.ShowImpedance): time 0.003857/0.003883, allocations: 1.843 MB / 373.5 MB, free: 7.309 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00217/0.006052, allocations: 1.113 MB / 374.7 MB, free: 6.188 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.547e-05/0.006138, allocations: 4 kB / 374.7 MB, free: 6.184 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.007341, allocations: 494.5 kB / 375.1 MB, free: 5.699 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002551/0.007597, allocations: 199.4 kB / 375.3 MB, free: 5.504 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004798/0.008076, allocations: 167.3 kB / 375.5 MB, free: 5.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004171/0.008493, allocations: 271.2 kB / 375.8 MB, free: 5.074 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.008603, allocations: 11.92 kB / 375.8 MB, free: 5.062 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002656/0.008869, allocations: 135.6 kB / 375.9 MB, free: 4.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000338/0.009207, allocations: 207.4 kB / 376.1 MB, free: 4.727 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.009224, allocations: 4 kB / 376.1 MB, free: 4.723 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006163/0.00984, allocations: 379.5 kB / 376.5 MB, free: 4.352 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004202/0.01026, allocations: 360.8 kB / 376.8 MB, free: 3.996 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002077/0.01047, allocations: 225.3 kB / 377.1 MB, free: 3.773 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.675e-05/0.01049, allocations: 12 kB / 377.1 MB, free: 3.762 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.364e-05/0.01051, allocations: 3.938 kB / 377.1 MB, free: 3.758 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.00231/0.01282, allocations: 1.686 MB / 378.8 MB, free: 1.934 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002253/0.01304, allocations: 114.6 kB / 378.9 MB, free: 1.82 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0006256/0.01367, allocations: 0.4996 MB / 379.4 MB, free: 1.289 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001599/0.01383, allocations: 122.2 kB / 379.5 MB, free: 1.125 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.000567/0.0144, allocations: 236.6 kB / 379.7 MB, free: 0.832 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001573/0.01455, allocations: 120.8 kB / 379.8 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 7.184e-05/0.01463, allocations: 48.42 kB / 379.9 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001356/0.01476, allocations: 124.5 kB / 380 MB, free: 432 kB / 302.1 MB Notification: Performance of [SIM] Events: time 9.051e-05/0.01485, allocations: 31.95 kB / 380 MB, free: 400 kB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001591/0.01501, allocations: 116 kB / 380.2 MB, free: 276 kB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0003316/0.01534, allocations: 171.9 kB / 380.3 MB, free: 96 kB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.2183/0.2336, allocations: 239.7 kB / 380.6 MB, free: 15.78 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.000607/0.2342, allocations: 256.1 kB / 380.8 MB, free: 15.63 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0005265/0.2348, allocations: 0.4908 MB / 381.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 2.679e-05/0.2348, allocations: 26.3 kB / 381.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 6.218e-05/0.2348, allocations: 59.53 kB / 381.4 MB, free: 15.61 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_18) Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.5824995470466092] Failed to read output from testmodel.py, exit status != 0: ['time', 'impedance.z.re', 'impedance.z.im'] 0.24387735599884763 0.25658838500000003 0.24324890000000002 Calling exit ...