Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.conf.json 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) 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.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 111.7 kB / 17.75 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 190 kB / 18.69 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.882e-05/1.883e-05, allocations: 2.281 kB / 351.9 MB, free: 3.281 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002313/0.002339, allocations: 1.543 MB / 353.5 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007442/0.003097, allocations: 478.7 kB / 353.9 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.571e-05/0.003184, allocations: 7.938 kB / 353.9 MB, free: 1.246 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.92e-05/0.003229, allocations: 3.938 kB / 353.9 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.003361, allocations: 11.92 kB / 353.9 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.003605, allocations: 51.83 kB / 354 MB, free: 1.18 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.003731, allocations: 55.78 kB / 354.1 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.752e-05/0.003825, allocations: 12 kB / 354.1 MB, free: 1.113 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.125e-05/0.003892, allocations: 23.91 kB / 354.1 MB, free: 1.09 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.933e-05/0.003949, allocations: 19.86 kB / 354.1 MB, free: 1.07 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.003977, allocations: 8 kB / 354.1 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.209e-05/0.003994, allocations: 4 kB / 354.1 MB, free: 1.059 MB / 286.1 MB Notification: Performance of combineBinaries: time 7.823e-05/0.004076, allocations: 82.92 kB / 354.2 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 3.455e-05/0.004127, allocations: 59.12 kB / 354.3 MB, free: 0.918 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.396e-05/0.004146, allocations: 3.938 kB / 354.3 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.384e-05/0.004174, allocations: 7.984 kB / 354.3 MB, free: 0.9062 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 (8) * Number of variables: 8 (8) Notification: Performance of Bindings: time 0.0003833/0.004562, allocations: 339.8 kB / 354.6 MB, free: 484 kB / 286.1 MB Notification: Performance of FunctionAlias: time 6.657e-05/0.004634, allocations: 19.98 kB / 354.6 MB, free: 464 kB / 286.1 MB Notification: Performance of Early Inline: time 0.000105/0.004746, allocations: 116.3 kB / 354.7 MB, free: 320 kB / 286.1 MB Notification: Performance of simplify1: time 2.234e-05/0.004776, allocations: 15.98 kB / 354.7 MB, free: 304 kB / 286.1 MB Notification: Performance of Alias: time 0.0003377/0.005118, allocations: 225.3 kB / 355 MB, free: 16 kB / 286.1 MB Notification: Performance of simplify2: time 9.648e-06/0.005137, allocations: 8 kB / 355 MB, free: 8 kB / 286.1 MB Notification: Performance of Detect States: time 6.95e-05/0.005212, allocations: 32.23 kB / 355 MB, free: 15.96 MB / 302.1 MB Notification: Performance of Events: time 5.979e-05/0.005279, allocations: 31.91 kB / 355 MB, free: 15.93 MB / 302.1 MB Notification: Performance of Partitioning: time 5.913e-05/0.005345, allocations: 48.23 kB / 355.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of Causalize: time 0.000183/0.005534, allocations: 152.2 kB / 355.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 8.613e-05/0.005628, allocations: 108.9 kB / 355.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of Inline: time 0.0001353/0.005778, allocations: 176.2 kB / 355.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of Partitioning: time 1.309e-05/0.005796, allocations: 8.125 kB / 355.5 MB, free: 15.35 MB / 302.1 MB Notification: Performance of Cleanup: time 1.581e-05/0.005818, allocations: 8 kB / 355.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of Causalize: time 0.0001817/0.006004, allocations: 152.2 kB / 355.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of Tearing: time 8.796e-06/0.006021, allocations: 0 / 355.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of Initialization: time 3.5e-07/0.006028, allocations: 4 kB / 355.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of Tearing: time 1.302e-06/0.006035, allocations: 4.234 kB / 355.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of Categorize: time 8.536e-06/0.006047, allocations: 0 / 355.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of Solve: time 4.827e-05/0.006099, allocations: 19.98 kB / 355.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of Jacobian: time 3.828e-06/0.006109, allocations: 7.922 kB / 355.7 MB, free: 15.15 MB / 302.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: ......... 2 * 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 2 (2) {$SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 7 (scalar:7, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 7 (scalar:7, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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.309e-05/0.006146, allocations: 17.41 kB / 355.7 MB, free: 15.13 MB / 302.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable sample1.clock.