Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 96.03 kB / 21.25 MB, free: 428 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 186.9 kB / 24.53 MB, free: 3.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 225.7 MB / 253.4 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.543e-05, allocations: 2.281 kB / 371.7 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.004491/0.004517, allocations: 1.84 MB / 373.6 MB, free: 7.301 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002373/0.00689, allocations: 1.064 MB / 374.6 MB, free: 6.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001864/0.007077, allocations: 11.94 kB / 374.6 MB, free: 6.219 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000374/0.007451, allocations: 55.73 kB / 374.7 MB, free: 6.164 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003753/0.007826, allocations: 91.59 kB / 374.8 MB, free: 6.074 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009303/0.008756, allocations: 265.7 kB / 375 MB, free: 5.816 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004004/0.009157, allocations: 223.5 kB / 375.3 MB, free: 5.598 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.00932, allocations: 25.72 kB / 375.3 MB, free: 5.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002188/0.009539, allocations: 111.6 kB / 375.4 MB, free: 5.461 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.009707, allocations: 71.69 kB / 375.5 MB, free: 5.391 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.925e-05/0.009747, allocations: 11.98 kB / 375.5 MB, free: 5.379 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000199/0.009946, allocations: 67.95 kB / 375.5 MB, free: 5.312 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.00028/0.01023, allocations: 265.1 kB / 375.8 MB, free: 5.051 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001589/0.01038, allocations: 177.6 kB / 376 MB, free: 4.875 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.713e-05/0.01043, allocations: 8 kB / 376 MB, free: 4.867 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.146e-05/0.01048, allocations: 4 kB / 376 MB, free: 4.863 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.001361/0.01184, allocations: 0.6764 MB / 376.7 MB, free: 4.066 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002037/0.01205, allocations: 87.09 kB / 376.7 MB, free: 3.969 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0002904/0.01234, allocations: 228.1 kB / 377 MB, free: 3.719 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000168/0.01251, allocations: 89.97 kB / 377.1 MB, free: 3.586 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0008506/0.01336, allocations: 421.8 kB / 377.5 MB, free: 3.094 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001315/0.01349, allocations: 86.02 kB / 377.6 MB, free: 2.961 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 7.689e-05/0.01357, allocations: 57.16 kB / 377.6 MB, free: 2.879 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002584/0.01382, allocations: 137.3 kB / 377.7 MB, free: 2.691 MB / 302.1 MB Notification: Performance of [SIM] Events: time 9.989e-05/0.01392, allocations: 31.86 kB / 377.8 MB, free: 2.66 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002809/0.0142, allocations: 140.5 kB / 377.9 MB, free: 2.488 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0004222/0.01463, allocations: 236.3 kB / 378.1 MB, free: 2.227 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002082/0.01484, allocations: 176.3 kB / 378.3 MB, free: 2.055 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.002242/0.01708, allocations: 349.5 kB / 378.7 MB, free: 1.688 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0002969/0.01737, allocations: 263.8 kB / 378.9 MB, free: 1.426 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 3.775e-05/0.01741, allocations: 12.12 kB / 378.9 MB, free: 1.406 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 7.572e-05/0.01749, allocations: 55.89 kB / 379 MB, free: 1.352 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.00135/0.01884, allocations: 0.7878 MB / 379.8 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.097e-05/0.01886, allocations: 12 kB / 379.8 MB, free: 0.543 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 8.61e-07/0.01886, allocations: 0 / 379.8 MB, free: 0.543 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0001111/0.01897, allocations: 44.23 kB / 379.8 MB, free: 496 kB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.919e-06/0.01898, allocations: 3.938 kB / 379.8 MB, free: 492 kB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.091e-05/0.01899, allocations: 12 kB / 379.8 MB, free: 480 kB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.58e-05/0.01901, allocations: 8 kB / 379.8 MB, free: 472 kB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0002881/0.0193, allocations: 156.6 kB / 380 MB, free: 316 kB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0002195/0.01952, allocations: 186 kB / 380.2 MB, free: 96 kB / 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, subSample1.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 7.116e-05/0.01959, allocations: 36.39 kB / 380.2 MB, free: 64 kB / 302.1 MB Notification: Performance of SimCode: time 0.2593/0.2789, allocations: 1.089 MB / 381.3 MB, free: 16.14 MB / 302.1 MB Notification: Performance of Templates: time 0.006935/0.2858, allocations: 1.899 MB / 383.2 MB, free: 15.99 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.950451880984474] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'subSample1.y'] 0.29481209098594263 0.30861724099999993 0.29519673499999993 Calling exit ...