Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.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.001409/0.001409, allocations: 103.6 kB / 21.25 MB, free: 0.5664 MB / 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.001557/0.001557, allocations: 211 kB / 24.55 MB, free: 3.824 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.646/1.646, allocations: 230.7 MB / 258.3 MB, free: 7.723 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.ClockedWithDiscreteController,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.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_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.3e-05/3.3e-05, allocations: 2.281 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController): time 0.005284/0.005317, allocations: 1.981 MB / 381 MB, free: 464 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2729/0.2782, allocations: 0.537 MB / 381.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001996/0.2784, allocations: 5.594 kB / 381.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.2785, allocations: 17.06 kB / 381.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001533/0.2787, allocations: 28.78 kB / 381.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.279, allocations: 56.62 kB / 381.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00031/0.2793, allocations: 143.2 kB / 381.8 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.2794, allocations: 49.64 kB / 381.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.474e-05/0.2795, allocations: 56.36 kB / 381.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.547e-05/0.2796, allocations: 46.08 kB / 381.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.2797, allocations: 14.41 kB / 382 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.685e-05/0.2797, allocations: 11.25 kB / 382 MB, free: 13.04 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002054/0.2799, allocations: 236.7 kB / 382.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 9.15e-05/0.28, allocations: 162.2 kB / 382.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.11e-05/0.28, allocations: 9.406 kB / 382.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.679e-05/0.2801, allocations: 6.594 kB / 382.4 MB, free: 12.82 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.001041/0.2811, allocations: 0.6607 MB / 383 MB, free: 12.38 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001378/0.2812, allocations: 91.91 kB / 383.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0003441/0.2816, allocations: 307.5 kB / 383.4 MB, free: 12.29 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001533/0.2817, allocations: 111 kB / 383.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.00113/0.2829, allocations: 0.7353 MB / 384.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 7.595e-05/0.2829, allocations: 83.94 kB / 384.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 3.935e-05/0.283, allocations: 56.92 kB / 384.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002029/0.2832, allocations: 152.6 kB / 384.5 MB, free: 11.58 MB / 302.1 MB Notification: Performance of [SIM] Events: time 8.133e-05/0.2833, allocations: 35.55 kB / 384.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001993/0.2835, allocations: 121.4 kB / 384.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0003066/0.2838, allocations: 218.2 kB / 384.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001398/0.2839, allocations: 161.3 kB / 385.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0001938/0.2841, allocations: 159.8 kB / 385.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.000188/0.2843, allocations: 204 kB / 385.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.52e-05/0.2843, allocations: 11.38 kB / 385.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 3.919e-05/0.2844, allocations: 35.03 kB / 385.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0004626/0.2848, allocations: 265.3 kB / 385.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.362e-05/0.2848, allocations: 6.25 kB / 385.7 MB, free: 11.2 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.172e-06/0.2848, allocations: 1.531 kB / 385.7 MB, free: 11.2 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 7.358e-05/0.2849, allocations: 57.94 kB / 385.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.082e-06/0.2849, allocations: 5.406 kB / 385.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 6.201e-06/0.2849, allocations: 12.03 kB / 385.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 9.748e-06/0.2849, allocations: 5.25 kB / 385.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0002726/0.2852, allocations: 177.1 kB / 386 MB, free: 11.09 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001568/0.2854, allocations: 364.8 kB / 386.3 MB, free: 10.7 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 4.387e-05/0.2854, allocations: 22.47 kB / 386.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of SimCode: time 0.000635/0.286, allocations: 0.5005 MB / 386.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of Templates: time 0.003571/0.2896, allocations: 0.8646 MB / 387.7 MB, free: 10.25 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.8873304699664] Failed to read output from testmodel.py, exit status != 0: ['time', 'load.phi', 'load.w', 'PI.x', 'PI.y'] 0.29785067500779405 0.31064617599999994 0.027686158000000002 Calling exit ...