Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController.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.001993/0.001993, allocations: 99.64 kB / 21.25 MB, free: 424 kB / 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.002228/0.002228, allocations: 214.5 kB / 24.55 MB, free: 3.719 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.588/1.588, 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.ClockedWithDiscreteTextbookController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.024e-05/3.024e-05, allocations: 4.531 kB / 379 MB, free: 2.359 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController): time 0.004147/0.004177, allocations: 1.982 MB / 381 MB, free: 372 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2822/0.2864, allocations: 0.5102 MB / 381.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001906/0.2866, allocations: 5.5 kB / 381.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.968e-05/0.2867, allocations: 16.42 kB / 381.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.2868, allocations: 24.81 kB / 381.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.2871, allocations: 57.72 kB / 381.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002473/0.2874, allocations: 138 kB / 381.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.2875, allocations: 53.77 kB / 381.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.2876, allocations: 54.48 kB / 381.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.341e-05/0.2877, allocations: 48.91 kB / 381.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.2877, allocations: 10.31 kB / 381.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.707e-05/0.2877, allocations: 11 kB / 381.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002301/0.288, allocations: 232.2 kB / 382.1 MB, free: 12.89 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001199/0.2881, allocations: 154.7 kB / 382.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.829e-05/0.2881, allocations: 9.156 kB / 382.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.088e-05/0.2882, allocations: 7.5 kB / 382.3 MB, free: 12.8 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.0008855/0.2891, allocations: 0.6506 MB / 383 MB, free: 12.35 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001477/0.2892, allocations: 81.31 kB / 383 MB, free: 12.32 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0004353/0.2896, allocations: 301.9 kB / 383.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001947/0.2898, allocations: 104 kB / 383.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001506/0.2913, allocations: 0.7237 MB / 384.2 MB, free: 11.83 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001242/0.2915, allocations: 85.75 kB / 384.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 5.787e-05/0.2915, allocations: 58.77 kB / 384.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002548/0.2918, allocations: 141 kB / 384.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of [SIM] Events: time 9.073e-05/0.2919, allocations: 31.67 kB / 384.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002467/0.2921, allocations: 117.7 kB / 384.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0004513/0.2926, allocations: 198.5 kB / 384.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002252/0.2928, allocations: 146.6 kB / 384.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0002815/0.2931, allocations: 167.4 kB / 385.1 MB, free: 11.26 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0002893/0.2934, allocations: 193 kB / 385.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 2.83e-05/0.2934, allocations: 12.44 kB / 385.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 5.775e-05/0.2934, allocations: 36.69 kB / 385.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.000749/0.2942, allocations: 263.6 kB / 385.6 MB, free: 11.17 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.142e-05/0.2942, allocations: 5.344 kB / 385.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 5.61e-07/0.2942, allocations: 5.125 kB / 385.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0001196/0.2943, allocations: 57.36 kB / 385.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.282e-06/0.2943, allocations: 0 / 385.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.421e-05/0.2943, allocations: 8.25 kB / 385.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.255e-05/0.2944, allocations: 8.531 kB / 385.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0003985/0.2948, allocations: 173.1 kB / 385.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0002328/0.295, allocations: 359.3 kB / 386.2 MB, free: 10.67 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.881e-05/0.295, allocations: 17.31 kB / 386.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of SimCode: time 0.000875/0.2959, allocations: 494.4 kB / 386.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of Templates: time 0.004619/0.3005, allocations: 0.845 MB / 387.5 MB, free: 10.25 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController.sim & ./Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.902810947969556] Failed to read output from testmodel.py, exit status != 0: ['time', 'load.phi', 'load.w', 'PI.x', 'PI.y'] 0.3097633710131049 0.33067107700000004 0.039152911000000006 Calling exit ...