Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001219/0.001219, allocations: 119.7 kB / 18.47 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001304/0.001304, allocations: 205 kB / 19.42 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.977e-05/2.978e-05, allocations: 4.531 kB / 359.3 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002197/0.002235, allocations: 0.9441 MB / 360.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003495/0.002597, allocations: 119.6 kB / 360.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.696e-05/0.002693, allocations: 4 kB / 360.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.381e-05/0.002744, allocations: 3.938 kB / 360.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.002892, allocations: 7.875 kB / 360.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.003146, allocations: 39.89 kB / 360.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.003292, allocations: 43.84 kB / 360.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.003429, allocations: 28.16 kB / 360.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.138e-05/0.003467, allocations: 11.94 kB / 360.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.421e-05/0.003516, allocations: 27.84 kB / 360.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.003542, allocations: 4 kB / 360.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.38e-05/0.00356, allocations: 4 kB / 360.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.000108/0.003673, allocations: 86.67 kB / 360.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 3.266e-05/0.003711, allocations: 59.06 kB / 360.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.003742, allocations: 12 kB / 360.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.466e-05/0.003772, allocations: 3.938 kB / 360.7 MB, free: 11.53 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 Bindings: time 0.0004494/0.004226, allocations: 359.7 kB / 361.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of FunctionAlias: time 5.186e-05/0.004284, allocations: 15.98 kB / 361.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0001292/0.004419, allocations: 132.3 kB / 361.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simplify1: time 1.931e-05/0.004445, allocations: 7.984 kB / 361.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of Alias: time 0.0004708/0.004921, allocations: 309.9 kB / 361.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simplify2: time 4.639e-06/0.004936, allocations: 0 / 361.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of Events: time 1.744e-05/0.00496, allocations: 12 kB / 361.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001074/0.005073, allocations: 40.12 kB / 361.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of Partitioning: time 5.69e-05/0.005137, allocations: 32.11 kB / 361.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of Causalize: time 0.0001462/0.005289, allocations: 100.1 kB / 361.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 7.172e-05/0.005369, allocations: 84.33 kB / 361.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of Inline: time 0.0001616/0.005537, allocations: 136.4 kB / 361.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of Partitioning: time 1.896e-05/0.005564, allocations: 20.11 kB / 361.9 MB, free: 10 MB / 302.1 MB Notification: Performance of Cleanup: time 9.207e-06/0.005582, allocations: 7.938 kB / 362 MB, free: 9.996 MB / 302.1 MB Notification: Performance of Causalize: time 0.0002921/0.005879, allocations: 239.4 kB / 362.2 MB, free: 9.754 MB / 302.1 MB Notification: Performance of Tearing: time 5.811e-06/0.005894, allocations: 0 / 362.2 MB, free: 9.754 MB / 302.1 MB Notification: Performance of Initialization: time 2.9e-07/0.005902, allocations: 4 kB / 362.2 MB, free: 9.75 MB / 302.1 MB Error: Internal error NBEquation.Equation.getResidualExp failed for: [WHEN] (1)when periodicClock.c then [----] assignClock1.y := add.y [----] end when;