Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001964/0.001964, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.002246/0.002246, allocations: 212.7 kB / 24.55 MB, free: 3.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.53/1.53, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Blocks.Examples.PID_Controller") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.512e-05, allocations: 3.688 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.PID_Controller): time 0.2101/0.2101, allocations: 2.91 MB / 381.9 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002204/0.2123, allocations: 0.9706 MB / 382.9 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002541/0.2126, allocations: 16.72 kB / 382.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003989/0.213, allocations: 85.83 kB / 383 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000267/0.2133, allocations: 108.7 kB / 383.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007042/0.214, allocations: 228.8 kB / 383.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000761/0.2147, allocations: 0.6479 MB / 384 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002971/0.215, allocations: 113.9 kB / 384.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003076/0.2153, allocations: 232.4 kB / 384.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000276/0.2156, allocations: 193.2 kB / 384.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.611e-05/0.2157, allocations: 43.41 kB / 384.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.92e-05/0.2158, allocations: 40.78 kB / 384.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0007042/0.2165, allocations: 0.8854 MB / 385.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005392/0.217, allocations: 0.5782 MB / 386.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.2171, allocations: 32.59 kB / 386.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001768/0.2173, allocations: 33 kB / 386.1 MB, free: 11.84 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.002809/0.2201, allocations: 2.115 MB / 388.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003998/0.2205, allocations: 245.9 kB / 388.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001116/0.2216, allocations: 0.9892 MB / 389.5 MB, free: 9.578 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003685/0.222, allocations: 207.9 kB / 389.7 MB, free: 9.438 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.003043/0.2251, allocations: 1.82 MB / 391.5 MB, free: 8.324 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002372/0.2253, allocations: 157.8 kB / 391.7 MB, free: 8.211 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001063/0.2254, allocations: 106.1 kB / 391.8 MB, free: 8.117 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0004021/0.2258, allocations: 296.5 kB / 392 MB, free: 7.863 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001763/0.226, allocations: 105.7 kB / 392.2 MB, free: 7.812 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0005043/0.2265, allocations: 373.1 kB / 392.5 MB, free: 7.621 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.003669/0.2302, allocations: 2.217 MB / 394.7 MB, free: 6.75 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0008977/0.2311, allocations: 0.6885 MB / 395.4 MB, free: 6.379 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001096/0.2321, allocations: 0.5387 MB / 396 MB, free: 6.031 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001161/0.2333, allocations: 1.047 MB / 397 MB, free: 5.461 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 8.479e-05/0.2334, allocations: 38.05 kB / 397 MB, free: 5.43 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.000274/0.2337, allocations: 272.7 kB / 397.3 MB, free: 5.262 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.004128/0.2378, allocations: 2.4 MB / 399.7 MB, free: 4.734 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 0.0003419/0.2381, allocations: 215.6 kB / 399.9 MB, free: 4.645 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 2.415e-06/0.2381, allocations: 0 / 399.9 MB, free: 4.645 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0005675/0.2387, allocations: 288.8 kB / 400.2 MB, free: 4.512 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.387e-06/0.2387, allocations: 1.75 kB / 400.2 MB, free: 4.512 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 4.11e-05/0.2388, allocations: 50 kB / 400.3 MB, free: 4.477 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 2.939e-05/0.2388, allocations: 7.375 kB / 400.3 MB, free: 4.473 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.002283/0.2411, allocations: 1.27 MB / 401.5 MB, free: 3.961 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.001167/0.2422, allocations: 0.9556 MB / 402.5 MB, free: 3.176 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.0002345/0.2425, allocations: 61.59 kB / 402.5 MB, free: 3.129 MB / 302.1 MB Notification: Performance of SimCode: time 0.002456/0.2449, allocations: 1.775 MB / 404.3 MB, free: 1.801 MB / 302.1 MB Notification: Performance of Templates: time 0.01098/0.2559, allocations: 4.82 MB / 409.1 MB, free: 14.4 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.PID_Controller.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.PID_Controller.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.PID_Controller.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.PID_Controller.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.PID_Controller.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.PID_Controller -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.PID_Controller.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.834544247016311] 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.26496338000288233 0.281336703 0.060711829 Calling exit ...