Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.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.WorkInProgress.Tests.TestCommunicationDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 113.8 kB / 17.14 MB, free: 5.898 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.000929/0.0009289, allocations: 200.2 kB / 18.08 MB, free: 4.977 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.527/1.527, allocations: 205.1 MB / 223.9 MB, free: 12.2 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.07518/0.07518, allocations: 12.59 MB / 283.9 MB, free: 15.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.094e-05/3.129e-05, allocations: 2.281 kB / 394.7 MB, free: 45.29 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay): time 0.003066/0.003117, allocations: 1.813 MB / 396.6 MB, free: 44.03 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.004529, allocations: 0.7145 MB / 397.3 MB, free: 43.53 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.004669, allocations: 2.875 kB / 397.3 MB, free: 43.53 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003013/0.004977, allocations: 29 kB / 397.3 MB, free: 43.51 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.292e-05/0.005021, allocations: 17.81 kB / 397.3 MB, free: 43.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.005325, allocations: 63.08 kB / 397.4 MB, free: 43.46 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.005553, allocations: 121 kB / 397.5 MB, free: 43.4 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.00573, allocations: 66.33 kB / 397.6 MB, free: 43.37 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.005848, allocations: 50.23 kB / 397.6 MB, free: 43.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.005967, allocations: 39.39 kB / 397.7 MB, free: 43.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.005998, allocations: 10.94 kB / 397.7 MB, free: 43.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.588e-05/0.006019, allocations: 5.375 kB / 397.7 MB, free: 43.32 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001292/0.006153, allocations: 158.3 kB / 397.8 MB, free: 43.2 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 5.544e-05/0.006215, allocations: 111 kB / 397.9 MB, free: 43.12 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.006254, allocations: 14.75 kB / 398 MB, free: 43.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.457e-05/0.006284, allocations: 6.219 kB / 398 MB, free: 43.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: 21 (20) * Number of variables: 21 (20) Notification: Performance of Bindings: time 0.0005424/0.006831, allocations: 0.5276 MB / 398.5 MB, free: 42.63 MB / 318.1 MB Notification: Performance of FunctionAlias: time 8.654e-05/0.006924, allocations: 37.09 kB / 398.5 MB, free: 42.61 MB / 318.1 MB Notification: Performance of Early Inline: time 0.000213/0.007144, allocations: 221.8 kB / 398.7 MB, free: 42.45 MB / 318.1 MB Notification: Performance of simplify1: time 3.251e-05/0.007184, allocations: 16.33 kB / 398.8 MB, free: 42.44 MB / 318.1 MB Notification: Performance of Alias: time 0.000564/0.007754, allocations: 438.6 kB / 399.2 MB, free: 42.12 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 2.184e-05/0.007785, allocations: 8.906 kB / 399.2 MB, free: 42.11 MB / 318.1 MB Notification: Performance of Events: time 7.181e-05/0.007863, allocations: 31.89 kB / 399.2 MB, free: 42.09 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001261/0.007996, allocations: 74.27 kB / 399.3 MB, free: 42.03 MB / 318.1 MB Notification: Performance of Partitioning: time 8.95e-05/0.008092, allocations: 69.05 kB / 399.4 MB, free: 41.98 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) fixedDelay.u_buffer = if $FUN_2 then fill(assignClock1.y, 2) else {assignClock1.y, $FUN_3} ($RES_SIM_1) Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (8/9) ************************ (1) [ALGB] (1) Real $FUN_3 (2) [ALGB] (1) Real fixedDelay.y (3) [DISC] (1) Boolean $FUN_2 (4) [ALGB] (1) Clock periodicRealClock.y (5) [ALGB] (2) protected Real[2] fixedDelay.u_buffer (start = {0.0 for $i1 in 1:2}) (6) [DISC] (1) Boolean $SEV_0 (7) [DISS] (1) Real assignClock1.y (8) [ALGB] (1) Real assignClock1.u System Equations (8/9) ************************ (1) [SCAL] (1) assignClock1.u = $SEV_0 ($RES_SIM_4) (2) [SCAL] (1) $FUN_2 = previous(false) ($RES_$AUX_21) (3) [WHEN] (1)when periodicRealClock.y then (3) [----] assignClock1.y := assignClock1.u (3) [----] end when; (4) [ARRY] (2) fixedDelay.u_buffer = if $FUN_2 then fill(assignClock1.y, 2) else {assignClock1.y, $FUN_3} ($RES_SIM_1) (5) [SCAL] (1) fixedDelay.y = shiftSample(fixedDelay.u_buffer[2], 3, 2) ($RES_SIM_0) (6) [SCAL] (1) $SEV_0 = sample(1, sine.y, Clock()) ($RES_EVT_24) (7) [SCAL] (1) periodicRealClock.y = Clock(periodicRealClock.period) ($RES_SIM_5) (8) [SCAL] (1) $FUN_3 = previous(fixedDelay.u_buffer[1]) ($RES_$AUX_20)