Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.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.001765/0.001765, 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.002157/0.002157, 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.494/1.494, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|sample1.y|triggeredSampler.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|sample1.y|triggeredSampler.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.756e-05/2.756e-05, allocations: 6.219 kB / 378.9 MB, free: 2.516 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003059/0.003087, allocations: 1.657 MB / 380.6 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.004221, allocations: 0.5415 MB / 381.1 MB, free: 312 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.678e-05/0.004308, allocations: 7.938 kB / 381.1 MB, free: 304 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.119e-05/0.004359, allocations: 3.938 kB / 381.1 MB, free: 300 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.004505, allocations: 15.88 kB / 381.2 MB, free: 284 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003584/0.004863, allocations: 75.72 kB / 381.2 MB, free: 208 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.005019, allocations: 83.77 kB / 381.3 MB, free: 124 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.005166, allocations: 32.12 kB / 381.3 MB, free: 88 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.005308, allocations: 47.84 kB / 381.4 MB, free: 40 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.243e-05/0.00537, allocations: 27.86 kB / 381.4 MB, free: 12 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.005389, allocations: 4 kB / 381.4 MB, free: 8 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.17/0.1754, allocations: 9.297 kB / 381.4 MB, free: 13.1 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001426/0.1756, allocations: 145.6 kB / 381.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 5.341e-05/0.1756, allocations: 106.3 kB / 381.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.409e-05/0.1757, allocations: 3.812 kB / 381.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.543e-05/0.1757, allocations: 4.75 kB / 381.7 MB, free: 12.98 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: 11 (11) * Number of variables: 11 (11) Notification: Performance of [SIM] Bindings: time 0.0005873/0.1763, allocations: 436.2 kB / 382.1 MB, free: 12.65 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 8.717e-05/0.1764, allocations: 46.61 kB / 382.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0002067/0.1766, allocations: 204.8 kB / 382.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 7.27e-05/0.1767, allocations: 86.84 kB / 382.4 MB, free: 12.47 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0005471/0.1772, allocations: 380 kB / 382.8 MB, free: 12.28 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 5.351e-05/0.1773, allocations: 73.38 kB / 382.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 2.766e-05/0.1773, allocations: 53.2 kB / 382.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001516/0.1774, allocations: 116.1 kB / 383.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of [SIM] Events: time 6.957e-05/0.1775, allocations: 19.58 kB / 383.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001522/0.1777, allocations: 103.5 kB / 383.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0002076/0.1779, allocations: 143.6 kB / 383.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 8.84e-05/0.178, allocations: 106.4 kB / 383.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0001637/0.1781, allocations: 149.7 kB / 383.6 MB, free: 11.76 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0001338/0.1783, allocations: 172 kB / 383.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.098e-05/0.1783, allocations: 12.3 kB / 383.7 MB, free: 11.74 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 2.393e-05/0.1783, allocations: 23.25 kB / 383.8 MB, free: 11.74 MB / 302.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) clockToTrigger.y3 = clockToTrigger.y_start ($RES_SRT_20); Notification: Performance of [INI] Causalize: time 0.0004053/0.1787, allocations: 277.1 kB / 384 MB, free: 11.68 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.145e-05/0.1787, allocations: 9.188 kB / 384 MB, free: 11.68 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.183e-06/0.1787, allocations: 0.5312 kB / 384 MB, free: 11.68 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.767e-06/0.1787, allocations: 0.9688 kB / 384 MB, free: 11.68 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 4.579e-06/0.1787, allocations: 8.5 kB / 384.1 MB, free: 11.67 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 6.261e-06/0.1787, allocations: 3.781 kB / 384.1 MB, free: 11.67 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0001172/0.1788, allocations: 67 kB / 384.1 MB, free: 11.67 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 8.687e-06/0.1788, allocations: 5.375 kB / 384.1 MB, free: 11.67 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: ......... 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: .................... 2 (2) {clockToTrigger.uu, triggeredSampler.y} * Number of clocked states: ..................... 1 (1) {clockToTrigger.y2} * Number of discrete variables: ................. 4 (4) {triggeredSampler.trigger, clockToTrigger.y3, $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: ........... 5 (scalar:5, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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: ........... 11 (scalar:11, 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 9.186e-05/0.1789, allocations: 23.17 kB / 384.2 MB, free: 11.66 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.4684061291627586] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'triggeredSampler.y'] 0.18701014714315534 0.199351673 0.020728450000000002 Calling exit ...