Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 112.8 kB / 17.75 MB, free: 5.172 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.001053/0.001053, allocations: 188.3 kB / 18.68 MB, free: 4.25 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.291/1.291, allocations: 222.9 MB / 242.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.139e-05, allocations: 2.281 kB / 351.9 MB, free: 3.277 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.00232/0.002349, allocations: 1.555 MB / 353.5 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007418/0.003103, allocations: 474.7 kB / 354 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.247e-05/0.003196, allocations: 0 / 354 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.361e-05/0.003249, allocations: 7.875 kB / 354 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001386/0.0034, allocations: 19.91 kB / 354 MB, free: 1.215 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.003665, allocations: 54.44 kB / 354 MB, free: 1.164 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.003794, allocations: 47.84 kB / 354.1 MB, free: 1.117 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.003908, allocations: 16 kB / 354.1 MB, free: 1.102 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.74e-05/0.003981, allocations: 23.86 kB / 354.1 MB, free: 1.078 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.585e-05/0.004044, allocations: 23.84 kB / 354.1 MB, free: 1.055 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.004072, allocations: 8 kB / 354.1 MB, free: 1.047 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.386e-05/0.004091, allocations: 4 kB / 354.2 MB, free: 1.043 MB / 286.1 MB Notification: Performance of combineBinaries: time 7.798e-05/0.004173, allocations: 78.98 kB / 354.2 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 2.782e-05/0.004206, allocations: 51.16 kB / 354.3 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.416e-05/0.004245, allocations: 8 kB / 354.3 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.115e-05/0.004271, allocations: 4 kB / 354.3 MB, free: 0.9023 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.0003816/0.004657, allocations: 339.8 kB / 354.6 MB, free: 480 kB / 286.1 MB Notification: Performance of FunctionAlias: time 5.859e-05/0.004722, allocations: 11.94 kB / 354.6 MB, free: 468 kB / 286.1 MB Notification: Performance of Early Inline: time 0.0001121/0.004843, allocations: 120.3 kB / 354.8 MB, free: 320 kB / 286.1 MB Notification: Performance of simplify1: time 2.083e-05/0.004869, allocations: 11.98 kB / 354.8 MB, free: 308 kB / 286.1 MB Notification: Performance of Alias: time 0.0003291/0.005204, allocations: 233.3 kB / 355 MB, free: 12 kB / 286.1 MB Notification: Performance of simplify2: time 6.743e-06/0.00522, allocations: 0 / 355 MB, free: 12 kB / 286.1 MB Notification: Performance of Events: time 6.733e-05/0.005292, allocations: 23.98 kB / 355 MB, free: 15.99 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001031/0.005402, allocations: 50.05 kB / 355.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of Partitioning: time 6.344e-05/0.005473, allocations: 52.23 kB / 355.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of Causalize: time 0.000179/0.005659, allocations: 144.2 kB / 355.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 9.232e-05/0.005761, allocations: 112.3 kB / 355.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of Inline: time 0.0001588/0.005926, allocations: 168.3 kB / 355.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of Partitioning: time 1.413e-05/0.005947, allocations: 12.12 kB / 355.5 MB, free: 15.35 MB / 302.1 MB Notification: Performance of Cleanup: time 1.348e-05/0.005966, allocations: 11.92 kB / 355.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of Causalize: time 0.0003064/0.006278, allocations: 262.5 kB / 355.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of Tearing: time 6.983e-06/0.006295, allocations: 4 kB / 355.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of Initialization: time 2.5e-07/0.0063, allocations: 0 / 355.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of Tearing: time 8.32e-07/0.006305, allocations: 0 / 355.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of Categorize: time 6.853e-06/0.006316, allocations: 0 / 355.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of Solve: time 5.18e-05/0.006372, allocations: 27.91 kB / 355.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of Jacobian: time 2.735e-06/0.00638, allocations: 0 / 355.8 MB, free: 15.04 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: .................... 1 (1) {assignClock.y} * 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: ........... 6 (scalar:6, array:0, 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: ........... 8 (scalar:8, 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 4.142e-05/0.006426, allocations: 25.69 kB / 355.9 MB, free: 15.02 MB / 302.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable periodicClock.y.