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.001315/0.001316, allocations: 113 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.001551/0.001551, allocations: 204.9 kB / 19.42 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 227.4 MB / 247.6 MB, free: 10.39 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.749e-05/1.751e-05, allocations: 2.281 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold): time 0.003018/0.003044, allocations: 1.595 MB / 360.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.00426, allocations: 0.5571 MB / 361.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.004431, allocations: 7.875 kB / 361.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.294e-05/0.0045, allocations: 7.922 kB / 361.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001934/0.004715, allocations: 7.938 kB / 361.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005022/0.005225, allocations: 71.73 kB / 361.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.005401, allocations: 47.91 kB / 361.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.00552, allocations: 23.98 kB / 361.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.005672, allocations: 35.78 kB / 361.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.776e-05/0.005739, allocations: 23.86 kB / 361.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.00576, allocations: 0 / 361.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.646e-05/0.005813, allocations: 12 kB / 361.7 MB, free: 10.49 MB / 302.1 MB Notification: Performance of combineBinaries: time 9.086e-05/0.005909, allocations: 90.83 kB / 361.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 3.966e-05/0.005955, allocations: 66.88 kB / 361.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.665e-05/0.005987, allocations: 11.94 kB / 361.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.202e-05/0.006025, allocations: 8 kB / 361.9 MB, free: 10.32 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: 10 (10) * Number of variables: 10 (10) Notification: Performance of Bindings: time 0.0004702/0.0065, allocations: 355.9 kB / 362.3 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FunctionAlias: time 5.898e-05/0.006567, allocations: 19.92 kB / 362.3 MB, free: 9.848 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0001819/0.006754, allocations: 160.2 kB / 362.4 MB, free: 9.664 MB / 302.1 MB Notification: Performance of simplify1: time 1.307e-05/0.006777, allocations: 11.98 kB / 362.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of Alias: time 0.0004436/0.007226, allocations: 253.6 kB / 362.7 MB, free: 9.336 MB / 302.1 MB Notification: Performance of simplify2: time 1.222e-05/0.007248, allocations: 8 kB / 362.7 MB, free: 9.328 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001292/0.007382, allocations: 56.2 kB / 362.8 MB, free: 9.258 MB / 302.1 MB Notification: Performance of Events: time 7.324e-05/0.007463, allocations: 35.8 kB / 362.8 MB, free: 9.223 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001025/0.007574, allocations: 80.42 kB / 362.9 MB, free: 9.113 MB / 302.1 MB Notification: Performance of Causalize: time 0.0002395/0.00782, allocations: 188.7 kB / 363.1 MB, free: 8.898 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001217/0.00795, allocations: 128.8 kB / 363.2 MB, free: 8.746 MB / 302.1 MB Notification: Performance of Inline: time 0.0002189/0.008177, allocations: 196.4 kB / 363.4 MB, free: 8.52 MB / 302.1 MB Notification: Performance of Partitioning: time 3.287e-05/0.008221, allocations: 24.11 kB / 363.4 MB, free: 8.488 MB / 302.1 MB Notification: Performance of Cleanup: time 1.434e-05/0.00824, allocations: 7.938 kB / 363.4 MB, free: 8.48 MB / 302.1 MB Notification: Performance of Causalize: time 0.0004405/0.008685, allocations: 363.6 kB / 363.8 MB, free: 8.121 MB / 302.1 MB Notification: Performance of Tearing: time 6.563e-06/0.008702, allocations: 0 / 363.8 MB, free: 8.121 MB / 302.1 MB Notification: Performance of Initialization: time 1.052e-06/0.008707, allocations: 0 / 363.8 MB, free: 8.121 MB / 302.1 MB Notification: Performance of Tearing: time 3.336e-06/0.008714, allocations: 288 / 363.8 MB, free: 8.121 MB / 302.1 MB Notification: Performance of Categorize: time 1.099e-05/0.00873, allocations: 4 kB / 363.8 MB, free: 8.117 MB / 302.1 MB Error: Internal error NBDifferentiate.differentiateBuiltinCall1Arg failed for: hold Error: Internal error NBSolve.solveStrongComponent failed with status = Solve.UNSOLVABLE while trying to solve following strong component: BLOCK: Single Strong Component (status = Solve.UNPROCESSED) ------------------------------------------------------------- ### Variable: protected Boolean clockToSquareWave.y2 ### Equation: [SCAL] (1) clockToSquareWave.y = hold(clockToSquareWave.y2) ($RES_$AUX_10)