Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.ShiftSample.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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|shiftSample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.ShiftSample") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|shiftSample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 117.6 kB / 17.14 MB, free: 5.945 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.0009999/0.001, allocations: 197.4 kB / 18.08 MB, free: 5.027 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.553/1.553, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.07363/0.07363, allocations: 12.59 MB / 283.9 MB, free: 15.4 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.137e-05, allocations: 2.281 kB / 394.8 MB, free: 45.4 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.ShiftSample): time 0.003088/0.003118, allocations: 1.868 MB / 396.6 MB, free: 44.11 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.004797, allocations: 1.064 MB / 397.7 MB, free: 43.38 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.004948, allocations: 1.906 kB / 397.7 MB, free: 43.38 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003536/0.005308, allocations: 68.05 kB / 397.8 MB, free: 43.36 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.0002904/0.005607, allocations: 93.36 kB / 397.9 MB, free: 43.31 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006406/0.006255, allocations: 228.4 kB / 398.1 MB, free: 43.19 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003045/0.006569, allocations: 195.6 kB / 398.3 MB, free: 43.1 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.006713, allocations: 32.69 kB / 398.3 MB, free: 43.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.006842, allocations: 73.33 kB / 398.4 MB, free: 43.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.006969, allocations: 69.83 kB / 398.4 MB, free: 43.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.007004, allocations: 12.75 kB / 398.4 MB, free: 43.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.007171, allocations: 64.27 kB / 398.5 MB, free: 43 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001616/0.007341, allocations: 214.1 kB / 398.7 MB, free: 42.86 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 8.801e-05/0.007436, allocations: 142.6 kB / 398.9 MB, free: 42.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.666e-05/0.0075, allocations: 22.94 kB / 398.9 MB, free: 42.74 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.196e-05/0.007537, allocations: 7.281 kB / 398.9 MB, free: 42.73 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.0006805/0.008222, allocations: 0.6486 MB / 399.5 MB, free: 42.18 MB / 318.1 MB Notification: Performance of FunctionAlias: time 8.056e-05/0.008311, allocations: 31.56 kB / 399.6 MB, free: 42.16 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0002344/0.008552, allocations: 211.9 kB / 399.8 MB, free: 42 MB / 318.1 MB Notification: Performance of simplify1: time 3.475e-05/0.008595, allocations: 20.16 kB / 399.8 MB, free: 41.98 MB / 318.1 MB Notification: Performance of Alias: time 0.0004537/0.009054, allocations: 333.3 kB / 400.1 MB, free: 41.71 MB / 318.1 MB Notification: Performance of simplify2: time 2.135e-05/0.009085, allocations: 11.66 kB / 400.1 MB, free: 41.71 MB / 318.1 MB Notification: Performance of Events: time 0.0001133/0.009204, allocations: 56.09 kB / 400.2 MB, free: 41.68 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001686/0.009379, allocations: 107.6 kB / 400.3 MB, free: 41.59 MB / 318.1 MB Notification: Performance of Partitioning: time 0.000139/0.009528, allocations: 113.8 kB / 400.4 MB, free: 41.5 MB / 318.1 MB Notification: Performance of Causalize: time 0.0005753/0.01011, allocations: 476.8 kB / 400.9 MB, free: 41.27 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002019/0.01032, allocations: 225.5 kB / 401.1 MB, free: 41.1 MB / 318.1 MB Notification: Performance of Inline: time 0.0005076/0.01084, allocations: 448.3 kB / 401.5 MB, free: 40.8 MB / 318.1 MB Notification: Performance of Partitioning: time 3.523e-05/0.01088, allocations: 33.33 kB / 401.6 MB, free: 40.77 MB / 318.1 MB Notification: Performance of Cleanup: time 2.716e-05/0.01092, allocations: 15.47 kB / 401.6 MB, free: 40.77 MB / 318.1 MB Notification: Performance of Causalize: time 0.001161/0.01208, allocations: 0.8989 MB / 402.5 MB, free: 40.34 MB / 318.1 MB Notification: Performance of Tearing: time 6.802e-06/0.0121, allocations: 3.938 kB / 402.5 MB, free: 40.34 MB / 318.1 MB Notification: Performance of Initialization: time 3.61e-07/0.01211, allocations: 0 / 402.5 MB, free: 40.34 MB / 318.1 MB Notification: Performance of Tearing: time 1.964e-06/0.01211, allocations: 1.562 kB / 402.5 MB, free: 40.34 MB / 318.1 MB Notification: Performance of Categorize: time 1.06e-05/0.01213, allocations: 5.25 kB / 402.5 MB, free: 40.33 MB / 318.1 MB Notification: Performance of Solve: time 0.0001146/0.01225, allocations: 64 kB / 402.5 MB, free: 40.3 MB / 318.1 MB Notification: Performance of Jacobian: time 4.819e-06/0.01226, allocations: 1.531 kB / 402.5 MB, free: 40.3 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, shiftSample1.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 8.977e-05/0.01235, allocations: 23.48 kB / 402.6 MB, free: 40.28 MB / 318.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable periodicClock.y.