Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold.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.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 111.5 kB / 17.14 MB, free: 5.957 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.001218/0.001218, allocations: 197.4 kB / 18.08 MB, free: 5.031 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.519/1.519, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.06905/0.06905, allocations: 12.58 MB / 283.9 MB, free: 15.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.501e-05/2.5e-05, allocations: 2.281 kB / 394.8 MB, free: 45.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold): time 0.003105/0.003138, allocations: 1.898 MB / 396.7 MB, free: 44.12 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.004717, allocations: 1.073 MB / 397.7 MB, free: 43.39 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.004858, allocations: 7.406 kB / 397.7 MB, free: 43.38 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003616/0.005226, allocations: 66.92 kB / 397.8 MB, free: 43.36 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.005523, allocations: 98.7 kB / 397.9 MB, free: 43.3 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006073/0.006139, allocations: 227.6 kB / 398.1 MB, free: 43.19 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002722/0.006419, allocations: 195 kB / 398.3 MB, free: 43.1 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.00656, allocations: 42.5 kB / 398.4 MB, free: 43.08 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.006682, allocations: 78.47 kB / 398.4 MB, free: 43.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.006825, allocations: 79.67 kB / 398.5 MB, free: 43.01 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.246e-05/0.006864, allocations: 8.906 kB / 398.5 MB, free: 43.01 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.007034, allocations: 65.41 kB / 398.6 MB, free: 42.99 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001794/0.00722, allocations: 225.2 kB / 398.8 MB, free: 42.84 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 8.265e-05/0.007309, allocations: 151 kB / 398.9 MB, free: 42.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.252e-05/0.007356, allocations: 24.38 kB / 399 MB, free: 42.71 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.494e-05/0.007386, allocations: 7.188 kB / 399 MB, free: 42.71 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: 16 (16) * Number of variables: 16 (16) Notification: Performance of Bindings: time 0.0006908/0.008083, allocations: 0.6819 MB / 399.7 MB, free: 42.13 MB / 318.1 MB Notification: Performance of FunctionAlias: time 8.018e-05/0.00817, allocations: 37.31 kB / 399.7 MB, free: 42.11 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0002134/0.008389, allocations: 219.4 kB / 399.9 MB, free: 41.95 MB / 318.1 MB Notification: Performance of simplify1: time 4.096e-05/0.008437, allocations: 21.39 kB / 399.9 MB, free: 41.93 MB / 318.1 MB Notification: Performance of Alias: time 0.0004788/0.008921, allocations: 397.2 kB / 400.3 MB, free: 41.61 MB / 318.1 MB Notification: Performance of simplify2: time 2.12e-05/0.008952, allocations: 12.45 kB / 400.3 MB, free: 41.6 MB / 318.1 MB Notification: Performance of Events: time 0.0001063/0.009063, allocations: 60.09 kB / 400.4 MB, free: 41.57 MB / 318.1 MB Notification: Performance of Detect States: time 0.000167/0.009237, allocations: 113.2 kB / 400.5 MB, free: 41.48 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001362/0.009381, allocations: 118.8 kB / 400.6 MB, free: 41.37 MB / 318.1 MB Notification: Performance of Causalize: time 0.0005931/0.00998, allocations: 0.5092 MB / 401.1 MB, free: 41.1 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002198/0.01021, allocations: 229.1 kB / 401.3 MB, free: 40.93 MB / 318.1 MB Notification: Performance of Inline: time 0.0005404/0.01075, allocations: 460.5 kB / 401.8 MB, free: 40.63 MB / 318.1 MB Notification: Performance of Partitioning: time 3.079e-05/0.01079, allocations: 35.89 kB / 401.8 MB, free: 40.6 MB / 318.1 MB Notification: Performance of Cleanup: time 3.117e-05/0.01083, allocations: 21 kB / 401.9 MB, free: 40.59 MB / 318.1 MB Notification: Performance of Causalize: time 0.0009927/0.01183, allocations: 0.9178 MB / 402.8 MB, free: 40.14 MB / 318.1 MB Notification: Performance of Tearing: time 6.683e-06/0.01185, allocations: 4 kB / 402.8 MB, free: 40.14 MB / 318.1 MB Notification: Performance of Initialization: time 3.7e-07/0.01185, allocations: 0 / 402.8 MB, free: 40.14 MB / 318.1 MB Notification: Performance of Tearing: time 2.254e-06/0.01186, allocations: 5.156 kB / 402.8 MB, free: 40.13 MB / 318.1 MB Notification: Performance of Categorize: time 9.729e-06/0.01187, allocations: 1.312 kB / 402.8 MB, free: 40.13 MB / 318.1 MB Notification: Performance of Solve: time 0.0001094/0.01199, allocations: 70.73 kB / 402.9 MB, free: 40.09 MB / 318.1 MB Notification: Performance of Jacobian: time 3.146e-06/0.012, allocations: 0 / 402.9 MB, free: 40.09 MB / 318.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 5 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 2 (2) {table.combiTimeTable.nextTimeEventScaled, table.combiTimeTable.nextTimeEvent} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 10 (10) {sample.u, sample.y, hold.y, shiftSample.y, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 15 (scalar:15, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 25 (scalar:23, array:1, record:1) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 6.239e-05/0.01206, allocations: 29.36 kB / 402.9 MB, free: 40.07 MB / 318.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable periodicClock.y.