Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.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.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 108.6 kB / 17.14 MB, free: 6.031 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.001796/0.001796, allocations: 194.6 kB / 18.07 MB, free: 5.105 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.498/1.498, allocations: 205.1 MB / 224 MB, free: 12.22 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.06942/0.06942, allocations: 12.59 MB / 283.9 MB, free: 15.41 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.918e-05/2.92e-05, allocations: 2.281 kB / 394.8 MB, free: 45.39 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.00307/0.003109, allocations: 1.606 MB / 396.4 MB, free: 44.29 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009351/0.004059, allocations: 0.5224 MB / 396.9 MB, free: 43.92 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.354e-05/0.004164, allocations: 5.812 kB / 396.9 MB, free: 43.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.004281, allocations: 5.719 kB / 396.9 MB, free: 43.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.004406, allocations: 17.59 kB / 396.9 MB, free: 43.9 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.004685, allocations: 49.39 kB / 397 MB, free: 43.87 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.004857, allocations: 71.56 kB / 397 MB, free: 43.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.004984, allocations: 20.31 kB / 397.1 MB, free: 43.83 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.107e-05/0.005072, allocations: 34.97 kB / 397.1 MB, free: 43.81 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.491e-05/0.005144, allocations: 26.34 kB / 397.1 MB, free: 43.8 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.005171, allocations: 3.25 kB / 397.1 MB, free: 43.8 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.599e-05/0.005192, allocations: 4.438 kB / 397.1 MB, free: 43.8 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001343/0.00533, allocations: 106.4 kB / 397.2 MB, free: 43.72 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 3.585e-05/0.005371, allocations: 66.34 kB / 397.3 MB, free: 43.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.62e-05/0.005403, allocations: 14.66 kB / 397.3 MB, free: 43.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.991e-05/0.005429, allocations: 2.344 kB / 397.3 MB, free: 43.66 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.0004085/0.005842, allocations: 386.5 kB / 397.7 MB, free: 43.29 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001056/0.005955, allocations: 40.84 kB / 397.7 MB, free: 43.26 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0001664/0.006128, allocations: 141.4 kB / 397.9 MB, free: 43.14 MB / 318.1 MB Notification: Performance of simplify1: time 3.295e-05/0.006166, allocations: 10.91 kB / 397.9 MB, free: 43.14 MB / 318.1 MB Notification: Performance of Alias: time 0.0003498/0.006521, allocations: 167.9 kB / 398 MB, free: 42.99 MB / 318.1 MB Notification: Performance of simplify2: time 1.875e-05/0.006549, allocations: 11.88 kB / 398.1 MB, free: 42.98 MB / 318.1 MB Notification: Performance of Events: time 8.294e-05/0.006638, allocations: 36.55 kB / 398.1 MB, free: 42.96 MB / 318.1 MB Notification: Performance of Detect States: time 8.478e-05/0.006729, allocations: 60.02 kB / 398.1 MB, free: 42.91 MB / 318.1 MB Notification: Performance of Partitioning: time 0.000103/0.00684, allocations: 69.83 kB / 398.2 MB, free: 42.85 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) [ALGB] (2) Real[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_12)