Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.UpSample.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.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|sum.y|upSample1.y|upSample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.UpSample") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|sum.y|upSample1.y|upSample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.UpSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 108.6 kB / 17.14 MB, free: 6.031 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.0009613/0.0009613, allocations: 194.6 kB / 18.07 MB, free: 5.105 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.437/1.437, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.07666/0.07666, allocations: 12.58 MB / 283.9 MB, free: 15.41 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.359e-05, allocations: 2.281 kB / 394.8 MB, free: 45.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.UpSample): time 0.003268/0.003299, allocations: 1.953 MB / 396.7 MB, free: 44.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.005077, allocations: 1.117 MB / 397.8 MB, free: 43.31 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.005224, allocations: 7.344 kB / 397.8 MB, free: 43.3 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003569/0.005587, allocations: 76.94 kB / 397.9 MB, free: 43.27 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.0002927/0.005889, allocations: 90.64 kB / 398 MB, free: 43.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007423/0.00664, allocations: 272 kB / 398.3 MB, free: 43.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003358/0.006986, allocations: 242.7 kB / 398.5 MB, free: 42.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.007142, allocations: 53.36 kB / 398.6 MB, free: 42.95 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.007291, allocations: 95.73 kB / 398.6 MB, free: 42.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.007444, allocations: 93.12 kB / 398.7 MB, free: 42.86 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/0.007486, allocations: 15.72 kB / 398.8 MB, free: 42.86 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.007655, allocations: 72.7 kB / 398.8 MB, free: 42.84 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001999/0.007863, allocations: 283.4 kB / 399.1 MB, free: 42.64 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 9.642e-05/0.007965, allocations: 185.2 kB / 399.3 MB, free: 42.51 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.555e-05/0.008017, allocations: 30.09 kB / 399.3 MB, free: 42.49 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.001e-05/0.008062, allocations: 9.219 kB / 399.3 MB, free: 42.49 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: 27 (27) * Number of variables: 27 (26) Notification: Performance of Bindings: time 0.0008203/0.008887, allocations: 0.8246 MB / 400.1 MB, free: 41.83 MB / 318.1 MB Notification: Performance of FunctionAlias: time 7.511e-05/0.008969, allocations: 35.64 kB / 400.2 MB, free: 41.81 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0003163/0.009293, allocations: 328.8 kB / 400.5 MB, free: 41.59 MB / 318.1 MB Notification: Performance of simplify1: time 3.976e-05/0.009339, allocations: 19.8 kB / 400.5 MB, free: 41.59 MB / 318.1 MB Notification: Performance of Alias: time 0.0005411/0.009886, allocations: 429.4 kB / 400.9 MB, free: 41.27 MB / 318.1 MB Notification: Performance of simplify2: time 2.568e-05/0.009921, allocations: 13.77 kB / 401 MB, free: 41.26 MB / 318.1 MB Notification: Performance of Events: time 0.0001135/0.01004, allocations: 73.38 kB / 401 MB, free: 41.21 MB / 318.1 MB Notification: Performance of Detect States: time 0.0003165/0.01037, allocations: 224.5 kB / 401.2 MB, free: 41.07 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002287/0.0106, allocations: 183.2 kB / 401.4 MB, free: 40.93 MB / 318.1 MB Notification: Performance of Causalize: time 0.000926/0.01154, allocations: 0.8155 MB / 402.2 MB, free: 40.54 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002824/0.01183, allocations: 336.6 kB / 402.6 MB, free: 40.27 MB / 318.1 MB Notification: Performance of Inline: time 0.0006204/0.01246, allocations: 0.6289 MB / 403.2 MB, free: 39.79 MB / 318.1 MB Notification: Performance of Partitioning: time 5.087e-05/0.01252, allocations: 44.2 kB / 403.2 MB, free: 39.75 MB / 318.1 MB Notification: Performance of Cleanup: time 3.594e-05/0.01256, allocations: 43.97 kB / 403.3 MB, free: 39.72 MB / 318.1 MB Notification: Performance of Causalize: time 0.002324/0.01489, allocations: 2.135 MB / 405.4 MB, free: 38.63 MB / 318.1 MB Notification: Performance of Tearing: time 8.546e-06/0.01491, allocations: 3.938 kB / 405.4 MB, free: 38.63 MB / 318.1 MB Notification: Performance of Initialization: time 1.092e-06/0.01491, allocations: 1.406 kB / 405.4 MB, free: 38.63 MB / 318.1 MB Notification: Performance of Tearing: time 4.408e-06/0.01492, allocations: 0 / 405.4 MB, free: 38.63 MB / 318.1 MB Notification: Performance of Categorize: time 1.336e-05/0.01494, allocations: 2.5 kB / 405.4 MB, free: 38.63 MB / 318.1 MB Notification: Performance of Solve: time 0.0001961/0.01514, allocations: 108.6 kB / 405.5 MB, free: 38.57 MB / 318.1 MB Notification: Performance of Jacobian: time 3.928e-06/0.01515, allocations: 0 / 405.5 MB, free: 38.57 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: .................... 12 (12) {table.combiTimeTable.nextTimeEventScaled, table.combiTimeTable.nextTimeEvent, upSample2.b_super, upSample2.y, upSample2.u_super, upSample2.dummy, upSample2.b, upSample1.u_super, upSample1.b_super, upSample1.y, upSample1.b, upSample1.dummy} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 11 (10) {sample.u, upSample1.u, sum.u, sum.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: ........... 16 (scalar:16, array:0, record:0) * Number of multi strong components: ............ 12 (algorithm:0, when:12, 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: ........... 46 (scalar:44, 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 0.0001071/0.01527, allocations: 41.53 kB / 405.6 MB, free: 38.55 MB / 318.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable periodicClock.y.