Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.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.AssignClockToSquareWaveHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|clockToSquareWave.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|clockToSquareWave.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00123/0.00123, allocations: 114.4 kB / 18.42 MB, free: 4.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001397/0.001397, allocations: 219.5 kB / 19.37 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.235/1.235, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.14e-05/2.152e-05, allocations: 2.281 kB / 308.3 MB, free: 15.95 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold): time 0.002562/0.002596, allocations: 1.6 MB / 309.9 MB, free: 14.36 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009165/0.003528, allocations: 0.557 MB / 310.5 MB, free: 13.8 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.371e-05/0.003614, allocations: 3.938 kB / 310.5 MB, free: 13.79 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 3.589e-05/0.003656, allocations: 3.938 kB / 310.5 MB, free: 13.79 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 9.402e-05/0.003756, allocations: 15.86 kB / 310.5 MB, free: 13.77 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.004044, allocations: 55.83 kB / 310.6 MB, free: 13.72 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.004154, allocations: 71.75 kB / 310.6 MB, free: 13.65 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.868e-05/0.00423, allocations: 12 kB / 310.6 MB, free: 13.64 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.777e-05/0.004324, allocations: 31.86 kB / 310.7 MB, free: 13.61 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.925e-05/0.004372, allocations: 27.89 kB / 310.7 MB, free: 13.58 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.004391, allocations: 4 kB / 310.7 MB, free: 13.57 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.178e-05/0.004427, allocations: 11.94 kB / 310.7 MB, free: 13.56 MB / 254.1 MB Notification: Performance of combineBinaries: time 7.761e-05/0.00451, allocations: 90.83 kB / 310.8 MB, free: 13.47 MB / 254.1 MB Notification: Performance of replaceArrayConstructors: time 2.835e-05/0.004546, allocations: 70.91 kB / 310.9 MB, free: 13.4 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 1.812e-05/0.004569, allocations: 11.94 kB / 310.9 MB, free: 13.39 MB / 254.1 MB Notification: Performance of FrontEnd: time 1.509e-05/0.004589, allocations: 4 kB / 310.9 MB, free: 13.39 MB / 254.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 (10) * Number of variables: 10 (10) Notification: Performance of Bindings: time 0.0003512/0.004944, allocations: 351.9 kB / 311.2 MB, free: 12.94 MB / 254.1 MB Notification: Performance of FunctionAlias: time 3.312e-05/0.004983, allocations: 19.84 kB / 311.2 MB, free: 12.92 MB / 254.1 MB Notification: Performance of Early Inline: time 0.0001503/0.005139, allocations: 160.3 kB / 311.4 MB, free: 12.74 MB / 254.1 MB Notification: Performance of simplify1: time 1.1e-05/0.005158, allocations: 15.92 kB / 311.4 MB, free: 12.72 MB / 254.1 MB Notification: Performance of Alias: time 0.0002699/0.005433, allocations: 237.9 kB / 311.6 MB, free: 12.42 MB / 254.1 MB Notification: Performance of simplify2: time 1.094e-05/0.005452, allocations: 8 kB / 311.7 MB, free: 12.41 MB / 254.1 MB Notification: Performance of Events: time 4.788e-05/0.005512, allocations: 31.86 kB / 311.7 MB, free: 12.38 MB / 254.1 MB Notification: Performance of Detect States: time 9.89e-05/0.005617, allocations: 72.91 kB / 311.8 MB, free: 12.3 MB / 254.1 MB Notification: Performance of Partitioning: time 7.239e-05/0.005697, allocations: 76.42 kB / 311.8 MB, free: 12.2 MB / 254.1 MB Notification: Performance of Causalize: time 0.0002512/0.005955, allocations: 245.4 kB / 312.1 MB, free: 11.93 MB / 254.1 MB Notification: Performance of After Index Reduction Inline: time 9.374e-05/0.006057, allocations: 116.4 kB / 312.2 MB, free: 11.79 MB / 254.1 MB Notification: Performance of Inline: time 0.0001814/0.006245, allocations: 204.5 kB / 312.4 MB, free: 11.55 MB / 254.1 MB Notification: Performance of Partitioning: time 1.579e-05/0.006268, allocations: 20.12 kB / 312.4 MB, free: 11.52 MB / 254.1 MB Notification: Performance of Cleanup: time 1.487e-05/0.006288, allocations: 15.92 kB / 312.4 MB, free: 11.51 MB / 254.1 MB Notification: Performance of Causalize: time 0.0003635/0.006657, allocations: 381.6 kB / 312.8 MB, free: 11.13 MB / 254.1 MB Notification: Performance of Tearing: time 3.897e-06/0.00667, allocations: 3.938 kB / 312.8 MB, free: 11.12 MB / 254.1 MB Notification: Performance of Initialization: time 3.5e-07/0.006675, allocations: 0 / 312.8 MB, free: 11.12 MB / 254.1 MB Notification: Performance of Tearing: time 9.72e-07/0.006681, allocations: 4 kB / 312.8 MB, free: 11.12 MB / 254.1 MB Notification: Performance of Categorize: time 7.093e-06/0.006693, allocations: 288 / 312.8 MB, free: 11.12 MB / 254.1 MB Error: Internal error NBDifferentiate.differentiateBuiltinCall1Arg failed for: hold