Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController.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.001935/0.001935, 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.002382/0.002382, 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.569/1.569, allocations: 230.6 MB / 258.3 MB, free: 7.73 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.ClockedWithDiscreteTextbookController,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.ClockedWithDiscreteTextbookController") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController,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.ClockedWithDiscreteTextbookController") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.599e-05/2.599e-05, allocations: 2.281 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController): time 0.004433/0.004459, allocations: 1.978 MB / 381 MB, free: 480 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3187/0.3232, allocations: 0.5124 MB / 381.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002032/0.3234, allocations: 7.469 kB / 381.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.3235, allocations: 13.16 kB / 381.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.911e-05/0.3236, allocations: 26.06 kB / 381.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.324, allocations: 57.7 kB / 381.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.3242, allocations: 132.5 kB / 381.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.3244, allocations: 49.7 kB / 381.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.3245, allocations: 56.02 kB / 381.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.473e-05/0.3246, allocations: 54.33 kB / 381.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.586e-05/0.3246, allocations: 12.66 kB / 381.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.93e-05/0.3247, allocations: 10.78 kB / 381.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002129/0.3249, allocations: 231.6 kB / 382.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 8.954e-05/0.325, allocations: 152.1 kB / 382.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.584e-05/0.325, allocations: 10.47 kB / 382.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.414e-05/0.325, allocations: 9.938 kB / 382.3 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: 27 (27) * Number of variables: 27 (27) Notification: Performance of [SIM] Bindings: time 0.0008043/0.3258, allocations: 0.6457 MB / 383 MB, free: 12.38 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001341/0.326, allocations: 88.59 kB / 383.1 MB, free: 12.35 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0003012/0.3263, allocations: 299.7 kB / 383.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001433/0.3264, allocations: 102.6 kB / 383.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001188/0.3276, allocations: 0.729 MB / 384.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 7.938e-05/0.3277, allocations: 86.34 kB / 384.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 4.845e-05/0.3277, allocations: 57.33 kB / 384.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002241/0.328, allocations: 139.3 kB / 384.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of [SIM] Events: time 8.872e-05/0.3281, allocations: 33.67 kB / 384.5 MB, free: 11.58 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002141/0.3283, allocations: 124.5 kB / 384.6 MB, free: 11.52 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0003014/0.3286, allocations: 192.9 kB / 384.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000144/0.3287, allocations: 146.2 kB / 384.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0002164/0.3289, allocations: 157.4 kB / 385.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0002003/0.3291, allocations: 199.7 kB / 385.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.678e-05/0.3291, allocations: 15.94 kB / 385.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 3.643e-05/0.3292, allocations: 32.14 kB / 385.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0004798/0.3297, allocations: 258.2 kB / 385.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.699e-05/0.3297, allocations: 13.78 kB / 385.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 2.034e-06/0.3297, allocations: 1.609 kB / 385.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 8.971e-05/0.3298, allocations: 47.47 kB / 385.6 MB, free: 11.19 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.143e-06/0.3298, allocations: 4.438 kB / 385.7 MB, free: 11.19 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 8.667e-06/0.3298, allocations: 15.5 kB / 385.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 8.426e-06/0.3298, allocations: 5.766 kB / 385.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.000298/0.3301, allocations: 170 kB / 385.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0002041/0.3303, allocations: 357.2 kB / 386.2 MB, free: 10.76 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.02e-05/0.3303, allocations: 28.11 kB / 386.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of SimCode: time 0.0008382/0.3312, allocations: 493.2 kB / 386.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of Templates: time 0.004444/0.3356, allocations: 0.8574 MB / 387.6 MB, free: 10.33 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.91791216400452] Failed to read output from testmodel.py, exit status != 0: ['time', 'load.phi', 'load.w', 'PI.x', 'PI.y'] 0.34403639199445024 0.35741059999999997 0.029552307000000003 Calling exit ...