Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.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.001777/0.001777, 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.002221/0.002221, allocations: 191.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.543/1.543, 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.ExactlyClockedWithDiscreteController,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.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.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.921e-05/3.921e-05, allocations: 2.281 kB / 371.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController): time 0.003776/0.003815, allocations: 1.985 MB / 373.7 MB, free: 7.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.004924, allocations: 0.5415 MB / 374.2 MB, free: 6.633 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.005031, allocations: 7.938 kB / 374.2 MB, free: 6.625 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.005157, allocations: 15.8 kB / 374.3 MB, free: 6.609 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.005346, allocations: 31.72 kB / 374.3 MB, free: 6.578 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003048/0.005651, allocations: 67.8 kB / 374.4 MB, free: 6.512 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.005914, allocations: 155.5 kB / 374.5 MB, free: 6.359 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.006094, allocations: 45.91 kB / 374.5 MB, free: 6.309 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.006202, allocations: 63.72 kB / 374.6 MB, free: 6.246 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.33e-05/0.006296, allocations: 51.69 kB / 374.7 MB, free: 6.195 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.666e-05/0.006332, allocations: 12 kB / 374.7 MB, free: 6.184 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.858e-05/0.006361, allocations: 12 kB / 374.7 MB, free: 6.172 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002359/0.006597, allocations: 245.3 kB / 374.9 MB, free: 5.93 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001172/0.006714, allocations: 169.7 kB / 375.1 MB, free: 5.762 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.894e-05/0.006743, allocations: 12 kB / 375.1 MB, free: 5.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.954e-05/0.006782, allocations: 15.92 kB / 375.1 MB, free: 5.734 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.0009463/0.007729, allocations: 0.6861 MB / 375.8 MB, free: 4.926 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001335/0.007862, allocations: 87.83 kB / 375.9 MB, free: 4.828 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0003508/0.008213, allocations: 316.1 kB / 376.2 MB, free: 4.492 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001798/0.008393, allocations: 114 kB / 376.3 MB, free: 4.336 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001295/0.009688, allocations: 0.7651 MB / 377.1 MB, free: 3.434 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001169/0.009805, allocations: 94.28 kB / 377.2 MB, free: 3.297 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 8.166e-05/0.009886, allocations: 48.42 kB / 377.2 MB, free: 3.223 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002605/0.01015, allocations: 140.2 kB / 377.3 MB, free: 3.039 MB / 302.1 MB Notification: Performance of [SIM] Events: time 9.263e-05/0.01024, allocations: 35.78 kB / 377.4 MB, free: 3.004 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002306/0.01047, allocations: 130.1 kB / 377.5 MB, free: 2.855 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0003242/0.01079, allocations: 220.2 kB / 377.7 MB, free: 2.617 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001526/0.01095, allocations: 159.8 kB / 377.9 MB, free: 2.461 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0002568/0.0112, allocations: 150.1 kB / 378 MB, free: 2.246 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0002079/0.01141, allocations: 211.9 kB / 378.2 MB, free: 2.035 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 2.25e-05/0.01143, allocations: 20.06 kB / 378.3 MB, free: 2.008 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 3.618e-05/0.01147, allocations: 39.97 kB / 378.3 MB, free: 1.969 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0004093/0.01188, allocations: 261.2 kB / 378.5 MB, free: 1.707 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.841e-05/0.0119, allocations: 8 kB / 378.6 MB, free: 1.699 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.81e-07/0.0119, allocations: 0 / 378.6 MB, free: 1.699 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 8.852e-05/0.01199, allocations: 44.23 kB / 378.6 MB, free: 1.641 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.659e-06/0.01199, allocations: 0 / 378.6 MB, free: 1.641 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.212e-05/0.012, allocations: 16 kB / 378.6 MB, free: 1.625 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 9.878e-06/0.01201, allocations: 11.94 kB / 378.6 MB, free: 1.613 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0002733/0.01229, allocations: 184.8 kB / 378.8 MB, free: 1.434 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0003047/0.01259, allocations: 356 kB / 379.2 MB, free: 1.02 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 5.467e-05/0.01265, allocations: 26.09 kB / 379.2 MB, free: 1 MB / 302.1 MB Notification: Performance of SimCode: time 0.000849/0.0135, allocations: 0.5305 MB / 379.7 MB, free: 412 kB / 302.1 MB Notification: Performance of Templates: time 0.2339/0.2474, allocations: 0.8709 MB / 380.6 MB, free: 16.97 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.731384473969229] Failed to read output from testmodel.py, exit status != 0: ['time', 'load.phi', 'load.w', 'PI.x', 'PI.y'] 0.25676267000380903 0.270658189 0.261216253 Calling exit ...