Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.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.001695/0.001695, allocations: 107.6 kB / 21.25 MB, free: 0.5625 MB / 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.001545/0.001545, allocations: 219.1 kB / 24.55 MB, free: 3.82 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.558/1.558, allocations: 230.5 MB / 258.2 MB, free: 7.742 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.SimpleControlledDrive.ClockedWithDiscreteController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.175e-05/3.175e-05, allocations: 5.234 kB / 379 MB, free: 2.375 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController): time 0.003972/0.004004, allocations: 1.99 MB / 381 MB, free: 380 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2817/0.2857, allocations: 0.5279 MB / 381.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002227/0.2859, allocations: 5.906 kB / 381.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.2861, allocations: 16.59 kB / 381.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001804/0.2862, allocations: 31.73 kB / 381.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.2865, allocations: 61.64 kB / 381.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002367/0.2868, allocations: 141.3 kB / 381.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.2869, allocations: 50.16 kB / 381.8 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.2871, allocations: 55.09 kB / 381.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.937e-05/0.2872, allocations: 49.05 kB / 381.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.2872, allocations: 10.78 kB / 381.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.749e-05/0.2872, allocations: 11.81 kB / 382 MB, free: 13.02 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.000213/0.2874, allocations: 241 kB / 382.2 MB, free: 12.9 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 9.737e-05/0.2875, allocations: 156 kB / 382.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.354e-05/0.2876, allocations: 9.312 kB / 382.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.241e-05/0.2876, allocations: 9.641 kB / 382.4 MB, free: 12.8 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: 28 (28) * Number of variables: 28 (28) Notification: Performance of [SIM] Bindings: time 0.0008254/0.2884, allocations: 0.6697 MB / 383 MB, free: 12.35 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001354/0.2886, allocations: 89.89 kB / 383.1 MB, free: 12.31 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0003761/0.2889, allocations: 309.4 kB / 383.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001668/0.2891, allocations: 103.2 kB / 383.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001297/0.2904, allocations: 0.7324 MB / 384.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 9.689e-05/0.2905, allocations: 93.36 kB / 384.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 5.013e-05/0.2905, allocations: 56.88 kB / 384.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002507/0.2908, allocations: 140.2 kB / 384.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.000101/0.2909, allocations: 39.36 kB / 384.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002639/0.2912, allocations: 126.8 kB / 384.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0003597/0.2915, allocations: 209.4 kB / 384.9 MB, free: 11.42 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001843/0.2917, allocations: 162.5 kB / 385.1 MB, free: 11.42 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0002586/0.292, allocations: 151.1 kB / 385.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0002511/0.2922, allocations: 206.4 kB / 385.4 MB, free: 11.26 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.84e-05/0.2922, allocations: 16.09 kB / 385.4 MB, free: 11.24 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 5.013e-05/0.2923, allocations: 44.03 kB / 385.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0005291/0.2928, allocations: 268.8 kB / 385.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.658e-05/0.2928, allocations: 6.219 kB / 385.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.6e-07/0.2928, allocations: 0 / 385.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 9.298e-05/0.2929, allocations: 55.27 kB / 385.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.38e-06/0.2929, allocations: 1.406 kB / 385.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.02e-05/0.2929, allocations: 19.94 kB / 385.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 8.296e-06/0.2929, allocations: 0.875 kB / 385.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.000323/0.2933, allocations: 178.7 kB / 386 MB, free: 11.02 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0002124/0.2935, allocations: 359.2 kB / 386.3 MB, free: 10.64 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 1 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * 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: ............................. 2 (2) {load.w, load.phi} * Number of discrete states: .................... 1 (1) {PI.y} * Number of clocked states: ..................... 1 (1) {PI.x} * Number of discrete variables: ................. 2 (2) {$TEV_1, $TEV_0} * Number of clocks: ............................. 1 (1) {periodicClock.y} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 8 (scalar:8, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 12 (scalar:12, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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.489e-05/0.2935, allocations: 26.52 kB / 386.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of SimCode: time 0.0008989/0.2944, allocations: 0.4904 MB / 386.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of Templates: time 0.004243/0.2987, allocations: 0.8731 MB / 387.7 MB, free: 10.18 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.sim & ./Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.847306798037607] Failed to read output from testmodel.py, exit status != 0: ['time', 'load.phi', 'load.w', 'PI.x', 'PI.y'] 0.30711311398772523 0.322440593 0.031888949 Calling exit ...