Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.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.001472/0.001472, 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.001704/0.001704, allocations: 211.2 kB / 24.55 MB, free: 3.746 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.538/1.538, 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.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.472e-05, allocations: 2.281 kB / 379 MB, free: 2.504 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController): time 0.005869/0.005894, allocations: 2.024 MB / 381.1 MB, free: 484 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2149/0.2208, allocations: 0.5097 MB / 381.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002966/0.2211, allocations: 6.719 kB / 381.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002208/0.2213, allocations: 16.59 kB / 381.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002037/0.2215, allocations: 31.53 kB / 381.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004959/0.222, allocations: 54.5 kB / 381.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003954/0.2224, allocations: 152.8 kB / 381.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002435/0.2227, allocations: 47.14 kB / 381.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.2229, allocations: 56.16 kB / 381.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.223, allocations: 51.67 kB / 382 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.345e-05/0.2231, allocations: 10.97 kB / 382 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.881e-05/0.2231, allocations: 10.03 kB / 382 MB, free: 13.05 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002809/0.2234, allocations: 244.3 kB / 382.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001367/0.2235, allocations: 162.6 kB / 382.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.682e-05/0.2236, allocations: 10.72 kB / 382.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.423e-05/0.2237, allocations: 10.2 kB / 382.4 MB, free: 12.82 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.0008947/0.2246, allocations: 0.6736 MB / 383.1 MB, free: 12.38 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001952/0.2248, allocations: 86.61 kB / 383.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0003364/0.2251, allocations: 296.9 kB / 383.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001723/0.2253, allocations: 108.4 kB / 383.6 MB, free: 12.18 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001356/0.2266, allocations: 0.7207 MB / 384.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001082/0.2267, allocations: 88.05 kB / 384.4 MB, free: 11.76 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 5.023e-05/0.2268, allocations: 55.59 kB / 384.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002401/0.227, allocations: 130.8 kB / 384.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001261/0.2272, allocations: 34.2 kB / 384.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.000287/0.2274, allocations: 117.4 kB / 384.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0003681/0.2278, allocations: 186 kB / 384.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001663/0.228, allocations: 148.2 kB / 385 MB, free: 11.45 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.000255/0.2282, allocations: 160.9 kB / 385.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0002211/0.2285, allocations: 190 kB / 385.4 MB, free: 11.28 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 2.285e-05/0.2285, allocations: 11.44 kB / 385.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 5.96e-05/0.2285, allocations: 35.33 kB / 385.4 MB, free: 11.26 MB / 302.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) PI.y = PI.y_start ($RES_SIM_0); Notification: Performance of [INI] Causalize: time 0.0005617/0.2291, allocations: 265.1 kB / 385.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.667e-05/0.2291, allocations: 9.938 kB / 385.7 MB, free: 11.2 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.733e-06/0.2291, allocations: 0.5 kB / 385.7 MB, free: 11.2 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0001163/0.2292, allocations: 59.05 kB / 385.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.183e-06/0.2292, allocations: 1.156 kB / 385.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.086e-05/0.2293, allocations: 15.22 kB / 385.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.254e-05/0.2293, allocations: 1.688 kB / 385.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0003244/0.2296, allocations: 157.9 kB / 385.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0002173/0.2298, allocations: 363 kB / 386.3 MB, free: 10.73 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: ............................. 3 (3) {load.w, load.phi, PI.x} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * 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: ........... 11 (scalar:11, 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.259e-05/0.2299, allocations: 26.61 kB / 386.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of SimCode: time 0.0009359/0.2308, allocations: 0.5016 MB / 386.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of Templates: time 0.005009/0.2358, allocations: 0.8381 MB / 387.6 MB, free: 10.29 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.7831559120095335] Failed to read output from testmodel.py, exit status != 0: ['time', 'load.phi', 'load.w', 'PI.x', 'PI.y'] 0.2473299559787847 0.259316851 0.032607497 Calling exit ...