Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|subSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SubSample") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|subSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.001281, allocations: 113.1 kB / 17.14 MB, free: 5.938 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: 194.5 kB / 18.07 MB, free: 5.016 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.453/1.453, allocations: 205.1 MB / 223.9 MB, free: 12.2 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.07683/0.07683, allocations: 12.58 MB / 283.9 MB, free: 15.41 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.932e-05/2.933e-05, allocations: 3.406 kB / 394.8 MB, free: 45.45 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SubSample): time 0.003557/0.003595, allocations: 1.885 MB / 396.6 MB, free: 44.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.005363, allocations: 0.9706 MB / 397.6 MB, free: 43.49 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.005545, allocations: 7.875 kB / 397.6 MB, free: 43.49 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00076/0.006312, allocations: 143.7 kB / 397.8 MB, free: 43.45 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.000402/0.006724, allocations: 110.7 kB / 397.9 MB, free: 43.39 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005564/0.00729, allocations: 178.5 kB / 398 MB, free: 43.3 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004364/0.007736, allocations: 199.6 kB / 398.2 MB, free: 43.21 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.007896, allocations: 40.73 kB / 398.3 MB, free: 43.19 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.008049, allocations: 82.11 kB / 398.4 MB, free: 43.15 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.008187, allocations: 67.11 kB / 398.4 MB, free: 43.12 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.008222, allocations: 9.156 kB / 398.4 MB, free: 43.12 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.008375, allocations: 56.66 kB / 398.5 MB, free: 43.11 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0002095/0.008591, allocations: 229 kB / 398.7 MB, free: 42.95 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 9.301e-05/0.008693, allocations: 157.2 kB / 398.9 MB, free: 42.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.719e-05/0.008746, allocations: 23.41 kB / 398.9 MB, free: 42.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.152e-05/0.008783, allocations: 3.25 kB / 398.9 MB, free: 42.82 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: 14 (14) * Number of variables: 14 (14) Notification: Performance of Bindings: time 0.0007689/0.009556, allocations: 0.6358 MB / 399.5 MB, free: 42.28 MB / 318.1 MB Notification: Performance of FunctionAlias: time 3.322e-05/0.009597, allocations: 17.66 kB / 399.5 MB, free: 42.27 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0001946/0.009797, allocations: 189.6 kB / 399.7 MB, free: 42.12 MB / 318.1 MB Notification: Performance of simplify1: time 2.905e-05/0.009834, allocations: 12.03 kB / 399.7 MB, free: 42.11 MB / 318.1 MB Notification: Performance of Alias: time 0.0004854/0.01032, allocations: 334.7 kB / 400.1 MB, free: 41.84 MB / 318.1 MB Notification: Performance of simplify2: time 1.879e-05/0.01035, allocations: 13.61 kB / 400.1 MB, free: 41.83 MB / 318.1 MB Notification: Performance of Events: time 0.0001206/0.01048, allocations: 47.69 kB / 400.1 MB, free: 41.8 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001771/0.01066, allocations: 96.44 kB / 400.2 MB, free: 41.72 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001288/0.0108, allocations: 95.72 kB / 400.3 MB, free: 41.64 MB / 318.1 MB Notification: Performance of Causalize: time 0.0005394/0.01135, allocations: 386.4 kB / 400.7 MB, free: 41.45 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001926/0.01155, allocations: 198.7 kB / 400.9 MB, free: 41.3 MB / 318.1 MB Notification: Performance of Inline: time 0.0005885/0.01215, allocations: 434.6 kB / 401.3 MB, free: 41.02 MB / 318.1 MB Notification: Performance of Partitioning: time 3.698e-05/0.01219, allocations: 26.94 kB / 401.3 MB, free: 40.99 MB / 318.1 MB Notification: Performance of Cleanup: time 3.108e-05/0.01223, allocations: 23.77 kB / 401.4 MB, free: 40.98 MB / 318.1 MB Notification: Performance of Causalize: time 0.0009618/0.0132, allocations: 0.8285 MB / 402.2 MB, free: 40.55 MB / 318.1 MB Notification: Performance of Tearing: time 7.143e-06/0.01322, allocations: 0 / 402.2 MB, free: 40.55 MB / 318.1 MB Notification: Performance of Initialization: time 3.51e-07/0.01322, allocations: 0 / 402.2 MB, free: 40.55 MB / 318.1 MB Notification: Performance of Tearing: time 2.925e-06/0.01323, allocations: 2.188 kB / 402.2 MB, free: 40.55 MB / 318.1 MB Notification: Performance of Categorize: time 1.175e-05/0.01325, allocations: 5.438 kB / 402.2 MB, free: 40.54 MB / 318.1 MB Notification: Performance of Solve: time 0.0001167/0.01337, allocations: 55.02 kB / 402.2 MB, free: 40.52 MB / 318.1 MB Notification: Performance of Jacobian: time 4.008e-06/0.01338, allocations: 3.984 kB / 402.3 MB, free: 40.51 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: ......... 3 * 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: ................. 8 (8) {sample.u, subSample.u, subSample.y, $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: ........... 11 (scalar:11, 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: ........... 21 (scalar:19, 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 0.0001155/0.0135, allocations: 25.16 kB / 402.3 MB, free: 40.49 MB / 318.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable periodicClock.y.