Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_Synchronous.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|subSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SubSample") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|subSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 113.3 kB / 17.14 MB, free: 5.934 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.001215/0.001215, allocations: 193.4 kB / 18.07 MB, free: 5.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.1 MB / 223.9 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07561/0.07561, allocations: 12.58 MB / 283.9 MB, free: 15.4 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.547e-05/1.547e-05, allocations: 2.281 kB / 394.8 MB, free: 45.46 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SubSample): time 0.002715/0.002739, allocations: 1.868 MB / 396.6 MB, free: 44.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.0042, allocations: 1.048 MB / 397.7 MB, free: 43.46 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.004318, allocations: 3 kB / 397.7 MB, free: 43.46 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002923/0.004617, allocations: 67.3 kB / 397.7 MB, free: 43.43 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.00488, allocations: 90.67 kB / 397.8 MB, free: 43.39 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000577/0.005465, allocations: 227.7 kB / 398.1 MB, free: 43.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.005737, allocations: 195.5 kB / 398.2 MB, free: 43.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.005859, allocations: 32 kB / 398.3 MB, free: 43.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.005975, allocations: 78.31 kB / 398.4 MB, free: 43.13 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.006093, allocations: 65.59 kB / 398.4 MB, free: 43.1 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.006122, allocations: 7.219 kB / 398.4 MB, free: 43.1 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.006265, allocations: 69.41 kB / 398.5 MB, free: 43.08 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.00015/0.006424, allocations: 213.2 kB / 398.7 MB, free: 42.93 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 6.536e-05/0.006495, allocations: 145.4 kB / 398.8 MB, free: 42.83 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.515e-05/0.006535, allocations: 23.53 kB / 398.9 MB, free: 42.81 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.525e-05/0.006565, allocations: 7.344 kB / 398.9 MB, free: 42.81 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 (14) * Number of variables: 14 (14) Notification: Performance of Bindings: time 0.0006076/0.007178, allocations: 0.6324 MB / 399.5 MB, free: 42.27 MB / 318.1 MB Notification: Performance of FunctionAlias: time 7.067e-05/0.007254, allocations: 38.48 kB / 399.5 MB, free: 42.24 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0001853/0.007446, allocations: 212.3 kB / 399.8 MB, free: 42.08 MB / 318.1 MB Notification: Performance of simplify1: time 3.348e-05/0.007485, allocations: 16.5 kB / 399.8 MB, free: 42.07 MB / 318.1 MB Notification: Performance of Alias: time 0.0003942/0.007885, allocations: 332.7 kB / 400.1 MB, free: 41.8 MB / 318.1 MB Notification: Performance of simplify2: time 1.853e-05/0.007912, allocations: 11.11 kB / 400.1 MB, free: 41.8 MB / 318.1 MB Notification: Performance of Events: time 0.0001057/0.008024, allocations: 68.34 kB / 400.2 MB, free: 41.75 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001475/0.008178, allocations: 101.1 kB / 400.3 MB, free: 41.68 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001209/0.008306, allocations: 113.8 kB / 400.4 MB, free: 41.58 MB / 318.1 MB Notification: Performance of Causalize: time 0.0005081/0.00882, allocations: 481 kB / 400.8 MB, free: 41.34 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001781/0.009007, allocations: 214.9 kB / 401.1 MB, free: 41.18 MB / 318.1 MB Notification: Performance of Inline: time 0.0004422/0.009455, allocations: 439.2 kB / 401.5 MB, free: 40.89 MB / 318.1 MB Notification: Performance of Partitioning: time 3.044e-05/0.009495, allocations: 34.92 kB / 401.5 MB, free: 40.86 MB / 318.1 MB Notification: Performance of Cleanup: time 2.495e-05/0.009525, allocations: 20.55 kB / 401.5 MB, free: 40.85 MB / 318.1 MB Notification: Performance of Causalize: time 0.0008478/0.01038, allocations: 0.9053 MB / 402.4 MB, free: 40.41 MB / 318.1 MB Notification: Performance of Tearing: time 6.322e-06/0.01039, allocations: 0 / 402.4 MB, free: 40.41 MB / 318.1 MB Notification: Performance of Initialization: time 1.132e-06/0.0104, allocations: 1.188 kB / 402.4 MB, free: 40.41 MB / 318.1 MB Notification: Performance of Tearing: time 1.172e-06/0.0104, allocations: 0 / 402.4 MB, free: 40.41 MB / 318.1 MB Notification: Performance of Categorize: time 9.368e-06/0.01042, allocations: 5.062 kB / 402.5 MB, free: 40.4 MB / 318.1 MB Notification: Performance of Solve: time 0.0001006/0.01052, allocations: 69.53 kB / 402.5 MB, free: 40.36 MB / 318.1 MB Notification: Performance of Jacobian: time 3.176e-06/0.01053, allocations: 0 / 402.5 MB, free: 40.36 MB / 318.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: ......... 4 * 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: .................... 2 (2) {table.combiTimeTable.nextTimeEventScaled, table.combiTimeTable.nextTimeEvent} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 9 (9) {sample.u, sample.y, subSample.y, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $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: ........... 14 (scalar:14, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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: ........... 24 (scalar:22, array:1, record:1) * Number of multi strong components: ............ 2 (algorithm:2, 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 5.884e-05/0.0106, allocations: 31.36 kB / 402.6 MB, free: 40.34 MB / 318.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable periodicClock.y.