Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_ClaRa.Components.Utilities.Blocks.Check.testTableGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo", uses=false) Using package ClaRa with version 1.8.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo) 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) Using package TILMedia with version 1.8.1 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo) Using package SMArtIInt with version 0.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo) Running command: translateModel(ClaRa.Components.Utilities.Blocks.Check.testTableGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time_bak|_derdummy|_dummy|product1.u1|product1.u2|product1.y|sine.duration|sine.height|sine.offset|sine.startTime|sine.y|tableGain.columns.1.|tableGain.divide|tableGain.n|tableGain.smoothness|tableGain.tableOnFile|tableGain.table.1,1.|tableGain.table.1,2.|tableGain.table.2,1.|tableGain.table.2,2.|tableGain.table.3,1.|tableGain.table.3,2.|tableGain.u.1.|tableGain.y.1.|tableGain1.columns.1.|tableGain1.extrapolation|tableGain1.n|tableGain1.smoothness|tableGain1.tableOnFile|tableGain1.table.1,1.|tableGain1.table.1,2.|tableGain1.table.2,1.|tableGain1.table.2,2.|tableGain1.table.3,1.|tableGain1.table.3,2.|tableGain1.u.1.|tableGain1.u_max|tableGain1.u_min|tableGain1.verboseExtrapolation|tableGain1.verboseRead|tableGain1.y.1.",fileNamePrefix="ClaRa_ClaRa.Components.Utilities.Blocks.Check.testTableGain") translateModel(ClaRa.Components.Utilities.Blocks.Check.testTableGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time_bak|_derdummy|_dummy|product1.u1|product1.u2|product1.y|sine.duration|sine.height|sine.offset|sine.startTime|sine.y|tableGain.columns.1.|tableGain.divide|tableGain.n|tableGain.smoothness|tableGain.tableOnFile|tableGain.table.1,1.|tableGain.table.1,2.|tableGain.table.2,1.|tableGain.table.2,2.|tableGain.table.3,1.|tableGain.table.3,2.|tableGain.u.1.|tableGain.y.1.|tableGain1.columns.1.|tableGain1.extrapolation|tableGain1.n|tableGain1.smoothness|tableGain1.tableOnFile|tableGain1.table.1,1.|tableGain1.table.1,2.|tableGain1.table.2,1.|tableGain1.table.2,2.|tableGain1.table.3,1.|tableGain1.table.3,2.|tableGain1.u.1.|tableGain1.u_max|tableGain1.u_min|tableGain1.verboseExtrapolation|tableGain1.verboseRead|tableGain1.y.1.",fileNamePrefix="ClaRa_ClaRa.Components.Utilities.Blocks.Check.testTableGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.009549/0.009549, allocations: 1.429 MB / 17.7 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1026/0.1026, allocations: 22.37 MB / 41.12 MB, free: 7.816 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009462/0.0009461, allocations: 104 kB / 48.62 MB, free: 296 kB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 199.4 kB / 56.22 MB, free: 3.555 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 222.9 MB / 286.6 MB, free: 1.195 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8263/0.8263, allocations: 127.8 MB / 471.2 MB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.294e-05, allocations: 6.219 kB / 0.5546 GB, free: 42.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testTableGain): time 0.002854/0.002896, allocations: 2.333 MB / 0.5569 GB, free: 42.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006721/0.003582, allocations: 498.6 kB / 0.5574 GB, free: 42.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.361e-05/0.003657, allocations: 1.844 kB / 0.5574 GB, free: 42.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002275/0.003891, allocations: 86.67 kB / 0.5575 GB, free: 42.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.004104, allocations: 77.09 kB / 0.5576 GB, free: 42.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.00439, allocations: 141.7 kB / 0.5577 GB, free: 42.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.004571, allocations: 157 kB / 0.5578 GB, free: 42.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.004681, allocations: 30.81 kB / 0.5579 GB, free: 42.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.404e-05/0.004771, allocations: 65.78 kB / 0.5579 GB, free: 42.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.367e-05/0.004861, allocations: 63.62 kB / 0.558 GB, free: 42.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.004887, allocations: 8.25 kB / 0.558 GB, free: 42.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.974e-05/0.004962, allocations: 47.48 kB / 0.558 GB, free: 42 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0001/0.005067, allocations: 189.2 kB / 0.5582 GB, free: 41.89 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 3.579e-05/0.005109, allocations: 128.6 kB / 0.5583 GB, free: 41.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.055e-05/0.005136, allocations: 15.41 kB / 0.5584 GB, free: 41.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-05/0.005155, allocations: 2.625 kB / 0.5584 GB, free: 41.8 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 (11) * Number of variables: 11 (11) Notification: Performance of Bindings: time 0.0004132/0.005572, allocations: 0.5487 MB / 0.5589 GB, free: 41.44 MB / 446.1 MB Notification: Performance of FunctionAlias: time 4.354e-05/0.005621, allocations: 23.36 kB / 0.5589 GB, free: 41.44 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0001247/0.005753, allocations: 173.2 kB / 0.5591 GB, free: 41.38 MB / 446.1 MB Notification: Performance of simplify1: time 1.82e-05/0.005777, allocations: 13.62 kB / 0.5591 GB, free: 41.38 MB / 446.1 MB Notification: Performance of Alias: time 0.0002166/0.005999, allocations: 201.9 kB / 0.5593 GB, free: 41.27 MB / 446.1 MB Notification: Performance of simplify2: time 9.879e-06/0.006016, allocations: 9.953 kB / 0.5593 GB, free: 41.27 MB / 446.1 MB Notification: Performance of Events: time 5.895e-05/0.00608, allocations: 41.31 kB / 0.5593 GB, free: 41.27 MB / 446.1 MB Notification: Performance of Detect States: time 9.947e-05/0.006186, allocations: 68.48 kB / 0.5594 GB, free: 41.23 MB / 446.1 MB Notification: Performance of Partitioning: time 6.822e-05/0.006261, allocations: 78.2 kB / 0.5595 GB, free: 41.21 MB / 446.1 MB Notification: Performance of Causalize: time 0.000335/0.006601, allocations: 410.7 kB / 0.5599 GB, free: 41.16 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001064/0.006716, allocations: 187.9 kB / 0.5601 GB, free: 41.1 MB / 446.1 MB Notification: Performance of Inline: time 0.0002722/0.006994, allocations: 359.2 kB / 0.5604 GB, free: 41.01 MB / 446.1 MB Notification: Performance of Partitioning: time 2.103e-05/0.007025, allocations: 29.05 kB / 0.5604 GB, free: 40.99 MB / 446.1 MB Notification: Performance of Cleanup: time 1.421e-05/0.007044, allocations: 14.58 kB / 0.5604 GB, free: 40.99 MB / 446.1 MB Notification: Performance of Causalize: time 0.0009582/0.008006, allocations: 1.087 MB / 0.5615 GB, free: 40.89 MB / 446.1 MB Notification: Performance of Tearing: time 7.695e-06/0.008026, allocations: 0.5625 kB / 0.5615 GB, free: 40.89 MB / 446.1 MB Notification: Performance of Initialization: time 8.02e-07/0.008032, allocations: 5.469 kB / 0.5615 GB, free: 40.89 MB / 446.1 MB Notification: Performance of Tearing: time 1.573e-06/0.008038, allocations: 2.062 kB / 0.5615 GB, free: 40.89 MB / 446.1 MB Notification: Performance of Categorize: time 7.003e-06/0.008048, allocations: 3.938 kB / 0.5615 GB, free: 40.88 MB / 446.1 MB Notification: Performance of Solve: time 9.866e-05/0.008151, allocations: 68.73 kB / 0.5616 GB, free: 40.88 MB / 446.1 MB Notification: Performance of Jacobian: time 2.555e-06/0.008161, allocations: 4 kB / 0.5616 GB, free: 40.87 MB / 446.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 1 (1) {tableGain.table_block.tableID} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 2 (2) {$TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 12 (scalar:10, array:2, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:1, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 22 (scalar:17, array:4, record:1) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.544e-05/0.008201, allocations: 26.53 kB / 0.5616 GB, free: 40.86 MB / 446.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: false