Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.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.001177/0.001177, allocations: 109 kB / 17.7 MB, free: 5.395 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.001194/0.001194, allocations: 185.2 kB / 18.63 MB, free: 4.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.29e-05, allocations: 2.281 kB / 302 MB, free: 5.211 MB / 238.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.0025/0.00254, allocations: 1.605 MB / 303.6 MB, free: 3.609 MB / 238.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007789/0.003337, allocations: 489.8 kB / 304.1 MB, free: 3.129 MB / 238.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.427e-05/0.003424, allocations: 4 kB / 304.1 MB, free: 3.125 MB / 238.1 MB Notification: Performance of NFTyping.typeComponents: time 9.043e-05/0.003521, allocations: 11.86 kB / 304.1 MB, free: 3.113 MB / 238.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.003648, allocations: 15.86 kB / 304.1 MB, free: 3.098 MB / 238.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.003872, allocations: 51.81 kB / 304.2 MB, free: 3.047 MB / 238.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.004002, allocations: 59.78 kB / 304.2 MB, free: 2.988 MB / 238.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.004121, allocations: 27.98 kB / 304.3 MB, free: 2.961 MB / 238.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.396e-05/0.004202, allocations: 35.78 kB / 304.3 MB, free: 2.926 MB / 238.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.185e-05/0.004262, allocations: 23.86 kB / 304.3 MB, free: 2.902 MB / 238.1 MB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.004285, allocations: 4 kB / 304.3 MB, free: 2.898 MB / 238.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.221e-05/0.004302, allocations: 4 kB / 304.3 MB, free: 2.895 MB / 238.1 MB Notification: Performance of combineBinaries: time 9.991e-05/0.004406, allocations: 102.8 kB / 304.4 MB, free: 2.793 MB / 238.1 MB Notification: Performance of replaceArrayConstructors: time 3.17e-05/0.004445, allocations: 70.94 kB / 304.5 MB, free: 2.723 MB / 238.1 MB Notification: Performance of NFVerifyModel.verify: time 2.225e-05/0.004472, allocations: 11.94 kB / 304.5 MB, free: 2.711 MB / 238.1 MB Notification: Performance of FrontEnd: time 2.156e-05/0.004499, allocations: 4 kB / 304.5 MB, free: 2.707 MB / 238.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.0003934/0.004897, allocations: 383.4 kB / 304.9 MB, free: 2.23 MB / 238.1 MB Notification: Performance of FunctionAlias: time 9.138e-05/0.004995, allocations: 39.8 kB / 304.9 MB, free: 2.191 MB / 238.1 MB Notification: Performance of Early Inline: time 0.0001224/0.005124, allocations: 140.3 kB / 305.1 MB, free: 2.027 MB / 238.1 MB Notification: Performance of simplify1: time 2.178e-05/0.005152, allocations: 11.98 kB / 305.1 MB, free: 2.016 MB / 238.1 MB Notification: Performance of Alias: time 0.0002885/0.005449, allocations: 172.8 kB / 305.3 MB, free: 1.801 MB / 238.1 MB Notification: Performance of simplify2: time 1.617e-05/0.005476, allocations: 15.97 kB / 305.3 MB, free: 1.785 MB / 238.1 MB Notification: Performance of Events: time 6.91e-05/0.005551, allocations: 39.84 kB / 305.3 MB, free: 1.746 MB / 238.1 MB Notification: Performance of Detect States: time 7.555e-05/0.005633, allocations: 52.22 kB / 305.4 MB, free: 1.68 MB / 238.1 MB Notification: Performance of Partitioning: time 7.265e-05/0.005712, allocations: 56.23 kB / 305.4 MB, free: 1.609 MB / 238.1 MB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency $SEV_0 could not be devided by the body size 2 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (2) sample1.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] sample1.y System Equations (3/4) ************************ (1) [ARRY] (2) sample1.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, sample1.u, periodicClock.c) ($RES_EVT_12)