Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.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.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|hold.y|sample.y|shiftSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|hold.y|sample.y|shiftSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 113.9 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.001274/0.001275, 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.489/1.489, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.06909/0.06909, allocations: 12.59 MB / 283.9 MB, free: 15.41 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.436e-05, allocations: 5.375 kB / 394.8 MB, free: 45.45 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold): time 0.003681/0.003713, allocations: 1.896 MB / 396.7 MB, free: 44.14 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.005541, allocations: 0.9963 MB / 397.7 MB, free: 43.46 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.005722, allocations: 3.719 kB / 397.7 MB, free: 43.46 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006743/0.006403, allocations: 146.6 kB / 397.8 MB, free: 43.41 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.0003227/0.006736, allocations: 119.5 kB / 397.9 MB, free: 43.36 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004685/0.007215, allocations: 178.9 kB / 398.1 MB, free: 43.26 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002976/0.00752, allocations: 208 kB / 398.3 MB, free: 43.17 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.007668, allocations: 39.41 kB / 398.3 MB, free: 43.15 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.007797, allocations: 78.58 kB / 398.4 MB, free: 43.12 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.007931, allocations: 80.38 kB / 398.5 MB, free: 43.08 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.007968, allocations: 13.5 kB / 398.5 MB, free: 43.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.008108, allocations: 53.47 kB / 398.6 MB, free: 43.06 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001701/0.008285, allocations: 241.2 kB / 398.8 MB, free: 42.9 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 7.898e-05/0.008369, allocations: 162.2 kB / 398.9 MB, free: 42.78 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.961e-05/0.008415, allocations: 20.78 kB / 399 MB, free: 42.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.314e-05/0.008443, allocations: 7.344 kB / 399 MB, free: 42.77 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.000699/0.009147, allocations: 0.6652 MB / 399.6 MB, free: 42.2 MB / 318.1 MB Notification: Performance of FunctionAlias: time 5.242e-05/0.009206, allocations: 21.98 kB / 399.7 MB, free: 42.18 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0002024/0.009413, allocations: 216.8 kB / 399.9 MB, free: 42.02 MB / 318.1 MB Notification: Performance of simplify1: time 2.863e-05/0.009449, allocations: 14.42 kB / 399.9 MB, free: 42.01 MB / 318.1 MB Notification: Performance of Alias: time 0.0004558/0.00991, allocations: 395.7 kB / 400.3 MB, free: 41.68 MB / 318.1 MB Notification: Performance of simplify2: time 1.425e-05/0.009934, allocations: 10.08 kB / 400.3 MB, free: 41.68 MB / 318.1 MB Notification: Performance of Events: time 8.758e-05/0.01003, allocations: 48.42 kB / 400.3 MB, free: 41.65 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001551/0.01019, allocations: 100.5 kB / 400.4 MB, free: 41.57 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001098/0.01031, allocations: 108.8 kB / 400.5 MB, free: 41.48 MB / 318.1 MB Notification: Performance of Causalize: time 0.0004717/0.01078, allocations: 420.5 kB / 400.9 MB, free: 41.26 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001795/0.01098, allocations: 211.4 kB / 401.2 MB, free: 41.1 MB / 318.1 MB Notification: Performance of Inline: time 0.0004825/0.01146, allocations: 455.6 kB / 401.6 MB, free: 40.8 MB / 318.1 MB Notification: Performance of Partitioning: time 2.802e-05/0.0115, allocations: 34.14 kB / 401.6 MB, free: 40.77 MB / 318.1 MB Notification: Performance of Cleanup: time 2.358e-05/0.01153, allocations: 12 kB / 401.6 MB, free: 40.77 MB / 318.1 MB Notification: Performance of Causalize: time 0.0008226/0.01236, allocations: 0.8411 MB / 402.5 MB, free: 40.33 MB / 318.1 MB Notification: Performance of Tearing: time 5.83e-06/0.01238, allocations: 0 / 402.5 MB, free: 40.33 MB / 318.1 MB Notification: Performance of Initialization: time 3e-07/0.01238, allocations: 0 / 402.5 MB, free: 40.33 MB / 318.1 MB Notification: Performance of Tearing: time 1.263e-06/0.01239, allocations: 5.25 kB / 402.5 MB, free: 40.32 MB / 318.1 MB Notification: Performance of Categorize: time 9.948e-06/0.0124, allocations: 1.25 kB / 402.5 MB, free: 40.32 MB / 318.1 MB Notification: Performance of Solve: time 0.0001089/0.01252, allocations: 68.72 kB / 402.6 MB, free: 40.29 MB / 318.1 MB Notification: Performance of Jacobian: time 4.178e-06/0.01253, allocations: 5.078 kB / 402.6 MB, free: 40.28 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: ......... 4 * 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: ................. 9 (9) {sample.u, hold.u, hold.y, shiftSample.u, $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: ........... 12 (scalar:12, 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: ........... 22 (scalar:20, 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 7.618e-05/0.01261, allocations: 25.03 kB / 402.6 MB, free: 40.27 MB / 318.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable periodicClock.y.