Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.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.00129/0.00129, 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.001522/0.001522, allocations: 220.8 kB / 24.5 MB, free: 3.926 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.428/1.428, 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.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.757e-05/2.757e-05, allocations: 2.281 kB / 378.9 MB, free: 2.484 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003242/0.00327, allocations: 1.745 MB / 380.7 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.004479, allocations: 0.5766 MB / 381.3 MB, free: 160 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.623e-05/0.004575, allocations: 7.875 kB / 381.3 MB, free: 152 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.525e-05/0.00463, allocations: 11.81 kB / 381.3 MB, free: 140 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.00479, allocations: 15.86 kB / 381.3 MB, free: 124 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004548/0.005244, allocations: 103.7 kB / 381.4 MB, free: 20 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2082/0.2135, allocations: 123.9 kB / 381.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.2137, allocations: 25.05 kB / 381.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002664/0.2139, allocations: 63 kB / 381.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.912e-05/0.214, allocations: 46.23 kB / 381.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.902e-05/0.2141, allocations: 7.281 kB / 381.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.504e-05/0.2141, allocations: 16.36 kB / 381.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001798/0.2143, allocations: 201.2 kB / 381.9 MB, free: 12.94 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 7.013e-05/0.2144, allocations: 131 kB / 382 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.2144, allocations: 9.812 kB / 382 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.629e-05/0.2144, allocations: 7.094 kB / 382 MB, free: 12.86 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: 18 (18) * Number of variables: 18 (18) Notification: Performance of [SIM] Bindings: time 0.0007033/0.2152, allocations: 0.5658 MB / 382.6 MB, free: 12.47 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 7.954e-05/0.2152, allocations: 61.77 kB / 382.6 MB, free: 12.44 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0002905/0.2155, allocations: 293.6 kB / 382.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 9.881e-05/0.2156, allocations: 103.2 kB / 383 MB, free: 12.29 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0006747/0.2163, allocations: 465.5 kB / 383.5 MB, free: 12.08 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 8.135e-05/0.2164, allocations: 86.75 kB / 383.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 4.463e-05/0.2164, allocations: 63.48 kB / 383.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002415/0.2167, allocations: 185 kB / 383.8 MB, free: 11.81 MB / 302.1 MB Notification: Performance of [SIM] Events: time 6.878e-05/0.2167, allocations: 20 kB / 383.8 MB, free: 11.81 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.000213/0.2169, allocations: 164 kB / 384 MB, free: 11.72 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.000305/0.2172, allocations: 219 kB / 384.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001619/0.2174, allocations: 170 kB / 384.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0002342/0.2176, allocations: 190 kB / 384.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0002133/0.2179, allocations: 255.6 kB / 384.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.546e-05/0.2179, allocations: 16.44 kB / 384.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 4.717e-05/0.2179, allocations: 45.77 kB / 384.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0007001/0.2186, allocations: 499.5 kB / 385.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.59e-05/0.2186, allocations: 11.56 kB / 385.4 MB, free: 11.37 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 8.72e-07/0.2186, allocations: 0.875 kB / 385.4 MB, free: 11.37 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.082e-06/0.2186, allocations: 1.031 kB / 385.4 MB, free: 11.37 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 7.093e-06/0.2187, allocations: 13.09 kB / 385.4 MB, free: 11.37 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.119e-05/0.2187, allocations: 0.8125 kB / 385.4 MB, free: 11.37 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0001961/0.2189, allocations: 113.5 kB / 385.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 8.085e-06/0.2189, allocations: 1.375 kB / 385.5 MB, free: 11.36 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: .................... 6 (6) {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: ................. 1 (1) {$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: ............ 8 (algorithm:0, when:8, 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: ........... 21 (scalar:21, 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 0.0001036/0.219, allocations: 41.92 kB / 385.5 MB, free: 11.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.394076982047409] Failed to read output from testmodel.py, exit status != 0: ['time', 'upSample1.y', 'upSample2.y', 'add.y'] 0.22708528395742178 0.239451085 0.022535910000000003 Calling exit ...