Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction.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.TestTransferFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 115.5 kB / 17.14 MB, free: 5.758 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.001242/0.001242, allocations: 198.6 kB / 18.08 MB, free: 4.867 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.42/1.42, allocations: 205.1 MB / 223.9 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.07625/0.07625, allocations: 12.59 MB / 283.9 MB, free: 15.4 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.19e-05, allocations: 5.234 kB / 394.7 MB, free: 45.44 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestTransferFunction): time 0.002781/0.002814, allocations: 1.727 MB / 396.5 MB, free: 44.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.003826, allocations: 0.5586 MB / 397 MB, free: 43.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.15e-05/0.003919, allocations: 5.438 kB / 397 MB, free: 43.85 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.004053, allocations: 14.56 kB / 397.1 MB, free: 43.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.981e-05/0.004146, allocations: 16.64 kB / 397.1 MB, free: 43.83 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004826/0.004635, allocations: 92.58 kB / 397.2 MB, free: 43.79 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000215/0.00486, allocations: 154.1 kB / 397.3 MB, free: 43.72 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.004997, allocations: 36.98 kB / 397.3 MB, free: 43.7 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.005127, allocations: 63.77 kB / 397.4 MB, free: 43.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.005269, allocations: 71.03 kB / 397.5 MB, free: 43.64 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.005303, allocations: 8.156 kB / 397.5 MB, free: 43.64 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.449e-05/0.005333, allocations: 9.75 kB / 397.5 MB, free: 43.64 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001507/0.005488, allocations: 191.1 kB / 397.7 MB, free: 43.52 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 8.297e-05/0.005577, allocations: 125.9 kB / 397.8 MB, free: 43.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.005613, allocations: 14.84 kB / 397.8 MB, free: 43.42 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.871e-05/0.005637, allocations: 6.422 kB / 397.8 MB, free: 43.41 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: 23 (21) * Number of variables: 23 (21) Notification: Performance of Bindings: time 0.0006466/0.006288, allocations: 0.6258 MB / 398.5 MB, free: 42.88 MB / 318.1 MB Notification: Performance of FunctionAlias: time 6.187e-05/0.006357, allocations: 21.02 kB / 398.5 MB, free: 42.87 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0003451/0.006709, allocations: 304.2 kB / 398.8 MB, free: 42.68 MB / 318.1 MB Notification: Performance of simplify1: time 3.675e-05/0.006754, allocations: 16.95 kB / 398.8 MB, free: 42.67 MB / 318.1 MB Notification: Performance of Alias: time 0.0005465/0.007306, allocations: 355.6 kB / 399.1 MB, free: 42.38 MB / 318.1 MB Notification: Performance of simplify2: time 1.902e-05/0.007336, allocations: 11.97 kB / 399.1 MB, free: 42.38 MB / 318.1 MB Notification: Performance of Events: time 0.0001029/0.007445, allocations: 49.91 kB / 399.2 MB, free: 42.35 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002668/0.007718, allocations: 212.7 kB / 399.4 MB, free: 42.21 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001636/0.00789, allocations: 119.5 kB / 399.5 MB, free: 42.13 MB / 318.1 MB Error: Internal error NBSorting.tarjan failed to sort system: system vars Variables (7/8) ***************************** (1) [DISS] (1) protected Real transferFunction1.x1 (2) [ALGB] (1) Clock periodicRealClock.y (3) [DISC] (1) Boolean $SEV_0 (4) [ALGB] (1) Real sample1.y (5) [DISS] (1) Real transferFunction1.y (6) [DISS] (1) Real[1] transferFunction1.x (start = {0.0 for $i1 in 1:1}) (7) [DISS] (2) protected Real[2] transferFunction1.xext system eqns Equations (7/8) ***************************** (1) [WHEN] (2)when Clock() then (1) [----] transferFunction1.xext := {transferFunction1.x1, previous(transferFunction1.x[1])} (1) [----] end when; (2) [SCAL] (1) periodicRealClock.y = Clock(periodicRealClock.period) ($RES_SIM_13) (3) [WHEN] (1)when Clock() then (3) [----] transferFunction1.x := transferFunction1.xext[1:1] (3) [----] end when; (4) [SCAL] (1) sample1.y = $SEV_0 ($RES_SIM_14) (5) [WHEN] (1)when Clock() then (5) [----] transferFunction1.y := {transferFunction1.b[1], transferFunction1.b[2]} * transferFunction1.xext (5) [----] end when; (6) [WHEN] (1)when Clock() then (6) [----] transferFunction1.x1 := (sample1.y - transferFunction1.a[2:2] * {previous(transferFunction1.x[1])}) / transferFunction1.a[1] (6) [----] end when; (7) [SCAL] (1) $SEV_0 = sample(3, sample1.u, periodicRealClock.y) ($RES_EVT_25) =================== Scalar Matching =================== variable to equation ********************** var 1 --> eqn 7 var 2 --> eqn 3 var 3 --> eqn 8 var 4 --> eqn 5 var 5 --> eqn 6 var 6 --> eqn 4 var 7 --> eqn 2 var 8 --> eqn 1 equation to variable ********************** eqn 1 --> var 8 eqn 2 --> var 7 eqn 3 --> var 2 eqn 4 --> var 6 eqn 5 --> var 4 eqn 6 --> var 5 eqn 7 --> var 1 eqn 8 --> var 3