Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.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.001689/0.001689, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.002148/0.002148, allocations: 205.2 kB / 24.49 MB, free: 3.961 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.479/1.479, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.17e-05, allocations: 2.281 kB / 378.9 MB, free: 2.504 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003212/0.003234, allocations: 1.743 MB / 380.7 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.004512, allocations: 0.6427 MB / 381.3 MB, free: 108 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.004617, allocations: 11.88 kB / 381.3 MB, free: 96 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.004772, allocations: 27.73 kB / 381.4 MB, free: 68 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002085/0.004981, allocations: 43.7 kB / 381.4 MB, free: 24 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.181/0.186, allocations: 122.8 kB / 381.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003597/0.1863, allocations: 204.2 kB / 381.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.1865, allocations: 26.95 kB / 381.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.1867, allocations: 92.55 kB / 381.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.1869, allocations: 96.39 kB / 381.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.447e-05/0.1869, allocations: 16.53 kB / 381.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.903e-05/0.187, allocations: 20.03 kB / 382 MB, free: 13.04 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002124/0.1872, allocations: 288.4 kB / 382.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 8.572e-05/0.1873, allocations: 181.2 kB / 382.4 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.1873, allocations: 5.5 kB / 382.4 MB, free: 12.78 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.386e-05/0.1874, allocations: 12 kB / 382.4 MB, free: 12.78 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: 40 (28) * Number of variables: 40 (28) Notification: Performance of [SIM] Bindings: time 0.0008784/0.1882, allocations: 0.7723 MB / 383.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 8.551e-05/0.1883, allocations: 76.3 kB / 383.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0006016/0.1889, allocations: 0.5339 MB / 383.8 MB, free: 12.24 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001619/0.1891, allocations: 137.7 kB / 384 MB, free: 12.13 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0009283/0.19, allocations: 0.6241 MB / 384.6 MB, free: 11.92 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001386/0.1902, allocations: 132.2 kB / 384.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 9.475e-05/0.1902, allocations: 80.73 kB / 384.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003855/0.1906, allocations: 321.3 kB / 385.1 MB, free: 11.62 MB / 302.1 MB Notification: Performance of [SIM] Events: time 6.781e-05/0.1907, allocations: 26.59 kB / 385.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003363/0.191, allocations: 257.6 kB / 385.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0007105/0.1917, allocations: 467 kB / 385.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003062/0.1921, allocations: 348.2 kB / 386.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0003679/0.1924, allocations: 252.4 kB / 386.4 MB, free: 11.06 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0004126/0.1928, allocations: 0.5012 MB / 386.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 2.324e-05/0.1929, allocations: 25.45 kB / 387 MB, free: 10.79 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 8.12e-05/0.1929, allocations: 77.3 kB / 387 MB, free: 10.76 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001392/0.1943, allocations: 0.9997 MB / 388 MB, free: 10.5 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.233e-05/0.1944, allocations: 24.56 kB / 388.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.61e-07/0.1944, allocations: 0 / 388.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.02e-05/0.1944, allocations: 2 kB / 388.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 1.135e-05/0.1944, allocations: 20.22 kB / 388.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.294e-05/0.1944, allocations: 2.938 kB / 388.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0003687/0.1948, allocations: 251.8 kB / 388.3 MB, free: 10.37 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 1.183e-05/0.1948, allocations: 0 / 388.3 MB, free: 10.37 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 3 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * 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: .................... 9 (9) {FIR1.y, FIR2.y, superSampleIpo.y, superSampleIpo.u_preSuper, superSampleIpo.u_super, superSampleIpo.u_pre, FIR2.u, upSample.u_super, upSample.dummy} * Number of clocked states: ..................... 15 (9) {FIR1.u_buffer, FIR1.first, FIR2.u_buffer, FIR2.first, superSampleIpo.ticks, superSampleIpo.uu, superSampleIpo.first, upSample.b_super, upSample.b} * Number of discrete variables: ................. 1 (1) {$TEV_0} * Number of clocks: ............................. 1 (1) {periodicClock.c} * Number of top-level inputs: ................... 0 (0) {} Warning: Cannot classify strong component: BLOCK: Sliced Component (status = Solve.EXPLICIT, size = 3) ------------------------------------------------------------- ### Variable: FIR1.u_buffer ### Equation: [WHEN] (3) ($RES_SIM_1) [----] when Clock() then [----] FIR1.u_buffer := if $PRE.FIR1.first then {FIR2.u, FIR2.u * FIR1.cBufStart[1], FIR2.u * FIR1.cBufStart[2]} else {FIR2.u, $PRE.FIR1.u_buffer[1], $PRE.FIR1.u_buffer[2]} [----] end when; Warning: Cannot classify strong component: BLOCK: Sliced Component (status = Solve.EXPLICIT, size = 5) ------------------------------------------------------------- ### Variable: FIR2.u_buffer ### Equation: [WHEN] (5) ($RES_SIM_4) [----] when Clock() then [----] FIR2.u_buffer := if $PRE.FIR2.first then {FIR2.u, FIR2.u * FIR2.cBufStart[1], FIR2.u * FIR2.cBufStart[2], FIR2.u * FIR2.cBufStart[3], FIR2.u * FIR2.cBufStart[4]} else {FIR2.u, $PRE.FIR2.u_buffer[1], $PRE.FIR2.u_buffer[2], $PRE.FIR2.u_buffer[3], $PRE.FIR2.u_buffer[4]} [----] end when; Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 10 (scalar:10, array:0, record:0) * Number of multi strong components: ............ 12 (algorithm:0, when:12, 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:38, array:4, 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 0.000175/0.1949, allocations: 70.22 kB / 388.4 MB, free: 10.34 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.4885775321163237] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'upSample.y', 'superSampleIpo.y', 'FIR1.y', 'FIR2.y'] 0.2045597522519529 0.21791500100000002 0.027959853000000003 Calling exit ...