Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.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.001548/0.001548, 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.001904/0.001904, allocations: 203.2 kB / 24.54 MB, free: 3.73 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.586/1.586, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.Elementary.RealSignals.AssignClockToSquareWaveHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|sample1.y|clockToSquareWave.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.184e-05/3.184e-05, allocations: 2.281 kB / 379.1 MB, free: 2.434 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold): time 0.003393/0.003425, allocations: 1.614 MB / 380.7 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.004601, allocations: 0.5181 MB / 381.2 MB, free: 296 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.052e-05/0.004691, allocations: 0 / 381.2 MB, free: 296 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.139e-05/0.004742, allocations: 7.875 kB / 381.2 MB, free: 288 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001583/0.004901, allocations: 11.94 kB / 381.2 MB, free: 276 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003829/0.005284, allocations: 67.73 kB / 381.3 MB, free: 208 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.005441, allocations: 71.83 kB / 381.3 MB, free: 136 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.005572, allocations: 23.91 kB / 381.4 MB, free: 112 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.005716, allocations: 39.84 kB / 381.4 MB, free: 72 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.151e-05/0.005777, allocations: 23.84 kB / 381.4 MB, free: 48 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.005795, allocations: 4 kB / 381.4 MB, free: 44 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.29e-05/0.005838, allocations: 12 kB / 381.4 MB, free: 32 kB / 302.1 MB Notification: Performance of combineBinaries: time 0.2275/0.2333, allocations: 110.7 kB / 381.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 5.997e-05/0.2334, allocations: 80.23 kB / 381.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.123e-05/0.2334, allocations: 4.125 kB / 381.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.838e-05/0.2334, allocations: 1.75 kB / 381.6 MB, free: 13.09 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.0006334/0.2341, allocations: 391.1 kB / 382 MB, free: 12.77 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001336/0.2342, allocations: 44.17 kB / 382.1 MB, free: 12.74 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0002766/0.2345, allocations: 158.8 kB / 382.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 9.874e-05/0.2346, allocations: 76.39 kB / 382.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0007267/0.2353, allocations: 306.1 kB / 382.6 MB, free: 12.42 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 7.071e-05/0.2354, allocations: 71.42 kB / 382.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 3.902e-05/0.2354, allocations: 45.36 kB / 382.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001872/0.2356, allocations: 106.6 kB / 382.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of [SIM] Events: time 7.797e-05/0.2357, allocations: 19.44 kB / 382.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001765/0.2359, allocations: 90.53 kB / 382.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001764/0.236, allocations: 112.6 kB / 383 MB, free: 12.02 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 7.414e-05/0.2361, allocations: 79.81 kB / 383.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0001818/0.2363, allocations: 129.5 kB / 383.2 MB, free: 11.87 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0001256/0.2364, allocations: 115.5 kB / 383.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.057e-05/0.2364, allocations: 13.81 kB / 383.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 2.442e-05/0.2365, allocations: 19.36 kB / 383.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0002747/0.2367, allocations: 142.2 kB / 383.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.258e-05/0.2367, allocations: 5.469 kB / 383.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.022e-06/0.2367, allocations: 1.469 kB / 383.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 6.949e-05/0.2368, allocations: 49.23 kB / 383.6 MB, free: 11.77 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.115e-06/0.2368, allocations: 5.125 kB / 383.6 MB, free: 11.77 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 4.218e-06/0.2368, allocations: 6.625 kB / 383.6 MB, free: 11.76 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.253e-05/0.2368, allocations: 7.109 kB / 383.6 MB, free: 11.76 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0001662/0.237, allocations: 86.44 kB / 383.7 MB, free: 11.76 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001087/0.2371, allocations: 179.2 kB / 383.8 MB, free: 11.57 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.492e-05/0.2372, allocations: 28.75 kB / 383.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of SimCode: time 0.0007167/0.2379, allocations: 313 kB / 384.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of Templates: time 0.003915/0.2418, allocations: 0.5012 MB / 384.7 MB, free: 11.33 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.935077151982114] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'clockToSquareWave.y'] 0.2512219360214658 0.266998496 0.030411619 Calling exit ...