Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.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.001847/0.001847, allocations: 107.6 kB / 21.25 MB, free: 0.5625 MB / 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.002289/0.002289, allocations: 219.1 kB / 24.55 MB, free: 3.82 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.578/1.578, allocations: 230.5 MB / 258.2 MB, free: 7.738 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.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|sample1.y|clockToSquareWave.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|sample1.y|clockToSquareWave.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.296e-05/2.296e-05, allocations: 2.281 kB / 379 MB, free: 2.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold): time 0.003511/0.003534, allocations: 1.609 MB / 380.7 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.004656, allocations: 0.5221 MB / 381.2 MB, free: 176 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.034e-05/0.004736, allocations: 3.938 kB / 381.2 MB, free: 172 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.304e-05/0.004779, allocations: 3.938 kB / 381.2 MB, free: 168 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002433/0.005022, allocations: 15.86 kB / 381.2 MB, free: 152 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003514/0.005374, allocations: 63.81 kB / 381.3 MB, free: 88 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.005529, allocations: 83.75 kB / 381.3 MB, free: 4 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2157/0.2213, allocations: 6.734 kB / 381.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002616/0.2215, allocations: 40.95 kB / 381.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.2216, allocations: 25 kB / 381.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.2216, allocations: 2.688 kB / 381.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.864e-05/0.2217, allocations: 6.219 kB / 381.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001184/0.2218, allocations: 113.5 kB / 381.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 4.472e-05/0.2218, allocations: 85.11 kB / 381.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.486e-05/0.2218, allocations: 3.906 kB / 381.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.377e-05/0.2219, allocations: 6.25 kB / 381.6 MB, free: 12.98 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: 7 (7) * Number of variables: 7 (7) Notification: Performance of [SIM] Bindings: time 0.0004871/0.2224, allocations: 386.9 kB / 382 MB, free: 12.66 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 8.973e-05/0.2225, allocations: 47.44 kB / 382.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0002136/0.2227, allocations: 160.8 kB / 382.2 MB, free: 12.57 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 8.106e-05/0.2228, allocations: 76.45 kB / 382.3 MB, free: 12.47 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0005192/0.2233, allocations: 312.5 kB / 382.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 5.4e-05/0.2233, allocations: 73.89 kB / 382.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 2.775e-05/0.2234, allocations: 47.14 kB / 382.7 MB, free: 12.15 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001447/0.2235, allocations: 97.27 kB / 382.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of [SIM] Events: time 6.218e-05/0.2236, allocations: 16.3 kB / 382.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001515/0.2237, allocations: 95.12 kB / 382.9 MB, free: 11.97 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001601/0.2239, allocations: 117.7 kB / 383 MB, free: 11.9 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 7.513e-05/0.2239, allocations: 75.53 kB / 383.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0001548/0.2241, allocations: 125.5 kB / 383.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0001043/0.2242, allocations: 113.7 kB / 383.3 MB, free: 11.74 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 9.297e-06/0.2242, allocations: 16.62 kB / 383.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 2.181e-05/0.2242, allocations: 15.62 kB / 383.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0002472/0.2245, allocations: 144.4 kB / 383.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.071e-05/0.2245, allocations: 5.469 kB / 383.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.743e-06/0.2245, allocations: 5.094 kB / 383.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 6.275e-05/0.2246, allocations: 49.22 kB / 383.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.419e-06/0.2246, allocations: 1.125 kB / 383.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 3.667e-06/0.2246, allocations: 3.312 kB / 383.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 8.135e-06/0.2246, allocations: 9.75 kB / 383.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0001464/0.2247, allocations: 91.89 kB / 383.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001017/0.2248, allocations: 175.2 kB / 383.8 MB, free: 11.45 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 2 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 1 (1) {clockToSquareWave.uu} * Number of clocked states: ..................... 1 (1) {clockToSquareWave.y2} * Number of discrete variables: ................. 2 (2) {clockToSquareWave.y, $TEV_0} * Number of clocks: ............................. 1 (1) {periodicClock.c} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 3 (scalar:3, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:1, 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: ........... 6 (scalar:6, 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 4.304e-05/0.2249, allocations: 36.38 kB / 383.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of SimCode: time 0.0005921/0.2255, allocations: 307.7 kB / 384.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of Templates: time 0.00315/0.2286, allocations: 0.509 MB / 384.7 MB, free: 11.2 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.748424260993488] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'clockToSquareWave.y'] 0.23791555099887773 0.249618514 0.02495676 Calling exit ...