Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 116.6 kB / 17.75 MB, free: 5.168 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.001212/0.001212, allocations: 192.6 kB / 18.68 MB, free: 4.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.227/1.227, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.605e-05/2.606e-05, allocations: 5.516 kB / 351.9 MB, free: 3.258 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.001999/0.002033, allocations: 0.9355 MB / 352.9 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002733/0.002318, allocations: 123.6 kB / 353 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.862e-05/0.002377, allocations: 0 / 353 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.467e-05/0.002408, allocations: 11.86 kB / 353 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.127e-05/0.002475, allocations: 7.938 kB / 353 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.002632, allocations: 38.02 kB / 353.1 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.667e-05/0.002716, allocations: 51.84 kB / 353.1 MB, free: 2.094 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.679e-05/0.00279, allocations: 24.17 kB / 353.1 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.972e-05/0.002816, allocations: 15.92 kB / 353.1 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.334e-05/0.002844, allocations: 19.86 kB / 353.2 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.002864, allocations: 4 kB / 353.2 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.477e-06/0.002878, allocations: 4 kB / 353.2 MB, free: 2.023 MB / 286.1 MB Notification: Performance of combineBinaries: time 5.975e-05/0.002941, allocations: 78.92 kB / 353.2 MB, free: 1.945 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 3.744e-05/0.002986, allocations: 66.97 kB / 353.3 MB, free: 1.879 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.685e-05/0.003009, allocations: 8 kB / 353.3 MB, free: 1.871 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.685e-05/0.003031, allocations: 7.938 kB / 353.3 MB, free: 1.863 MB / 286.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 Bindings: time 0.0003629/0.003398, allocations: 367.6 kB / 353.7 MB, free: 1.402 MB / 286.1 MB Notification: Performance of FunctionAlias: time 3.482e-05/0.003443, allocations: 4 kB / 353.7 MB, free: 1.398 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0001216/0.00358, allocations: 132.3 kB / 353.8 MB, free: 1.242 MB / 286.1 MB Notification: Performance of simplify1: time 1.381e-05/0.0036, allocations: 7.984 kB / 353.8 MB, free: 1.234 MB / 286.1 MB Notification: Performance of Alias: time 0.0003732/0.003978, allocations: 313.9 kB / 354.1 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of simplify2: time 8.265e-06/0.003997, allocations: 11.98 kB / 354.1 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of Events: time 7.133e-06/0.004009, allocations: 0 / 354.1 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of Detect States: time 9.63e-05/0.00411, allocations: 48.2 kB / 354.2 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of Partitioning: time 4.013e-05/0.004156, allocations: 32.05 kB / 354.2 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of Causalize: time 0.0001221/0.004285, allocations: 88.09 kB / 354.3 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 6.433e-05/0.004359, allocations: 84.33 kB / 354.4 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of Inline: time 0.0001452/0.00451, allocations: 144.5 kB / 354.5 MB, free: 368 kB / 286.1 MB Notification: Performance of Partitioning: time 1.469e-05/0.004534, allocations: 24.2 kB / 354.6 MB, free: 336 kB / 286.1 MB Notification: Performance of Cleanup: time 9.187e-06/0.004548, allocations: 11.97 kB / 354.6 MB, free: 324 kB / 286.1 MB Notification: Performance of Causalize: time 0.0002716/0.004824, allocations: 233.9 kB / 354.8 MB, free: 80 kB / 286.1 MB Notification: Performance of Tearing: time 2.384e-06/0.004836, allocations: 0 / 354.8 MB, free: 80 kB / 286.1 MB Notification: Performance of Initialization: time 3.41e-07/0.004841, allocations: 0 / 354.8 MB, free: 80 kB / 286.1 MB Error: Internal error NBEquation.Equation.getResidualExp failed for: [WHEN] (1)when periodicClock.c then [----] assignClock1.y := add.y [----] end when;