Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller.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.001975/0.001975, 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.00243/0.00243, 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.517/1.517, 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.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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.PID_Controller") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.599e-05/2.599e-05, allocations: 2.281 kB / 371.7 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.PID_Controller): time 0.006592/0.006618, allocations: 2.893 MB / 374.6 MB, free: 6.262 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002801/0.009419, allocations: 0.9388 MB / 375.5 MB, free: 5.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002954/0.009715, allocations: 15.88 kB / 375.6 MB, free: 5.305 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004757/0.01019, allocations: 87.17 kB / 375.6 MB, free: 5.219 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003828/0.01057, allocations: 115.1 kB / 375.8 MB, free: 5.105 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008924/0.01147, allocations: 232.6 kB / 376 MB, free: 4.879 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001087/0.01255, allocations: 0.6434 MB / 376.6 MB, free: 4.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00036/0.01291, allocations: 109.7 kB / 376.7 MB, free: 4.125 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004228/0.01334, allocations: 239.1 kB / 377 MB, free: 3.891 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003347/0.01367, allocations: 191 kB / 377.2 MB, free: 3.703 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.01377, allocations: 44 kB / 377.2 MB, free: 3.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.512e-05/0.01387, allocations: 40 kB / 377.2 MB, free: 3.621 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001154/0.01502, allocations: 0.889 MB / 378.1 MB, free: 2.723 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006283/0.01565, allocations: 0.582 MB / 378.7 MB, free: 2.133 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.399e-05/0.01573, allocations: 32 kB / 378.7 MB, free: 2.102 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001274/0.01586, allocations: 27.86 kB / 378.8 MB, free: 2.074 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.2534/0.2692, allocations: 2.1 MB / 380.9 MB, free: 15.51 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0008442/0.2701, allocations: 254.6 kB / 381.1 MB, free: 15.47 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001847/0.2719, allocations: 0.9874 MB / 382.1 MB, free: 15.4 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0006222/0.2725, allocations: 217.4 kB / 382.3 MB, free: 15.28 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.00463/0.2772, allocations: 1.798 MB / 384.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003469/0.2775, allocations: 163.5 kB / 384.3 MB, free: 14.61 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002188/0.2777, allocations: 101.3 kB / 384.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0006806/0.2784, allocations: 290.4 kB / 384.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0002753/0.2787, allocations: 93.64 kB / 384.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0008024/0.2795, allocations: 359.7 kB / 385.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.004837/0.2843, allocations: 2.197 MB / 387.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001307/0.2856, allocations: 0.6836 MB / 388 MB, free: 13.32 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001739/0.2874, allocations: 0.5312 MB / 388.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001853/0.2892, allocations: 1.036 MB / 389.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 8.433e-05/0.2893, allocations: 35.05 kB / 389.6 MB, free: 12.44 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0004619/0.2898, allocations: 264.6 kB / 389.8 MB, free: 12.28 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.005527/0.2953, allocations: 2.392 MB / 392.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0003785/0.2957, allocations: 209.5 kB / 392.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.794e-06/0.2957, allocations: 0 / 392.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0006264/0.2963, allocations: 284.8 kB / 392.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.18e-05/0.2963, allocations: 1.594 kB / 392.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 2.823e-05/0.2963, allocations: 48.84 kB / 392.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.792e-05/0.2964, allocations: 3.312 kB / 392.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.002386/0.2987, allocations: 1.268 MB / 394 MB, free: 11.1 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.00153/0.3003, allocations: 0.9541 MB / 395 MB, free: 10.36 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: ......... 1 * 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: ................. 10 (10) {kinematicPTP.noWphase, $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: ........... 55 (scalar:54, 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: ........... 75 (scalar:74, 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: ........... 78 (scalar:77, 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.0002298/0.3005, allocations: 60.75 kB / 395 MB, free: 10.31 MB / 302.1 MB Notification: Performance of SimCode: time 0.003747/0.3043, allocations: 1.782 MB / 396.8 MB, free: 9.41 MB / 302.1 MB Notification: Performance of Templates: time 0.01602/0.3203, allocations: 4.683 MB / 401.5 MB, free: 7.309 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.PID_Controller.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.977621876983903] 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.33099092700285837 0.349393106 0.32895449800000004 Calling exit ...