Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001143/0.001143, allocations: 111.8 kB / 18.47 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001191/0.001191, allocations: 210.8 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.228/1.228, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/1.829e-05, allocations: 8.469 kB / 359.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.002665/0.002692, allocations: 1.9 MB / 361.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.004469, allocations: 1.188 MB / 362.4 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.004583, allocations: 7.938 kB / 362.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005171/0.005106, allocations: 147.5 kB / 362.6 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003461/0.005462, allocations: 163.4 kB / 362.7 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003971/0.00587, allocations: 167.5 kB / 362.9 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00024/0.00612, allocations: 207.4 kB / 363.1 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.006237, allocations: 41.52 kB / 363.1 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.817e-05/0.006342, allocations: 71.7 kB / 363.2 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.006457, allocations: 71.69 kB / 363.3 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.006489, allocations: 15.94 kB / 363.3 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.006607, allocations: 59.89 kB / 363.3 MB, free: 8.953 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.000174/0.006788, allocations: 237.2 kB / 363.6 MB, free: 8.719 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 9.497e-05/0.006889, allocations: 169.5 kB / 363.7 MB, free: 8.551 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.383e-05/0.006928, allocations: 19.94 kB / 363.8 MB, free: 8.531 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.677e-05/0.00696, allocations: 7.938 kB / 363.8 MB, free: 8.523 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: 14 (14) * Number of variables: 14 (14) Notification: Performance of Bindings: time 0.0006859/0.007651, allocations: 0.6693 MB / 364.4 MB, free: 7.75 MB / 302.1 MB Notification: Performance of FunctionAlias: time 4.547e-05/0.007703, allocations: 17.62 kB / 364.5 MB, free: 7.734 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0001819/0.007891, allocations: 208.2 kB / 364.7 MB, free: 7.504 MB / 302.1 MB Notification: Performance of simplify1: time 1.963e-05/0.007917, allocations: 7.984 kB / 364.7 MB, free: 7.496 MB / 302.1 MB Notification: Performance of Alias: time 0.0004612/0.008383, allocations: 358.7 kB / 365 MB, free: 7.078 MB / 302.1 MB Notification: Performance of simplify2: time 1.278e-05/0.008407, allocations: 15.98 kB / 365 MB, free: 7.062 MB / 302.1 MB Notification: Performance of Events: time 8.335e-05/0.008495, allocations: 47.84 kB / 365.1 MB, free: 7.016 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001547/0.008656, allocations: 112.7 kB / 365.2 MB, free: 6.895 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001002/0.008764, allocations: 88.36 kB / 365.3 MB, free: 6.785 MB / 302.1 MB Notification: Performance of Causalize: time 0.0003508/0.009121, allocations: 312.4 kB / 365.6 MB, free: 6.457 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001597/0.009291, allocations: 197 kB / 365.8 MB, free: 6.238 MB / 302.1 MB Notification: Performance of Inline: time 0.000453/0.00975, allocations: 460.6 kB / 366.2 MB, free: 5.758 MB / 302.1 MB Notification: Performance of Partitioning: time 3.314e-05/0.009792, allocations: 32.12 kB / 366.3 MB, free: 5.719 MB / 302.1 MB Notification: Performance of Cleanup: time 2.079e-05/0.009818, allocations: 23.86 kB / 366.3 MB, free: 5.695 MB / 302.1 MB Notification: Performance of Causalize: time 0.0007095/0.01053, allocations: 0.6695 MB / 367 MB, free: 5.012 MB / 302.1 MB Notification: Performance of Tearing: time 4.599e-06/0.01055, allocations: 0 / 367 MB, free: 5.012 MB / 302.1 MB Notification: Performance of Initialization: time 3.4e-07/0.01055, allocations: 0 / 367 MB, free: 5.012 MB / 302.1 MB Notification: Performance of Tearing: time 1.062e-06/0.01056, allocations: 0 / 367 MB, free: 5.012 MB / 302.1 MB Notification: Performance of Categorize: time 6.582e-06/0.01057, allocations: 0 / 367 MB, free: 5.012 MB / 302.1 MB Notification: Performance of Solve: time 9.524e-05/0.01067, allocations: 55.95 kB / 367 MB, free: 4.957 MB / 302.1 MB Notification: Performance of Jacobian: time 3.647e-06/0.01068, allocations: 7.938 kB / 367 MB, free: 4.949 MB / 302.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) {sample1.u, subSample1.u, subSample1.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: ........... 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 6.615e-05/0.01075, allocations: 32.19 kB / 367 MB, free: 4.918 MB / 302.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable periodicClock.y.