Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController.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.001897/0.001897, 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.002368/0.002368, allocations: 190.7 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.662/1.662, allocations: 225.7 MB / 253.4 MB, free: 12.8 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.ClockedWithDiscreteTextbookController,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.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.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.398e-05, allocations: 2.281 kB / 371.7 MB, free: 9.191 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController): time 0.003865/0.003889, allocations: 1.965 MB / 373.7 MB, free: 7.215 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.004964, allocations: 486.7 kB / 374.1 MB, free: 6.734 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.005068, allocations: 7.938 kB / 374.1 MB, free: 6.727 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.005189, allocations: 15.8 kB / 374.2 MB, free: 6.711 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.657e-05/0.005266, allocations: 27.78 kB / 374.2 MB, free: 6.684 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.005609, allocations: 59.81 kB / 374.2 MB, free: 6.625 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.00581, allocations: 131.6 kB / 374.4 MB, free: 6.496 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.00598, allocations: 45.41 kB / 374.4 MB, free: 6.445 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.849e-05/0.006078, allocations: 59.72 kB / 374.5 MB, free: 6.387 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.882e-05/0.006167, allocations: 51.75 kB / 374.5 MB, free: 6.336 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.006197, allocations: 12 kB / 374.5 MB, free: 6.324 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.258e-05/0.006219, allocations: 8 kB / 374.5 MB, free: 6.316 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002283/0.006448, allocations: 229.5 kB / 374.8 MB, free: 6.09 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001098/0.006557, allocations: 150 kB / 374.9 MB, free: 5.941 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.894e-05/0.006586, allocations: 8 kB / 374.9 MB, free: 5.934 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.67e-05/0.006623, allocations: 11.88 kB / 374.9 MB, free: 5.922 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.0008931/0.007516, allocations: 0.6551 MB / 375.6 MB, free: 5.145 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001435/0.00766, allocations: 79.84 kB / 375.7 MB, free: 5.055 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0003475/0.008007, allocations: 308.1 kB / 376 MB, free: 4.727 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001775/0.008185, allocations: 106 kB / 376.1 MB, free: 4.578 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001199/0.009384, allocations: 0.7214 MB / 376.8 MB, free: 3.719 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001059/0.009489, allocations: 84.66 kB / 376.9 MB, free: 3.59 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 6.076e-05/0.00955, allocations: 56.33 kB / 376.9 MB, free: 3.508 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002592/0.009809, allocations: 141.3 kB / 377.1 MB, free: 3.32 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001074/0.009917, allocations: 45.06 kB / 377.1 MB, free: 3.273 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002206/0.01014, allocations: 122.3 kB / 377.2 MB, free: 3.129 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0002767/0.01041, allocations: 188.2 kB / 377.4 MB, free: 2.922 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001383/0.01055, allocations: 147.8 kB / 377.6 MB, free: 2.777 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0002474/0.0108, allocations: 155.1 kB / 377.7 MB, free: 2.559 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0001935/0.01099, allocations: 199.9 kB / 377.9 MB, free: 2.359 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 2.177e-05/0.01101, allocations: 12.06 kB / 377.9 MB, free: 2.34 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 3.463e-05/0.01105, allocations: 39.91 kB / 378 MB, free: 2.301 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0003983/0.01145, allocations: 246.3 kB / 378.2 MB, free: 2.051 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.331e-05/0.01146, allocations: 8 kB / 378.2 MB, free: 2.043 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 4.61e-07/0.01146, allocations: 0 / 378.2 MB, free: 2.043 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 9.057e-05/0.01155, allocations: 64.77 kB / 378.3 MB, free: 1.965 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.544e-06/0.01156, allocations: 7.938 kB / 378.3 MB, free: 1.957 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 7.014e-06/0.01157, allocations: 8 kB / 378.3 MB, free: 1.949 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 7.113e-06/0.01157, allocations: 0 / 378.3 MB, free: 1.949 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0002856/0.01186, allocations: 177.6 kB / 378.5 MB, free: 1.777 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0002836/0.01214, allocations: 364.1 kB / 378.8 MB, free: 1.355 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.772e-05/0.01219, allocations: 19.64 kB / 378.8 MB, free: 1.34 MB / 302.1 MB Notification: Performance of SimCode: time 0.0007832/0.01297, allocations: 485.9 kB / 379.3 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of Templates: time 0.2427/0.2557, allocations: 0.8641 MB / 380.2 MB, free: 17.18 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.905642794037703] Failed to read output from testmodel.py, exit status != 0: ['time', 'load.phi', 'load.w', 'PI.x', 'PI.y'] 0.2648809629608877 0.28023458700000003 0.270725726 Calling exit ...