Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001497/0.001497, allocations: 107.6 kB / 21.25 MB, free: 0.5625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001597/0.001597, allocations: 219.1 kB / 24.55 MB, free: 3.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.602/1.602, allocations: 230.5 MB / 258.2 MB, free: 7.727 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.169e-05/3.169e-05, allocations: 4.953 kB / 379 MB, free: 2.414 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController): time 0.004368/0.0044, allocations: 2.002 MB / 381 MB, free: 408 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2636/0.268, allocations: 0.5719 MB / 381.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002093/0.2682, allocations: 5.781 kB / 381.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.2683, allocations: 19.11 kB / 381.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002021/0.2685, allocations: 38.52 kB / 381.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.2689, allocations: 65.3 kB / 381.7 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.2691, allocations: 156.9 kB / 381.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.2693, allocations: 48.89 kB / 381.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.2694, allocations: 55.55 kB / 382 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.648e-05/0.2695, allocations: 61.78 kB / 382 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.2695, allocations: 12.22 kB / 382 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.745e-05/0.2695, allocations: 9.094 kB / 382 MB, free: 12.43 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002229/0.2698, allocations: 253.4 kB / 382.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001035/0.2699, allocations: 167.7 kB / 382.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.532e-05/0.2699, allocations: 10.12 kB / 382.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.956e-05/0.27, allocations: 10.28 kB / 382.5 MB, free: 12.19 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.0008035/0.2708, allocations: 0.6914 MB / 383.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001348/0.2709, allocations: 77.72 kB / 383.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.000334/0.2712, allocations: 322.5 kB / 383.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001512/0.2714, allocations: 107.8 kB / 383.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001169/0.2726, allocations: 0.7665 MB / 384.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 8.977e-05/0.2726, allocations: 91.7 kB / 384.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 4.456e-05/0.2727, allocations: 53.12 kB / 384.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002367/0.2729, allocations: 142.3 kB / 384.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of [SIM] Events: time 8.884e-05/0.273, allocations: 33.53 kB / 384.7 MB, free: 10.92 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002129/0.2732, allocations: 129.1 kB / 384.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0003126/0.2735, allocations: 208 kB / 385.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001594/0.2737, allocations: 156.8 kB / 385.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0002098/0.2739, allocations: 162.9 kB / 385.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0002056/0.2741, allocations: 210.8 kB / 385.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.486e-05/0.2741, allocations: 14.2 kB / 385.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 3.414e-05/0.2742, allocations: 35.2 kB / 385.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.000432/0.2746, allocations: 254.9 kB / 385.9 MB, free: 10.58 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.291e-05/0.2746, allocations: 9.219 kB / 385.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.61e-07/0.2746, allocations: 0 / 385.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 8.433e-05/0.2747, allocations: 65.5 kB / 386 MB, free: 10.53 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.609e-06/0.2747, allocations: 0.875 kB / 386 MB, free: 10.53 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 6.763e-06/0.2747, allocations: 15.53 kB / 386 MB, free: 10.52 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 8.275e-06/0.2747, allocations: 1.5 kB / 386 MB, free: 10.52 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0002956/0.275, allocations: 184.9 kB / 386.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.000195/0.2752, allocations: 363.5 kB / 386.5 MB, free: 10.12 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 4.513e-05/0.2752, allocations: 20.19 kB / 386.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of SimCode: time 0.0008076/0.2761, allocations: 0.5377 MB / 387.1 MB, free: 9.801 MB / 302.1 MB Notification: Performance of Templates: time 0.004154/0.2802, allocations: 0.8801 MB / 388 MB, free: 9.719 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.sim & ./Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.901099348033313] Failed to read output from testmodel.py, exit status != 0: ['time', 'load.phi', 'load.w', 'PI.x', 'PI.y'] 0.2892678409698419 0.30464088399999995 0.031470245 Calling exit ...