Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.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.001583/0.001583, 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.001885/0.001885, allocations: 214.5 kB / 24.55 MB, free: 3.719 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.524/1.524, allocations: 230.5 MB / 258.2 MB, free: 7.707 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.DemonstrateContinuousSignalExtrema,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|signalExtrema1.y_min|signalExtrema1.y_max|signalExtrema1.t_min|signalExtrema1.t_max|signalExtrema2.y_min|signalExtrema2.y_max|signalExtrema2.t_min|signalExtrema2.t_max|signalExtrema3.y_min|signalExtrema3.y_max|signalExtrema3.t_min|signalExtrema3.t_max",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema") translateModel(Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|signalExtrema1.y_min|signalExtrema1.y_max|signalExtrema1.t_min|signalExtrema1.t_max|signalExtrema2.y_min|signalExtrema2.y_max|signalExtrema2.t_min|signalExtrema2.t_max|signalExtrema3.y_min|signalExtrema3.y_max|signalExtrema3.t_min|signalExtrema3.t_max",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.823e-05/2.823e-05, allocations: 2.281 kB / 379 MB, free: 2.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema): time 0.003519/0.003547, allocations: 1.931 MB / 381 MB, free: 400 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2699/0.2734, allocations: 0.7146 MB / 381.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.2736, allocations: 7.5 kB / 381.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.165e-05/0.2736, allocations: 22.41 kB / 381.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.2738, allocations: 47.36 kB / 381.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007053/0.2745, allocations: 156.1 kB / 381.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007256/0.2753, allocations: 402.2 kB / 382.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003173/0.2756, allocations: 51.25 kB / 382.4 MB, free: 13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004956/0.2761, allocations: 177.8 kB / 382.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002721/0.2763, allocations: 149.4 kB / 382.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.233e-05/0.2764, allocations: 30.41 kB / 382.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.2765, allocations: 37.48 kB / 382.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005647/0.2771, allocations: 0.5304 MB / 383.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002165/0.2773, allocations: 296.9 kB / 383.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.331e-05/0.2774, allocations: 18.03 kB / 383.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.344e-05/0.2774, allocations: 11.44 kB / 383.6 MB, free: 12.53 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: 43 (43) * Number of variables: 43 (43) Notification: Performance of [SIM] Bindings: time 0.00199/0.2794, allocations: 1.449 MB / 385 MB, free: 11.87 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002556/0.2797, allocations: 179.4 kB / 385.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001584/0.2813, allocations: 1.223 MB / 386.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000398/0.2817, allocations: 270.6 kB / 386.7 MB, free: 11.07 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001411/0.2831, allocations: 1.072 MB / 387.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003932/0.2835, allocations: 261 kB / 388 MB, free: 10.26 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002267/0.2837, allocations: 185.8 kB / 388.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0006529/0.2844, allocations: 487.6 kB / 388.7 MB, free: 9.844 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0003712/0.2847, allocations: 215.9 kB / 388.9 MB, free: 9.746 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0007095/0.2854, allocations: 456 kB / 389.3 MB, free: 9.562 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001349/0.2868, allocations: 0.7267 MB / 390.1 MB, free: 9.402 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001222/0.288, allocations: 0.9821 MB / 391 MB, free: 8.934 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0008742/0.2889, allocations: 0.5274 MB / 391.6 MB, free: 8.613 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001429/0.2903, allocations: 1.383 MB / 393 MB, free: 7.922 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 6.626e-05/0.2904, allocations: 31.12 kB / 393 MB, free: 7.898 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0002656/0.2906, allocations: 219.2 kB / 393.2 MB, free: 7.785 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.002728/0.2934, allocations: 1.642 MB / 394.8 MB, free: 7.406 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 3.997e-05/0.2934, allocations: 37.66 kB / 394.9 MB, free: 7.379 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.743e-06/0.2934, allocations: 1.438 kB / 394.9 MB, free: 7.379 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0003927/0.2938, allocations: 187.2 kB / 395.1 MB, free: 7.285 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.095e-06/0.2938, allocations: 5.266 kB / 395.1 MB, free: 7.281 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 2.064e-05/0.2938, allocations: 34.25 kB / 395.1 MB, free: 7.258 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.994e-05/0.2939, allocations: 2.188 kB / 395.1 MB, free: 7.258 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.001045/0.2949, allocations: 0.6863 MB / 395.8 MB, free: 7.012 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0004932/0.2954, allocations: 0.8345 MB / 396.6 MB, free: 6.18 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: ............... 2 * Number of algebraic event partitions: ......... 0 * 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) {signalExtrema1.x, signalExtrema2.x, signalExtrema3.x} * Number of discrete states: .................... 18 (18) {signalExtrema3.t_max, signalExtrema3.t_min, signalExtrema3.y_max, signalExtrema3.y_min, sawTooth1.T_start, sawTooth1.count, pulse.T_start, pulse.count, signalExtrema2.t_max, signalExtrema2.t_min, signalExtrema2.y_max, signalExtrema2.y_min, signalExtrema1.t_max, signalExtrema1.t_min, signalExtrema1.y_max, signalExtrema1.y_min, sawTooth.T_start, sawTooth.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 16 (16) {$SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_2, $TEV_1, $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: ........... 33 (scalar:33, array:0, record:0) * Number of multi strong components: ............ 18 (algorithm:0, when:18, 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: ........... 69 (scalar:69, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:3, 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 7.021e-05/0.2955, allocations: 49.62 kB / 396.7 MB, free: 6.141 MB / 302.1 MB Notification: Performance of SimCode: time 0.00132/0.2968, allocations: 0.9512 MB / 397.6 MB, free: 5.398 MB / 302.1 MB Notification: Performance of Templates: time 0.007839/0.3046, allocations: 3.628 MB / 401.3 MB, free: 3.539 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.sim & ./Modelica_trunk_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.7969101869966835] Failed to read output from testmodel.py, exit status != 0: ['time', 'signalExtrema1.y_min', 'signalExtrema1.y_max', 'signalExtrema1.t_min', 'signalExtrema1.t_max', 'signalExtrema2.y_min', 'signalExtrema2.y_max', 'signalExtrema2.t_min', 'signalExtrema2.t_max', 'signalExtrema3.y_min', 'signalExtrema3.y_max', 'signalExtrema3.t_min', 'signalExtrema3.t_max'] 0.3128438309649937 0.327384785 0.046646694 Calling exit ...