Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.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.001743/0.001743, allocations: 99.59 kB / 21.2 MB, free: 0.6406 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.002705/0.002705, allocations: 221.1 kB / 24.5 MB, free: 3.922 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.447/1.447, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.IntegerSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5034,variableFilter="time|upSample1.y|upSample2.y|sum.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5034,variableFilter="time|upSample1.y|upSample2.y|sum.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.103e-05/1.103e-05, allocations: 2.281 kB / 378.9 MB, free: 2.613 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.003316/0.003327, allocations: 1.966 MB / 380.9 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1864/0.1897, allocations: 1.267 MB / 382.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/0.1899, allocations: 9.812 kB / 382.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003007/0.1902, allocations: 68.94 kB / 382.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003596/0.1906, allocations: 143.2 kB / 382.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006707/0.1912, allocations: 271.1 kB / 382.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002927/0.1915, allocations: 288.7 kB / 382.9 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.1917, allocations: 47.38 kB / 383 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.1918, allocations: 127.9 kB / 383.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.1919, allocations: 101.7 kB / 383.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.559e-05/0.192, allocations: 12.84 kB / 383.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000154/0.1921, allocations: 77.05 kB / 383.3 MB, free: 12.83 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002168/0.1924, allocations: 371.3 kB / 383.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 9.876e-05/0.1924, allocations: 244 kB / 383.9 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.159e-05/0.1925, allocations: 8.938 kB / 383.9 MB, free: 12.49 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.083e-05/0.1925, allocations: 13.16 kB / 383.9 MB, free: 12.48 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 (23) Notification: Performance of [SIM] Bindings: time 0.000919/0.1934, allocations: 0.8874 MB / 384.8 MB, free: 11.99 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001338/0.1936, allocations: 93.72 kB / 384.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0002846/0.1938, allocations: 346.6 kB / 385.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001305/0.194, allocations: 120 kB / 385.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0007525/0.1947, allocations: 0.5599 MB / 385.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000105/0.1948, allocations: 114.1 kB / 386 MB, free: 11.46 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 5.926e-05/0.1949, allocations: 75.41 kB / 386.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002643/0.1952, allocations: 241.4 kB / 386.3 MB, free: 11.22 MB / 302.1 MB Notification: Performance of [SIM] Events: time 7.899e-05/0.1952, allocations: 36.06 kB / 386.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002723/0.1955, allocations: 241.3 kB / 386.6 MB, free: 11.04 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.00052/0.196, allocations: 412.1 kB / 387 MB, free: 10.87 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002516/0.1963, allocations: 279.2 kB / 387.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.001967/0.1983, allocations: 425 kB / 387.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0003487/0.1986, allocations: 425.6 kB / 388.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 2.853e-05/0.1986, allocations: 23.16 kB / 388.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 7.761e-05/0.1987, allocations: 86.97 kB / 388.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001638/0.2003, allocations: 1.238 MB / 389.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.782e-05/0.2004, allocations: 22.03 kB / 389.5 MB, free: 9.863 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.493e-06/0.2004, allocations: 1.219 kB / 389.5 MB, free: 9.863 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.574e-06/0.2004, allocations: 1.25 kB / 389.5 MB, free: 9.863 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 6.763e-06/0.2004, allocations: 15.53 kB / 389.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.223e-05/0.2004, allocations: 3.234 kB / 389.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0002723/0.2007, allocations: 197.1 kB / 389.7 MB, free: 9.766 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 9.477e-06/0.2007, allocations: 4 kB / 389.7 MB, free: 9.762 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: ......... 3 * 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) {table.combiTimeTable.nextTimeEvent, table.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: ................. 9 (8) {sample1.u, upSample1.u, sum.u, sum.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: ........... 13 (scalar:13, 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: ........... 42 (scalar:40, array:1, record:1) * 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 4.762e-05/0.2007, allocations: 52.3 kB / 389.7 MB, free: 9.723 MB / 302.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: Clock() " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.4916636613197625] Failed to read output from testmodel.py, exit status != 0: ['time', 'upSample1.y', 'upSample2.y', 'sum.y'] 0.22560847830027342 0.221558114 0.026357597 Calling exit ...