Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001442/0.001442, allocations: 107.6 kB / 21.25 MB, free: 416 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001626/0.001626, allocations: 214.5 kB / 24.55 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.549/1.549, allocations: 230.5 MB / 258.2 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/2.74e-05, allocations: 2.281 kB / 379 MB, free: 2.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.003773/0.0038, allocations: 1.872 MB / 380.9 MB, free: 456 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3029/0.3067, allocations: 1.22 MB / 382.1 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000207/0.3069, allocations: 9.672 kB / 382.1 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004263/0.3073, allocations: 69.89 kB / 382.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004455/0.3077, allocations: 136.5 kB / 382.3 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007695/0.3085, allocations: 224.5 kB / 382.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000341/0.3089, allocations: 226.8 kB / 382.8 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.309, allocations: 28.02 kB / 382.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.3092, allocations: 109.4 kB / 382.9 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.3094, allocations: 74.33 kB / 383 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.2e-05/0.3094, allocations: 9.469 kB / 383 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001784/0.3096, allocations: 74.48 kB / 383.1 MB, free: 12.89 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002298/0.3098, allocations: 277.8 kB / 383.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001232/0.3099, allocations: 183.4 kB / 383.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.185e-05/0.31, allocations: 11.72 kB / 383.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.862e-05/0.31, allocations: 5.562 kB / 383.5 MB, free: 12.64 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: 11 (11) * Number of variables: 11 (11) Notification: Performance of [SIM] Bindings: time 0.0009605/0.311, allocations: 0.7036 MB / 384.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001545/0.3111, allocations: 76.77 kB / 384.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0002366/0.3114, allocations: 217.5 kB / 384.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001251/0.3115, allocations: 98.67 kB / 384.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.000752/0.3122, allocations: 428.1 kB / 385 MB, free: 11.78 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 9.926e-05/0.3123, allocations: 88.33 kB / 385.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 5.737e-05/0.3124, allocations: 60.45 kB / 385.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002203/0.3126, allocations: 125.2 kB / 385.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of [SIM] Events: time 9.864e-05/0.3127, allocations: 45.86 kB / 385.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002715/0.313, allocations: 154.6 kB / 385.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.000468/0.3135, allocations: 242.6 kB / 385.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001924/0.3136, allocations: 162.8 kB / 385.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.002058/0.3157, allocations: 347.4 kB / 386.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0002997/0.316, allocations: 277.3 kB / 386.5 MB, free: 10.92 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 2.332e-05/0.316, allocations: 17.55 kB / 386.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 6.239e-05/0.3161, allocations: 53.22 kB / 386.6 MB, free: 10.87 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001265/0.3174, allocations: 0.7576 MB / 387.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.97e-05/0.3174, allocations: 12.06 kB / 387.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 7.21e-07/0.3174, allocations: 0 / 387.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 8.582e-05/0.3175, allocations: 54.52 kB / 387.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.582e-06/0.3175, allocations: 1.625 kB / 387.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 8.015e-06/0.3175, allocations: 11.12 kB / 387.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.185e-05/0.3175, allocations: 1.688 kB / 387.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0003037/0.3178, allocations: 179.8 kB / 387.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001413/0.3179, allocations: 183 kB / 387.8 MB, free: 10.38 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: .................... 2 (2) {table.combiTimeTable.nextTimeEvent, table.combiTimeTable.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 7 (7) {sample1.u, sample1.y, shiftSample1.y, $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of clocks: ............................. 1 (1) {periodicClock.c} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 10 (scalar:10, 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 (resizable: 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: ........... 21 (scalar:20, array:1, record:0) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.15e-05/0.318, allocations: 28.44 kB / 387.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of SimCode: time 0.003139/0.3211, allocations: 1.105 MB / 388.9 MB, free: 9.852 MB / 302.1 MB Notification: Performance of Templates: time 0.007151/0.3283, allocations: 1.93 MB / 390.8 MB, free: 9.594 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.83828279201407] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y'] 0.3362588709569536 0.352326797 0.039024791 Calling exit ...