Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.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.001869/0.001869, allocations: 100 kB / 21.25 MB, free: 428 kB / 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.001655/0.001655, allocations: 186.9 kB / 24.53 MB, free: 3.746 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.549/1.549, allocations: 225.7 MB / 253.4 MB, free: 12.81 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.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5030,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5030,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.354e-05, allocations: 2.281 kB / 371.7 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.004346/0.00437, allocations: 1.943 MB / 373.7 MB, free: 7.223 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002348/0.006717, allocations: 1.06 MB / 374.7 MB, free: 6.156 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.00685, allocations: 7.938 kB / 374.7 MB, free: 6.148 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006939/0.007544, allocations: 152.6 kB / 374.9 MB, free: 6 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003376/0.007882, allocations: 127.5 kB / 375 MB, free: 5.875 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007552/0.008637, allocations: 258.5 kB / 375.3 MB, free: 5.625 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004825/0.009119, allocations: 279.4 kB / 375.5 MB, free: 5.352 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.009288, allocations: 32.52 kB / 375.6 MB, free: 5.316 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.009481, allocations: 131.5 kB / 375.7 MB, free: 5.188 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.009636, allocations: 91.59 kB / 375.8 MB, free: 5.098 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.867e-05/0.009675, allocations: 12 kB / 375.8 MB, free: 5.086 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.009829, allocations: 63.95 kB / 375.9 MB, free: 5.023 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003302/0.01016, allocations: 372.1 kB / 376.2 MB, free: 4.656 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001723/0.01033, allocations: 240.8 kB / 376.4 MB, free: 4.418 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.91e-05/0.01037, allocations: 8 kB / 376.5 MB, free: 4.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.449e-05/0.01042, allocations: 15.86 kB / 376.5 MB, free: 4.395 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: 24 (24) * Number of variables: 24 (24) Notification: Performance of [SIM] Bindings: time 0.001266/0.01169, allocations: 0.8477 MB / 377.3 MB, free: 3.422 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001811/0.01187, allocations: 82.98 kB / 377.4 MB, free: 3.332 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0004277/0.0123, allocations: 324 kB / 377.7 MB, free: 2.988 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001765/0.01248, allocations: 108.6 kB / 377.8 MB, free: 2.836 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001018/0.01349, allocations: 0.5913 MB / 378.4 MB, free: 2.148 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001503/0.01364, allocations: 112.6 kB / 378.5 MB, free: 1.992 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 8.577e-05/0.01373, allocations: 64.34 kB / 378.6 MB, free: 1.902 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003639/0.01409, allocations: 226.5 kB / 378.8 MB, free: 1.637 MB / 302.1 MB Notification: Performance of [SIM] Events: time 9.485e-05/0.01419, allocations: 45.16 kB / 378.9 MB, free: 1.59 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003246/0.01451, allocations: 195.8 kB / 379 MB, free: 1.359 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0006443/0.01516, allocations: 312.4 kB / 379.3 MB, free: 1.016 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003216/0.01548, allocations: 247.6 kB / 379.6 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.002245/0.01772, allocations: 443.4 kB / 380 MB, free: 320 kB / 302.1 MB Notification: Performance of [INI] Inline: time 0.2198/0.2375, allocations: 380.5 kB / 380.4 MB, free: 16.23 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 8.338e-05/0.2376, allocations: 21.36 kB / 380.4 MB, free: 16.22 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001736/0.2378, allocations: 67.45 kB / 380.5 MB, free: 16.22 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001844/0.2396, allocations: 1.05 MB / 381.5 MB, free: 16.16 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.813e-05/0.2397, allocations: 21.16 kB / 381.6 MB, free: 16.16 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.603e-06/0.2397, allocations: 0.6562 kB / 381.6 MB, free: 16.16 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0001144/0.2398, allocations: 74.44 kB / 381.6 MB, free: 16.09 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.236e-06/0.2398, allocations: 1.125 kB / 381.6 MB, free: 16.09 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.203e-05/0.2398, allocations: 15.16 kB / 381.6 MB, free: 16.09 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.952e-05/0.2398, allocations: 5.156 kB / 381.6 MB, free: 16.09 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0004018/0.2402, allocations: 216.5 kB / 381.9 MB, free: 16.09 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001058/0.2403, allocations: 183.2 kB / 382 MB, free: 15.91 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * 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: .................... 8 (8) {table1.combiTimeTable.nextTimeEvent, table1.combiTimeTable.nextTimeEventScaled, upSample2.y, upSample2.u_super, upSample2.dummy, upSample1.y, upSample1.u_super, upSample1.dummy} * Number of clocked states: ..................... 4 (4) {upSample2.b_super, upSample2.b, upSample1.b_super, upSample1.b} * Number of discrete variables: ................. 7 (7) {sample1.u, upSample1.u, and1.y, $SEV_2, $SEV_1, $SEV_0, $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: ........... 9 (scalar:9, array:0, record:0) * Number of multi strong components: ............ 10 (algorithm:0, when:10, 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: ........... 38 (scalar:37, array:1, record:0) * Number of multi strong components: ............ 2 (algorithm:2, 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 6.036e-05/0.2404, allocations: 44.77 kB / 382.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of SimCode: time 0.002731/0.2431, allocations: 1.095 MB / 383.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of Templates: time 0.006276/0.2494, allocations: 2.062 MB / 385.2 MB, free: 15.39 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.831114430038724] Failed to read output from testmodel.py, exit status != 0: ['time', 'upSample1.y', 'upSample2.y', 'and1.y'] 0.257233913987875 0.27060037000000003 0.257269913 Calling exit ...