Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.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 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.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.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.00138/0.00138, allocations: 117.1 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.001559/0.001559, allocations: 183.1 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.32/1.32, allocations: 222.9 MB / 242.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.305e-05, allocations: 2.281 kB / 351.9 MB, free: 3.289 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.003171/0.003202, allocations: 1.864 MB / 353.8 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.005051, allocations: 1.134 MB / 354.9 MB, free: 276 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.005182, allocations: 7.938 kB / 354.9 MB, free: 268 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003261/0.005517, allocations: 67.67 kB / 355 MB, free: 200 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002695/0.005817, allocations: 95.58 kB / 355.1 MB, free: 104 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007039/0.006532, allocations: 263.7 kB / 355.3 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002617/0.006803, allocations: 187.4 kB / 355.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.006942, allocations: 33.53 kB / 355.6 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.007064, allocations: 83.69 kB / 355.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.007191, allocations: 67.69 kB / 355.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.007221, allocations: 8 kB / 355.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.007358, allocations: 63.91 kB / 355.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001618/0.007527, allocations: 213.4 kB / 356 MB, free: 15.2 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 8.802e-05/0.007622, allocations: 137.8 kB / 356.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.4e-05/0.007662, allocations: 27.81 kB / 356.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.458e-05/0.007712, allocations: 4 kB / 356.1 MB, free: 15.04 MB / 302.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.0007065/0.008424, allocations: 0.6564 MB / 356.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of FunctionAlias: time 8.357e-05/0.008515, allocations: 41.77 kB / 356.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0002164/0.008739, allocations: 220.2 kB / 357.1 MB, free: 13.99 MB / 302.1 MB Notification: Performance of simplify1: time 3.033e-05/0.008777, allocations: 11.98 kB / 357.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of Alias: time 0.000493/0.009275, allocations: 358.7 kB / 357.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of simplify2: time 1.973e-05/0.009307, allocations: 19.97 kB / 357.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of Events: time 0.0001025/0.009414, allocations: 59.83 kB / 357.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001832/0.009605, allocations: 110.8 kB / 357.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001403/0.009754, allocations: 116.5 kB / 357.7 MB, free: 13.22 MB / 302.1 MB Notification: Performance of Causalize: time 0.0004499/0.01021, allocations: 396.1 kB / 358.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002151/0.01043, allocations: 220.9 kB / 358.3 MB, free: 12.56 MB / 302.1 MB Notification: Performance of Inline: time 0.000496/0.01094, allocations: 452.1 kB / 358.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of Partitioning: time 3.432e-05/0.01098, allocations: 28.12 kB / 358.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of Cleanup: time 2.482e-05/0.01101, allocations: 23.91 kB / 358.8 MB, free: 12.03 MB / 302.1 MB Notification: Performance of Causalize: time 0.0009507/0.01197, allocations: 0.8089 MB / 359.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of Tearing: time 6.402e-06/0.01198, allocations: 0 / 359.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of Initialization: time 3.2e-07/0.01199, allocations: 0 / 359.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of Tearing: time 5.36e-06/0.012, allocations: 8 kB / 359.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of Categorize: time 1.076e-05/0.01202, allocations: 3.938 kB / 359.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of Solve: time 0.0001121/0.01213, allocations: 68.09 kB / 359.7 MB, free: 11.13 MB / 302.1 MB Notification: Performance of Jacobian: time 2.685e-06/0.01214, allocations: 0 / 359.7 MB, free: 11.13 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: ......... 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) {sample1.u, sample1.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: ........... 15 (scalar:15, 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: ........... 25 (scalar:23, 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.0001153/0.01226, allocations: 37.45 kB / 359.7 MB, free: 11.1 MB / 302.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable periodicClock.y.