Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.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 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.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|unitDelay1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|unitDelay1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.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.001521/0.00152, allocations: 115.5 kB / 17.14 MB, free: 5.758 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.00162/0.00162, allocations: 198.6 kB / 18.08 MB, free: 4.867 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.431/1.431, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.07479/0.07479, allocations: 12.59 MB / 283.9 MB, free: 15.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.661e-05, allocations: 5.234 kB / 394.8 MB, free: 45.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock): time 0.002175/0.002209, allocations: 0.9564 MB / 395.7 MB, free: 44.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000354/0.002575, allocations: 110.5 kB / 395.8 MB, free: 44.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.7e-05/0.002682, allocations: 3.594 kB / 395.8 MB, free: 44.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.593e-05/0.002734, allocations: 5.156 kB / 395.8 MB, free: 44.74 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.00288, allocations: 17.25 kB / 395.9 MB, free: 44.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.003125, allocations: 33.16 kB / 395.9 MB, free: 44.71 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.003298, allocations: 45.45 kB / 395.9 MB, free: 44.69 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.003473, allocations: 37.64 kB / 396 MB, free: 44.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.622e-05/0.003535, allocations: 14.81 kB / 396 MB, free: 44.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.283e-05/0.003603, allocations: 23.33 kB / 396 MB, free: 44.64 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.003633, allocations: 3.375 kB / 396 MB, free: 44.64 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.773e-05/0.003655, allocations: 3.219 kB / 396 MB, free: 44.64 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001066/0.003767, allocations: 82.27 kB / 396.1 MB, free: 44.58 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 3.192e-05/0.003804, allocations: 59.28 kB / 396.2 MB, free: 44.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.003834, allocations: 10.25 kB / 396.2 MB, free: 44.53 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.933e-05/0.00386, allocations: 6.312 kB / 396.2 MB, free: 44.53 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 (11) Notification: Performance of Bindings: time 0.0004555/0.00432, allocations: 349.4 kB / 396.5 MB, free: 44.18 MB / 318.1 MB Notification: Performance of FunctionAlias: time 6.799e-05/0.004394, allocations: 25.95 kB / 396.5 MB, free: 44.16 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0001345/0.004534, allocations: 136.1 kB / 396.7 MB, free: 44.04 MB / 318.1 MB Notification: Performance of simplify1: time 2.141e-05/0.004561, allocations: 8.297 kB / 396.7 MB, free: 44.04 MB / 318.1 MB Notification: Performance of Alias: time 0.0004882/0.005054, allocations: 276 kB / 397 MB, free: 43.79 MB / 318.1 MB Notification: Performance of simplify2: time 5.4e-06/0.005075, allocations: 2.047 kB / 397 MB, free: 43.79 MB / 318.1 MB Notification: Performance of Events: time 1.716e-05/0.0051, allocations: 10.41 kB / 397 MB, free: 43.79 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001212/0.005227, allocations: 48.33 kB / 397 MB, free: 43.73 MB / 318.1 MB Notification: Performance of Partitioning: time 6.398e-05/0.005297, allocations: 32.2 kB / 397 MB, free: 43.71 MB / 318.1 MB Notification: Performance of Causalize: time 0.0002252/0.005528, allocations: 123.4 kB / 397.2 MB, free: 43.65 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 8.947e-05/0.005627, allocations: 87.39 kB / 397.3 MB, free: 43.56 MB / 318.1 MB Notification: Performance of Inline: time 0.0002091/0.005843, allocations: 136.9 kB / 397.4 MB, free: 43.44 MB / 318.1 MB Notification: Performance of Partitioning: time 1.925e-05/0.005871, allocations: 20.39 kB / 397.4 MB, free: 43.41 MB / 318.1 MB Notification: Performance of Cleanup: time 1.711e-05/0.005893, allocations: 6.562 kB / 397.4 MB, free: 43.41 MB / 318.1 MB Notification: Performance of Causalize: time 0.0004387/0.006336, allocations: 264.7 kB / 397.7 MB, free: 43.28 MB / 318.1 MB Notification: Performance of Tearing: time 9.328e-06/0.006355, allocations: 3.938 kB / 397.7 MB, free: 43.27 MB / 318.1 MB Notification: Performance of Initialization: time 3.2e-07/0.006361, allocations: 1.656 kB / 397.7 MB, free: 43.27 MB / 318.1 MB Error: Internal error NBEquation.Equation.getResidualExp failed for: [WHEN] (1)when periodicClock.c then [----] assignClock1.y := add.y [----] end when;