Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 104 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 192.2 kB / 24.53 MB, free: 3.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 225.7 MB / 253.4 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.591e-05, allocations: 2.281 kB / 371.7 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold): time 0.00348/0.003506, allocations: 1.586 MB / 373.3 MB, free: 7.559 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.004556, allocations: 474.8 kB / 373.8 MB, free: 7.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.004668, allocations: 0 / 373.8 MB, free: 7.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.804e-05/0.004726, allocations: 7.922 kB / 373.8 MB, free: 7.082 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.004883, allocations: 11.88 kB / 373.8 MB, free: 7.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003568/0.00524, allocations: 55.81 kB / 373.8 MB, free: 7.016 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.005419, allocations: 63.83 kB / 373.9 MB, free: 6.953 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.005552, allocations: 8.188 kB / 373.9 MB, free: 6.945 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.805e-05/0.00565, allocations: 35.84 kB / 374 MB, free: 6.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.694e-05/0.005727, allocations: 23.86 kB / 374 MB, free: 6.887 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.005749, allocations: 4 kB / 374 MB, free: 6.883 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.97e-05/0.005768, allocations: 4 kB / 374 MB, free: 6.879 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001415/0.00591, allocations: 114.7 kB / 374.1 MB, free: 6.766 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 6.581e-05/0.005976, allocations: 74.91 kB / 374.2 MB, free: 6.691 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.851e-05/0.006004, allocations: 4 kB / 374.2 MB, free: 6.688 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.759e-05/0.006032, allocations: 7.938 kB / 374.2 MB, free: 6.68 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.0006722/0.006704, allocations: 380.2 kB / 374.6 MB, free: 6.188 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.000142/0.006846, allocations: 47.91 kB / 374.6 MB, free: 6.129 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001904/0.007036, allocations: 148.1 kB / 374.7 MB, free: 5.957 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001342/0.00717, allocations: 80.64 kB / 374.8 MB, free: 5.832 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0007094/0.00788, allocations: 308.8 kB / 375.1 MB, free: 5.449 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001045/0.007984, allocations: 77.41 kB / 375.2 MB, free: 5.328 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 6.117e-05/0.008046, allocations: 48.42 kB / 375.2 MB, free: 5.254 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002708/0.008316, allocations: 110.3 kB / 375.4 MB, free: 5.098 MB / 302.1 MB Notification: Performance of [SIM] Events: time 7.925e-05/0.008396, allocations: 15.98 kB / 375.4 MB, free: 5.082 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002481/0.008644, allocations: 94.42 kB / 375.5 MB, free: 4.957 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0002666/0.00891, allocations: 128.5 kB / 375.6 MB, free: 4.801 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 9.508e-05/0.009005, allocations: 83.78 kB / 375.7 MB, free: 4.719 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0002294/0.009235, allocations: 127.7 kB / 375.8 MB, free: 4.527 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0001262/0.009361, allocations: 108 kB / 375.9 MB, free: 4.418 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.453e-05/0.009376, allocations: 8.125 kB / 375.9 MB, free: 4.402 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 2.803e-05/0.009404, allocations: 24.48 kB / 375.9 MB, free: 4.379 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0003296/0.009733, allocations: 182.6 kB / 376.1 MB, free: 4.191 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.372e-05/0.009747, allocations: 0 / 376.1 MB, free: 4.191 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.21e-07/0.009747, allocations: 0 / 376.1 MB, free: 4.191 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 9.019e-05/0.009837, allocations: 52.36 kB / 376.2 MB, free: 4.117 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.072e-05/0.009848, allocations: 4 kB / 376.2 MB, free: 4.113 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 4.629e-06/0.009853, allocations: 3.938 kB / 376.2 MB, free: 4.109 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.549e-05/0.009868, allocations: 11.94 kB / 376.2 MB, free: 4.098 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0001505/0.01002, allocations: 75.92 kB / 376.3 MB, free: 4.023 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001606/0.01018, allocations: 178 kB / 376.4 MB, free: 3.816 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: ........... 4 (scalar:4, 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: ........... 7 (scalar:7, 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 7.166e-05/0.01025, allocations: 30.95 kB / 376.5 MB, free: 3.789 MB / 302.1 MB Notification: Performance of SimCode: time 0.0006634/0.01091, allocations: 300.3 kB / 376.8 MB, free: 3.473 MB / 302.1 MB Notification: Performance of Templates: time 0.003406/0.01432, allocations: 0.4907 MB / 377.2 MB, free: 3.004 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.75854490295751] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'clockToSquareWave.y'] 0.02362693304894492 0.29491095900000003 0.285943072 Calling exit ...