Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 111.3 kB / 22 MB, free: 4.555 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 218 kB / 25.3 MB, free: 2.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.764/1.764, allocations: 207.7 MB / 236.2 MB, free: 9.766 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.PID_Controller") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/2.832e-05, allocations: 2.281 kB / 348.5 MB, free: 9.383 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.PID_Controller): time 0.005398/0.005426, allocations: 2.902 MB / 351.4 MB, free: 6.453 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003023/0.008449, allocations: 0.9865 MB / 352.4 MB, free: 5.457 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000364/0.008813, allocations: 23.81 kB / 352.4 MB, free: 5.434 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004786/0.009292, allocations: 87.17 kB / 352.5 MB, free: 5.348 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003274/0.009619, allocations: 107.1 kB / 352.6 MB, free: 5.242 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007117/0.01033, allocations: 231.6 kB / 352.8 MB, free: 5.016 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000731/0.01106, allocations: 0.6472 MB / 353.5 MB, free: 4.367 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003798/0.01144, allocations: 113.7 kB / 353.6 MB, free: 4.254 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003238/0.01177, allocations: 239.1 kB / 353.8 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002568/0.01202, allocations: 183 kB / 354 MB, free: 3.84 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.131e-05/0.0121, allocations: 44 kB / 354.1 MB, free: 3.797 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.306e-05/0.01218, allocations: 40 kB / 354.1 MB, free: 3.758 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0008366/0.01301, allocations: 0.9084 MB / 355 MB, free: 2.84 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004344/0.01345, allocations: 0.5704 MB / 355.6 MB, free: 2.262 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.739e-05/0.01352, allocations: 36 kB / 355.6 MB, free: 2.227 MB / 286.1 MB Notification: Performance of FrontEnd: time 0.0001373/0.01365, allocations: 35.78 kB / 355.6 MB, free: 2.191 MB / 286.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.002537/0.01619, allocations: 2.126 MB / 357.8 MB, free: 15.93 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003282/0.01652, allocations: 243.7 kB / 358 MB, free: 15.68 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.000997/0.01751, allocations: 0.9876 MB / 359 MB, free: 14.66 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003449/0.01786, allocations: 208.3 kB / 359.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.002809/0.02067, allocations: 1.817 MB / 361 MB, free: 12.34 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000259/0.02093, allocations: 162.9 kB / 361.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001406/0.02107, allocations: 109 kB / 361.3 MB, free: 12 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0004372/0.0215, allocations: 281.1 kB / 361.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001692/0.02167, allocations: 91.73 kB / 361.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004488/0.02212, allocations: 357.6 kB / 362 MB, free: 11.22 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.003043/0.02517, allocations: 2.207 MB / 364.2 MB, free: 8.922 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0006696/0.02584, allocations: 0.6791 MB / 364.9 MB, free: 8.242 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0009743/0.02681, allocations: 0.5294 MB / 365.4 MB, free: 7.637 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001075/0.02788, allocations: 1.046 MB / 366.4 MB, free: 6.59 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 5.925e-05/0.02794, allocations: 36 kB / 366.5 MB, free: 6.543 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.000242/0.02819, allocations: 267.8 kB / 366.7 MB, free: 6.281 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.003321/0.03151, allocations: 2.392 MB / 369.1 MB, free: 3.859 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0002628/0.03177, allocations: 201.6 kB / 369.3 MB, free: 3.668 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 6.51e-07/0.03177, allocations: 0 / 369.3 MB, free: 3.668 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0004003/0.03217, allocations: 267.9 kB / 369.6 MB, free: 3.387 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.099e-05/0.03218, allocations: 8.438 kB / 369.6 MB, free: 3.375 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 3.282e-05/0.03221, allocations: 48 kB / 369.7 MB, free: 3.328 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.192e-05/0.03223, allocations: 4 kB / 369.7 MB, free: 3.324 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.001804/0.03403, allocations: 1.265 MB / 370.9 MB, free: 2.051 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.001136/0.03517, allocations: 0.9376 MB / 371.9 MB, free: 1.008 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.0001623/0.03533, allocations: 63.31 kB / 371.9 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of SimCode: time 0.002259/0.03759, allocations: 1.796 MB / 373.7 MB, free: 15.11 MB / 318.1 MB Notification: Performance of Templates: time 0.009815/0.0474, allocations: 4.675 MB / 378.4 MB, free: 10.43 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.PID_Controller.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.391984258021694] 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.05578639800660312 0.31579572300000003 0.29761210400000004 Calling exit ...