Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 212.2 kB / 24.55 MB, free: 3.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.579/1.579, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.583e-05/3.583e-05, allocations: 5.234 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController): time 0.00484/0.004876, allocations: 1.998 MB / 381 MB, free: 476 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.259/0.2639, allocations: 0.5655 MB / 381.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002267/0.2641, allocations: 8.812 kB / 381.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001624/0.2642, allocations: 17.19 kB / 381.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002164/0.2645, allocations: 36.2 kB / 381.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.2648, allocations: 67.98 kB / 381.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002845/0.2651, allocations: 153.1 kB / 381.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.2653, allocations: 50.12 kB / 381.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.2654, allocations: 56.45 kB / 382 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.2655, allocations: 55.11 kB / 382 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/0.2655, allocations: 11.44 kB / 382 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.955e-05/0.2656, allocations: 11.06 kB / 382.1 MB, free: 13.01 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002378/0.2658, allocations: 258.9 kB / 382.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001225/0.2659, allocations: 166.3 kB / 382.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.245e-05/0.266, allocations: 10.72 kB / 382.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.695e-05/0.266, allocations: 12.28 kB / 382.5 MB, free: 12.77 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.0007842/0.2668, allocations: 0.6937 MB / 383.2 MB, free: 12.31 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001165/0.2669, allocations: 80.83 kB / 383.3 MB, free: 12.28 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.000288/0.2672, allocations: 320.7 kB / 383.6 MB, free: 12.22 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001334/0.2673, allocations: 103.6 kB / 383.7 MB, free: 12.12 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001187/0.2685, allocations: 0.7652 MB / 384.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 9.27e-05/0.2686, allocations: 87.5 kB / 384.5 MB, free: 11.69 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 4.611e-05/0.2686, allocations: 57.33 kB / 384.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002263/0.2689, allocations: 145.4 kB / 384.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of [SIM] Events: time 8.681e-05/0.269, allocations: 34.88 kB / 384.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002272/0.2692, allocations: 124.6 kB / 384.9 MB, free: 11.44 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0003185/0.2695, allocations: 211 kB / 385.1 MB, free: 11.38 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001645/0.2697, allocations: 158.7 kB / 385.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0002624/0.2699, allocations: 161.4 kB / 385.4 MB, free: 11.22 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0002311/0.2702, allocations: 209.9 kB / 385.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.938e-05/0.2702, allocations: 20.58 kB / 385.6 MB, free: 11.19 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 4.39e-05/0.2702, allocations: 34.09 kB / 385.7 MB, free: 11.19 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0004421/0.2707, allocations: 256.1 kB / 385.9 MB, free: 11.13 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.745e-05/0.2707, allocations: 10.12 kB / 385.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.352e-06/0.2707, allocations: 1.156 kB / 385.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 7.618e-05/0.2708, allocations: 56.44 kB / 386 MB, free: 11.08 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.089e-06/0.2708, allocations: 1.094 kB / 386 MB, free: 11.08 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 7.724e-06/0.2708, allocations: 16.44 kB / 386 MB, free: 11.07 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 8.877e-06/0.2708, allocations: 5.031 kB / 386 MB, free: 11.07 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0002527/0.271, allocations: 177.1 kB / 386.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001659/0.2712, allocations: 359.7 kB / 386.5 MB, free: 10.63 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.c} * 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 4.21e-05/0.2712, allocations: 29.2 kB / 386.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of SimCode: time 0.0007144/0.272, allocations: 0.5446 MB / 387.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of Templates: time 0.0037/0.2757, allocations: 0.8707 MB / 388 MB, free: 10.18 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.7773078010068275] Failed to read output from testmodel.py, exit status != 0: ['time', 'load.phi', 'load.w', 'PI.x', 'PI.y'] 0.2839681030018255 0.29529510899999994 0.026486178000000003 Calling exit ...