Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_Synchronous.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sum.y|unitDelay1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sum.y|unitDelay1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 112.2 kB / 17.14 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 194.5 kB / 18.07 MB, free: 5.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 205.1 MB / 223.9 MB, free: 12.19 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07365/0.07365, allocations: 12.58 MB / 283.9 MB, free: 15.4 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.307e-05/3.308e-05, allocations: 3.406 kB / 394.8 MB, free: 45.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock): time 0.002261/0.002302, allocations: 0.8524 MB / 395.6 MB, free: 45.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003654/0.002679, allocations: 116.9 kB / 395.7 MB, free: 45 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.213e-05/0.002771, allocations: 1.25 kB / 395.7 MB, free: 45 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.233e-05/0.002861, allocations: 13.19 kB / 395.7 MB, free: 44.99 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.639e-05/0.002964, allocations: 8.219 kB / 395.7 MB, free: 44.98 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.003172, allocations: 46.28 kB / 395.8 MB, free: 44.96 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000117/0.003297, allocations: 42.11 kB / 395.8 MB, free: 44.94 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.003421, allocations: 31.05 kB / 395.9 MB, free: 44.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.769e-05/0.003465, allocations: 19.34 kB / 395.9 MB, free: 44.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.092e-05/0.003511, allocations: 19.53 kB / 395.9 MB, free: 44.9 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.003536, allocations: 3.312 kB / 395.9 MB, free: 44.9 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.335e-05/0.003554, allocations: 3.312 kB / 395.9 MB, free: 44.9 MB / 318.1 MB Notification: Performance of combineBinaries: time 9.776e-05/0.003656, allocations: 80.52 kB / 396 MB, free: 44.84 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 5.344e-05/0.003715, allocations: 58.66 kB / 396 MB, free: 44.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.54e-05/0.003764, allocations: 6.562 kB / 396 MB, free: 44.8 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.22e-05/0.003791, allocations: 6.25 kB / 396.1 MB, free: 44.79 MB / 318.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 (10) Notification: Performance of Bindings: time 0.0004159/0.004213, allocations: 337.9 kB / 396.4 MB, free: 44.45 MB / 318.1 MB Notification: Performance of FunctionAlias: time 4.96e-05/0.004268, allocations: 19.53 kB / 396.4 MB, free: 44.43 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0001197/0.004395, allocations: 126.4 kB / 396.5 MB, free: 44.32 MB / 318.1 MB Notification: Performance of simplify1: time 1.082e-05/0.004411, allocations: 6.672 kB / 396.5 MB, free: 44.32 MB / 318.1 MB Notification: Performance of Alias: time 0.0003494/0.004765, allocations: 252.9 kB / 396.8 MB, free: 44.09 MB / 318.1 MB Notification: Performance of simplify2: time 7.163e-06/0.004783, allocations: 10.09 kB / 396.8 MB, free: 44.08 MB / 318.1 MB Notification: Performance of Events: time 1.56e-05/0.004803, allocations: 7 kB / 396.8 MB, free: 44.07 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001037/0.004911, allocations: 47.72 kB / 396.8 MB, free: 44.02 MB / 318.1 MB Notification: Performance of Partitioning: time 5.181e-05/0.004972, allocations: 38.97 kB / 396.9 MB, free: 43.99 MB / 318.1 MB Notification: Performance of Causalize: time 0.0002407/0.005218, allocations: 171.8 kB / 397 MB, free: 43.91 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 7.888e-05/0.005305, allocations: 85.53 kB / 397.1 MB, free: 43.83 MB / 318.1 MB Notification: Performance of Inline: time 0.0001792/0.00549, allocations: 151.5 kB / 397.3 MB, free: 43.69 MB / 318.1 MB Notification: Performance of Partitioning: time 1.524e-05/0.005513, allocations: 12.25 kB / 397.3 MB, free: 43.68 MB / 318.1 MB Notification: Performance of Cleanup: time 1.407e-05/0.005532, allocations: 10.73 kB / 397.3 MB, free: 43.67 MB / 318.1 MB Notification: Performance of Causalize: time 0.0003601/0.005896, allocations: 295.7 kB / 397.6 MB, free: 43.53 MB / 318.1 MB Notification: Performance of Tearing: time 4.027e-06/0.00591, allocations: 0 / 397.6 MB, free: 43.53 MB / 318.1 MB Notification: Performance of Initialization: time 3.11e-07/0.005915, allocations: 0 / 397.6 MB, free: 43.53 MB / 318.1 MB Error: Internal error NBEquation.Equation.getResidualExp failed for: [WHEN] (1)when periodicClock.c then [----] assignClock1.y := sum.y [----] end when;