Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay.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.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|fractionalDelay.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|fractionalDelay.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.FractionalDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 112.3 kB / 17.14 MB, free: 5.934 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.001062/0.001062, allocations: 196.1 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.515/1.515, 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.06888/0.06888, allocations: 12.59 MB / 283.9 MB, free: 15.4 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.755e-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.FractionalDelay): time 0.003064/0.0031, allocations: 1.598 MB / 396.4 MB, free: 44.29 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.004118, allocations: 0.5786 MB / 396.9 MB, free: 43.89 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.899e-05/0.004218, allocations: 5.781 kB / 397 MB, free: 43.88 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002299/0.004453, allocations: 18.36 kB / 397 MB, free: 43.87 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.407e-05/0.004516, allocations: 7.328 kB / 397 MB, free: 43.87 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.004782, allocations: 62.81 kB / 397 MB, free: 43.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.004947, allocations: 83.89 kB / 397.1 MB, free: 43.79 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.00506, allocations: 22.98 kB / 397.1 MB, free: 43.78 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.386e-05/0.005159, allocations: 30.88 kB / 397.2 MB, free: 43.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.323e-05/0.00526, allocations: 33.97 kB / 397.2 MB, free: 43.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.005287, allocations: 7.562 kB / 397.2 MB, free: 43.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.486e-05/0.005307, allocations: 3.531 kB / 397.2 MB, free: 43.75 MB / 318.1 MB Notification: Performance of combineBinaries: time 9.94e-05/0.005411, allocations: 102.2 kB / 397.3 MB, free: 43.68 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 3.774e-05/0.005455, allocations: 70.12 kB / 397.4 MB, free: 43.62 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.005481, allocations: 10.97 kB / 397.4 MB, free: 43.62 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.871e-05/0.005504, allocations: 5.328 kB / 397.4 MB, free: 43.61 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: 11 (10) * Number of variables: 11 (10) Notification: Performance of Bindings: time 0.0003801/0.00589, allocations: 381.9 kB / 397.8 MB, free: 43.24 MB / 318.1 MB Notification: Performance of FunctionAlias: time 8.377e-05/0.005979, allocations: 27.12 kB / 397.8 MB, free: 43.23 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0001481/0.006134, allocations: 154.1 kB / 398 MB, free: 43.1 MB / 318.1 MB Notification: Performance of simplify1: time 2.562e-05/0.006166, allocations: 11.16 kB / 398 MB, free: 43.1 MB / 318.1 MB Notification: Performance of Alias: time 0.0003607/0.006533, allocations: 255.6 kB / 398.2 MB, free: 42.87 MB / 318.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:2011:9-2012:55:writable] Error: Internal error NFCeval.evalBuiltinCall: unimplemented case for previous Notification: Performance of simplify2: time 1.928e-05/0.006561, allocations: 8.719 kB / 398.2 MB, free: 42.86 MB / 318.1 MB Notification: Performance of Events: time 6.813e-05/0.006634, allocations: 38.72 kB / 398.3 MB, free: 42.84 MB / 318.1 MB Notification: Performance of Detect States: time 7.79e-05/0.006719, allocations: 51.95 kB / 398.3 MB, free: 42.79 MB / 318.1 MB Notification: Performance of Partitioning: time 8.751e-05/0.006812, allocations: 57.91 kB / 398.4 MB, free: 42.74 MB / 318.1 MB Error: Internal error NBSlice.fillDependencyArray failed because number of flattened indices 1 for dependency $FUN_3 could not be divided by the body size 2 without rest. Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [ARRY] (2) fractionalDelay.u_buffer = if $FUN_2 then fill(fractionalDelay.u, 2) else {fractionalDelay.u, $FUN_3} ($RES_SIM_1) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (7/8) ************************ (1) [ALGB] (1) Real fractionalDelay.y (2) [ALGB] (2) protected Real[2] fractionalDelay.u_buffer (start = {0.0 for $i1 in 1:2}) (3) [ALGB] (1) Real $FUN_3 (4) [DISC] (1) Boolean $FUN_2 (5) [ALGB] (1) protected Clock periodicClock.c (6) [ALGB] (1) Real fractionalDelay.u (7) [DISC] (1) Boolean $SEV_0 System Equations (7/8) ************************ (1) [SCAL] (1) fractionalDelay.u = $SEV_0 ($RES_SIM_3) (2) [SCAL] (1) $SEV_0 = sample(1, sine.y, periodicClock.c) ($RES_EVT_14) (3) [ARRY] (2) fractionalDelay.u_buffer = if $FUN_2 then fill(fractionalDelay.u, 2) else {fractionalDelay.u, $FUN_3} ($RES_SIM_1) (4) [SCAL] (1) fractionalDelay.y = shiftSample(fractionalDelay.u_buffer[2], 3, 2) ($RES_SIM_0) (5) [SCAL] (1) $FUN_3 = previous(fractionalDelay.u_buffer[1]) ($RES_$AUX_10) (6) [SCAL] (1) $FUN_2 = previous(false) ($RES_$AUX_11) (7) [SCAL] (1) periodicClock.c = Clock(periodicClock.factor, 1000) ($RES_SIM_6)