Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.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.001516/0.001516, allocations: 104 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.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.00147/0.00147, allocations: 192.2 kB / 24.53 MB, free: 3.852 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.679/1.679, 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.SimpleControlledDrive.ClockedWithDiscreteController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.82e-05/2.82e-05, allocations: 6.219 kB / 371.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController): time 0.004796/0.004825, allocations: 1.954 MB / 373.7 MB, free: 7.199 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.006131, allocations: 0.5026 MB / 374.2 MB, free: 6.691 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001993/0.006331, allocations: 7.938 kB / 374.2 MB, free: 6.684 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001737/0.006504, allocations: 15.8 kB / 374.2 MB, free: 6.668 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.006738, allocations: 31.72 kB / 374.2 MB, free: 6.637 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004044/0.007142, allocations: 59.38 kB / 374.3 MB, free: 6.582 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003151/0.007457, allocations: 139.5 kB / 374.4 MB, free: 6.445 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002227/0.00768, allocations: 52.86 kB / 374.5 MB, free: 6.391 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.00782, allocations: 51.84 kB / 374.5 MB, free: 6.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.007946, allocations: 51.7 kB / 374.6 MB, free: 6.289 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.967e-05/0.007986, allocations: 12 kB / 374.6 MB, free: 6.277 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.914e-05/0.008015, allocations: 8 kB / 374.6 MB, free: 6.27 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002824/0.008297, allocations: 245.3 kB / 374.8 MB, free: 6.027 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.00013/0.008427, allocations: 158 kB / 375 MB, free: 5.871 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.439e-05/0.008472, allocations: 8 kB / 375 MB, free: 5.863 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.367e-05/0.008535, allocations: 11.94 kB / 375 MB, free: 5.852 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.001019/0.009555, allocations: 0.6629 MB / 375.7 MB, free: 5.066 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001732/0.009728, allocations: 83.78 kB / 375.7 MB, free: 4.973 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0003764/0.0101, allocations: 316.1 kB / 376 MB, free: 4.637 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002101/0.01031, allocations: 101.9 kB / 376.1 MB, free: 4.492 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001448/0.01176, allocations: 0.7483 MB / 376.9 MB, free: 3.609 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001439/0.01191, allocations: 93.44 kB / 377 MB, free: 3.473 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 6.56e-05/0.01197, allocations: 48.42 kB / 377 MB, free: 3.398 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.000311/0.01228, allocations: 138.5 kB / 377.2 MB, free: 3.211 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001142/0.0124, allocations: 43.7 kB / 377.2 MB, free: 3.168 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002515/0.01265, allocations: 118.3 kB / 377.3 MB, free: 3.027 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0003527/0.013, allocations: 216.1 kB / 377.5 MB, free: 2.793 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001657/0.01317, allocations: 164 kB / 377.7 MB, free: 2.633 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.000313/0.01348, allocations: 150.2 kB / 377.8 MB, free: 2.418 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0002348/0.01371, allocations: 211.9 kB / 378.1 MB, free: 2.207 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 2.147e-05/0.01374, allocations: 16.06 kB / 378.1 MB, free: 2.184 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 4.759e-05/0.01378, allocations: 35.97 kB / 378.1 MB, free: 2.148 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.000464/0.01425, allocations: 266.1 kB / 378.4 MB, free: 1.879 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.971e-05/0.01427, allocations: 8 kB / 378.4 MB, free: 1.871 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 5.11e-07/0.01427, allocations: 0 / 378.4 MB, free: 1.871 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0001074/0.01438, allocations: 52.22 kB / 378.4 MB, free: 1.805 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.938e-06/0.01439, allocations: 4 kB / 378.4 MB, free: 1.801 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 8.536e-06/0.01439, allocations: 8 kB / 378.4 MB, free: 1.793 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.365e-05/0.01441, allocations: 7.938 kB / 378.4 MB, free: 1.785 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0003324/0.01474, allocations: 184.6 kB / 378.6 MB, free: 1.605 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0003219/0.01506, allocations: 360.1 kB / 379 MB, free: 1.188 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 6.474e-05/0.01513, allocations: 19.52 kB / 379 MB, free: 1.172 MB / 302.1 MB Notification: Performance of SimCode: time 0.0009088/0.01604, allocations: 489.4 kB / 379.5 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of Templates: time 0.2721/0.2881, allocations: 0.8634 MB / 380.3 MB, free: 17.09 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteController.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.008884658978786] Failed to read output from testmodel.py, exit status != 0: ['time', 'load.phi', 'load.w', 'PI.x', 'PI.y'] 0.2977964319870807 0.312419922 0.30069379300000004 Calling exit ...