Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.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.001716/0.001716, allocations: 103.6 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.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.002038/0.002038, allocations: 211 kB / 24.55 MB, free: 3.824 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.634/1.634, allocations: 230.7 MB / 258.3 MB, free: 7.73 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.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_4.1.0_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_4.1.0_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.446e-05, allocations: 2.281 kB / 379 MB, free: 2.551 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema): time 0.005111/0.005135, allocations: 1.939 MB / 381 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2165/0.2217, allocations: 0.7074 MB / 381.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002736/0.2219, allocations: 5.188 kB / 381.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.222, allocations: 25.59 kB / 381.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002896/0.2223, allocations: 48.36 kB / 381.8 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006685/0.223, allocations: 151.1 kB / 381.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000739/0.2237, allocations: 410.1 kB / 382.3 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002172/0.224, allocations: 42.41 kB / 382.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004945/0.2245, allocations: 174.6 kB / 382.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.2247, allocations: 151.8 kB / 382.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.221e-05/0.2248, allocations: 29.75 kB / 382.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.818e-05/0.2248, allocations: 39.27 kB / 382.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004675/0.2253, allocations: 0.5335 MB / 383.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000165/0.2255, allocations: 292.2 kB / 383.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.964e-05/0.2255, allocations: 16.84 kB / 383.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.474e-05/0.2256, allocations: 12.75 kB / 383.6 MB, free: 12.54 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.001421/0.227, allocations: 1.452 MB / 385 MB, free: 11.87 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002381/0.2272, allocations: 177.7 kB / 385.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.001744/0.229, allocations: 1.223 MB / 386.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004764/0.2295, allocations: 270.8 kB / 386.7 MB, free: 11.19 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001642/0.2311, allocations: 1.076 MB / 387.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000346/0.2314, allocations: 253.7 kB / 388 MB, free: 10.38 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002092/0.2317, allocations: 191 kB / 388.2 MB, free: 10.26 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0006166/0.2323, allocations: 494.5 kB / 388.7 MB, free: 9.961 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0003088/0.2326, allocations: 211.3 kB / 388.9 MB, free: 9.863 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0005634/0.2331, allocations: 457.5 kB / 389.4 MB, free: 9.68 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.001069/0.2342, allocations: 0.7211 MB / 390.1 MB, free: 9.527 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0009713/0.2352, allocations: 0.9861 MB / 391.1 MB, free: 9.055 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0007903/0.236, allocations: 0.5273 MB / 391.6 MB, free: 8.73 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.001312/0.2373, allocations: 1.382 MB / 393 MB, free: 8.039 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 5.762e-05/0.2373, allocations: 29.75 kB / 393 MB, free: 8.016 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0002134/0.2376, allocations: 219.7 kB / 393.2 MB, free: 7.902 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.002327/0.2399, allocations: 1.641 MB / 394.9 MB, free: 7.527 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.857e-05/0.2399, allocations: 37.59 kB / 394.9 MB, free: 7.5 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.202e-06/0.2399, allocations: 0 / 394.9 MB, free: 7.5 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0003294/0.2402, allocations: 192.1 kB / 395.1 MB, free: 7.406 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.257e-06/0.2403, allocations: 1.297 kB / 395.1 MB, free: 7.406 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 2.02e-05/0.2403, allocations: 34.16 kB / 395.1 MB, free: 7.383 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 2.162e-05/0.2403, allocations: 6.141 kB / 395.1 MB, free: 7.383 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.001014/0.2413, allocations: 0.6815 MB / 395.8 MB, free: 7.148 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0004928/0.2418, allocations: 0.8336 MB / 396.6 MB, free: 6.324 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 0.0001408/0.2419, allocations: 58.53 kB / 396.7 MB, free: 6.277 MB / 302.1 MB Notification: Performance of SimCode: time 0.001293/0.2432, allocations: 0.9547 MB / 397.6 MB, free: 5.531 MB / 302.1 MB Notification: Performance of Templates: time 0.008019/0.2513, allocations: 3.625 MB / 401.3 MB, free: 3.695 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.DemonstrateContinuousSignalExtrema.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.974480111035518] 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.2614440610050224 0.27316739399999995 0.04430908 Calling exit ...