Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.PID_Controller.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.001241/0.001241, 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.001313/0.001313, allocations: 211.3 kB / 24.55 MB, free: 3.723 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.559/1.559, allocations: 230.5 MB / 258.2 MB, free: 7.73 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.Blocks.Examples.PID_Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|PI.I.y|inertia1.phi|inertia1.w|integrator.y|spring.phi_rel|spring.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.PID_Controller") translateModel(Modelica.Blocks.Examples.PID_Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|PI.I.y|inertia1.phi|inertia1.w|integrator.y|spring.phi_rel|spring.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.PID_Controller") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.161e-05/3.161e-05, allocations: 2.281 kB / 379 MB, free: 2.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.PID_Controller): time 0.2703/0.2703, allocations: 2.911 MB / 381.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003569/0.2739, allocations: 0.9685 MB / 382.9 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004569/0.2743, allocations: 17.38 kB / 382.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006264/0.2749, allocations: 88.66 kB / 383 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000384/0.2753, allocations: 111 kB / 383.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.2764, allocations: 235.5 kB / 383.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001206/0.2776, allocations: 0.6373 MB / 384 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004063/0.278, allocations: 115.7 kB / 384.1 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004177/0.2784, allocations: 238.8 kB / 384.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003336/0.2788, allocations: 184.7 kB / 384.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.2789, allocations: 41.62 kB / 384.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.279, allocations: 41.72 kB / 384.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0008425/0.2798, allocations: 0.8922 MB / 385.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005408/0.2804, allocations: 0.5736 MB / 386.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.2805, allocations: 33.59 kB / 386.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001671/0.2806, allocations: 34.12 kB / 386.1 MB, free: 11.48 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: 89 (89) * Number of variables: 89 (89) Notification: Performance of [SIM] Bindings: time 0.002652/0.2833, allocations: 2.115 MB / 388.2 MB, free: 9.961 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004128/0.2837, allocations: 249.3 kB / 388.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001258/0.285, allocations: 0.9853 MB / 389.5 MB, free: 9.219 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000409/0.2854, allocations: 212.6 kB / 389.7 MB, free: 9.074 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.003129/0.2885, allocations: 1.807 MB / 391.5 MB, free: 7.969 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002511/0.2888, allocations: 163 kB / 391.6 MB, free: 7.852 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001217/0.2889, allocations: 109.1 kB / 391.7 MB, free: 7.754 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0004111/0.2893, allocations: 300 kB / 392 MB, free: 7.504 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001928/0.2895, allocations: 102.9 kB / 392.1 MB, free: 7.449 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0005243/0.29, allocations: 370.1 kB / 392.5 MB, free: 7.262 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.003457/0.2935, allocations: 2.212 MB / 394.7 MB, free: 6.398 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0009045/0.2944, allocations: 0.6909 MB / 395.4 MB, free: 6.027 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.00112/0.2955, allocations: 0.5351 MB / 395.9 MB, free: 5.68 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001331/0.2968, allocations: 1.051 MB / 397 MB, free: 5.105 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 7.152e-05/0.2969, allocations: 44.89 kB / 397 MB, free: 5.066 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0003011/0.2972, allocations: 273 kB / 397.3 MB, free: 4.898 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.004172/0.3014, allocations: 2.406 MB / 399.7 MB, free: 4.367 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0003234/0.3017, allocations: 207.6 kB / 399.9 MB, free: 4.289 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 4.168e-06/0.3017, allocations: 1.344 kB / 399.9 MB, free: 4.289 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0005569/0.3022, allocations: 279.1 kB / 400.2 MB, free: 4.164 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.325e-06/0.3023, allocations: 1.656 kB / 400.2 MB, free: 4.164 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 3.56e-05/0.3023, allocations: 54 kB / 400.2 MB, free: 4.125 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 2.234e-05/0.3023, allocations: 3.891 kB / 400.2 MB, free: 4.125 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.002039/0.3044, allocations: 1.275 MB / 401.5 MB, free: 3.613 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.001061/0.3054, allocations: 0.9564 MB / 402.5 MB, free: 2.828 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 2 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 6 (6) {spring.phi_rel, inertia2.w, integrator.y, loadTorque.phi, PI.I.y, spring.w_rel} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 11 (11) {kinematicPTP.noWphase, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 56 (scalar:55, array:1, 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: ........... 76 (scalar:75, array:1, 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: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 79 (scalar:78, array:1, 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 0.0001818/0.3056, allocations: 50.98 kB / 402.5 MB, free: 2.789 MB / 302.1 MB Notification: Performance of SimCode: time 0.002892/0.3085, allocations: 1.787 MB / 404.3 MB, free: 1.449 MB / 302.1 MB Notification: Performance of Templates: time 0.01248/0.321, allocations: 4.808 MB / 409.1 MB, free: 14.02 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.PID_Controller.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.PID_Controller.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.PID_Controller.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.PID_Controller.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.PID_Controller.sim & ./Modelica_trunk_Modelica.Blocks.Examples.PID_Controller -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.PID_Controller.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.78236209001625] Failed to read output from testmodel.py, exit status != 0: ['time', 'PI.I.y', 'inertia1.phi', 'inertia1.w', 'integrator.y', 'spring.phi_rel', 'spring.w_rel'] 0.33077852096175775 0.34683548 0.06271319199999995 Calling exit ...