Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.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.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 115.7 kB / 17.14 MB, free: 5.883 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.001137/0.001137, allocations: 198.5 kB / 18.08 MB, free: 4.965 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.474/1.474, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.06876/0.06876, allocations: 12.59 MB / 283.9 MB, free: 15.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.087e-05/2.088e-05, allocations: 5.562 kB / 394.8 MB, free: 45.45 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002994/0.003023, allocations: 1.521 MB / 396.3 MB, free: 44.4 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004643/0.003502, allocations: 143.3 kB / 396.4 MB, free: 44.31 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.04e-05/0.003602, allocations: 5.406 kB / 396.4 MB, free: 44.31 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.00372, allocations: 13.72 kB / 396.4 MB, free: 44.3 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.003835, allocations: 7.578 kB / 396.4 MB, free: 44.29 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.004073, allocations: 41.94 kB / 396.5 MB, free: 44.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.004215, allocations: 45.59 kB / 396.5 MB, free: 44.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.004355, allocations: 24.92 kB / 396.6 MB, free: 44.24 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.938e-05/0.004401, allocations: 19.25 kB / 396.6 MB, free: 44.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.508e-05/0.00445, allocations: 16.77 kB / 396.6 MB, free: 44.22 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.004475, allocations: 1.906 kB / 396.6 MB, free: 44.22 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.374e-05/0.004493, allocations: 3.969 kB / 396.6 MB, free: 44.22 MB / 318.1 MB Notification: Performance of combineBinaries: time 8.125e-05/0.00458, allocations: 87.58 kB / 396.7 MB, free: 44.15 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 2.813e-05/0.004613, allocations: 58.44 kB / 396.7 MB, free: 44.11 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.088e-05/0.004638, allocations: 6.906 kB / 396.7 MB, free: 44.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.75e-05/0.00466, allocations: 1.594 kB / 396.7 MB, free: 44.11 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: 9 (8) * Number of variables: 9 (7) Notification: Performance of Bindings: time 0.000384/0.005049, allocations: 324.2 kB / 397.1 MB, free: 43.77 MB / 318.1 MB Notification: Performance of FunctionAlias: time 2.492e-05/0.005081, allocations: 14.34 kB / 397.1 MB, free: 43.76 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0001086/0.005194, allocations: 106.2 kB / 397.2 MB, free: 43.66 MB / 318.1 MB Notification: Performance of simplify1: time 2.195e-05/0.005221, allocations: 11.67 kB / 397.2 MB, free: 43.65 MB / 318.1 MB Notification: Performance of Alias: time 0.0002756/0.005502, allocations: 154.9 kB / 397.3 MB, free: 43.5 MB / 318.1 MB Notification: Performance of simplify2: time 8.786e-06/0.005519, allocations: 3.094 kB / 397.3 MB, free: 43.5 MB / 318.1 MB Notification: Performance of Events: time 8.025e-05/0.005604, allocations: 30.48 kB / 397.4 MB, free: 43.49 MB / 318.1 MB Notification: Performance of Detect States: time 8.576e-05/0.005696, allocations: 57.19 kB / 397.4 MB, free: 43.43 MB / 318.1 MB Notification: Performance of Partitioning: time 9.649e-05/0.005798, allocations: 54.16 kB / 397.5 MB, free: 43.38 MB / 318.1 MB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency $SEV_0 could not be divided by the body size 2 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (2) sample.y = $SEV_0 ($RES_SIM_3) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (3/4) ************************ (1) [ALGB] (1) protected Clock periodicClock.c (2) [DISC] (1) Boolean $SEV_0 (3) [DISC] (2) Integer[2] sample.y System Equations (3/4) ************************ (1) [ARRY] (2) sample.y = $SEV_0 ($RES_SIM_3) (2) [SCAL] (1) periodicClock.c = Clock(periodicClock.factor, 1000) ($RES_SIM_2) (3) [SCAL] (1) $SEV_0 = sample(2, sample.u, periodicClock.c) ($RES_EVT_10)