Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.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.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|uniformNoise.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|uniformNoise.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 118 kB / 17.14 MB, free: 5.922 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.001253/0.001253, allocations: 198.6 kB / 18.08 MB, free: 5 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.508/1.508, allocations: 205.1 MB / 223.9 MB, free: 12.19 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.06983/0.06983, allocations: 12.59 MB / 283.9 MB, free: 15.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.093e-05, allocations: 5.938 kB / 394.8 MB, free: 45.38 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise): time 0.001851/0.001881, allocations: 0.885 MB / 395.7 MB, free: 44.83 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005612/0.002453, allocations: 249.7 kB / 395.9 MB, free: 44.67 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.492e-05/0.002549, allocations: 0 / 395.9 MB, free: 44.67 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.692e-05/0.002606, allocations: 12.27 kB / 395.9 MB, free: 44.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.002756, allocations: 6.141 kB / 395.9 MB, free: 44.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004206/0.00319, allocations: 94.81 kB / 396 MB, free: 44.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.003338, allocations: 56.45 kB / 396.1 MB, free: 44.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.003447, allocations: 27.16 kB / 396.1 MB, free: 44.58 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.702e-05/0.00349, allocations: 16.14 kB / 396.1 MB, free: 44.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.56e-05/0.003561, allocations: 21.55 kB / 396.1 MB, free: 44.56 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.003587, allocations: 3.531 kB / 396.1 MB, free: 44.56 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.003695, allocations: 48.5 kB / 396.2 MB, free: 44.54 MB / 318.1 MB Notification: Performance of combineBinaries: time 8.872e-05/0.00379, allocations: 83.55 kB / 396.3 MB, free: 44.48 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 3.802e-05/0.003833, allocations: 60.31 kB / 396.3 MB, free: 44.44 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.27e-05/0.00386, allocations: 6.312 kB / 396.3 MB, free: 44.44 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.701e-05/0.003883, allocations: 6.75 kB / 396.3 MB, free: 44.43 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: 12 (9) * Number of variables: 12 (10) Notification: Performance of Bindings: time 0.000385/0.004272, allocations: 352.6 kB / 396.7 MB, free: 44.08 MB / 318.1 MB Notification: Performance of FunctionAlias: time 6.453e-05/0.004342, allocations: 30.17 kB / 396.7 MB, free: 44.06 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0001355/0.004484, allocations: 147.1 kB / 396.9 MB, free: 43.94 MB / 318.1 MB Notification: Performance of simplify1: time 1.973e-05/0.004509, allocations: 7.359 kB / 396.9 MB, free: 43.93 MB / 318.1 MB Notification: Performance of Alias: time 0.0003942/0.004909, allocations: 259 kB / 397.1 MB, free: 43.7 MB / 318.1 MB Notification: Performance of simplify2: time 1.912e-05/0.004938, allocations: 3.547 kB / 397.1 MB, free: 43.7 MB / 318.1 MB Notification: Performance of Events: time 4.57e-05/0.004988, allocations: 24.03 kB / 397.1 MB, free: 43.69 MB / 318.1 MB Notification: Performance of Detect States: time 6.834e-05/0.005063, allocations: 49.81 kB / 397.2 MB, free: 43.64 MB / 318.1 MB Notification: Performance of Partitioning: time 6.322e-05/0.005131, allocations: 42.62 kB / 397.2 MB, free: 43.61 MB / 318.1 MB Error: Internal error NBSorting.tarjan failed to sort system: system vars Variables (8/12) ****************************** (1) [DISC] (3) Integer[3] $FUN_3 (2) [ALGB] (1) Real uniformNoise.y (3) [DISC] (1) Integer $FUN_1 (4) [ALGB] (1) protected Clock periodicClock.c (5) [DISC] (1) Boolean $SEV_0 (6) [ALGB] (1) Real sample.y (7) [DISC] (3) protected Integer[3] uniformNoise.seedState (fixed = {true for $i1 in 1:3}, start = uniformNoise.firstSeed) (8) [ALGB] (1) protected Real uniformNoise.noise system eqns Equations (7/12) ****************************** (1) [SCAL] (1) periodicClock.c = Clock(periodicClock.factor, 1000) ($RES_SIM_4) (2) [SCAL] (1) $SEV_0 = sample(1, const.k, periodicClock.c) ($RES_EVT_13) (3) [SCAL] (1) uniformNoise.y = uniformNoise.noiseMin + sample.y + (uniformNoise.noiseMax - uniformNoise.noiseMin) * uniformNoise.noise ($RES_SIM_1) (4) [SCAL] (1) $FUN_1 = previous(uniformNoise.seedState[$i1]) ($RES_$AUX_10) (5) [ARRY] (3) uniformNoise.seedState = $FUN_3 ($RES_$AUX_12) (6) [TUPL] (4) (uniformNoise.noise, $FUN_3) = Modelica_Synchronous.RealSignals.Sampler.Utilities.Internal.random({$FUN_1 for $i1 in 1:3}) ($RES_$AUX_9) (7) [SCAL] (1) sample.y = $SEV_0 ($RES_SIM_5) =================== Scalar Matching =================== variable to equation ********************** var 1 --> eqn 11 var 2 --> eqn 8 var 3 --> eqn 10 var 4 --> eqn 3 var 5 --> eqn 4 var 6 --> eqn 1 var 7 --> eqn 2 var 8 --> eqn 12 var 9 --> eqn 5 var 10 --> eqn 6 var 11 --> eqn 7 var 12 --> eqn 9 equation to variable ********************** eqn 1 --> var 6 eqn 2 --> var 7 eqn 3 --> var 4 eqn 4 --> var 5 eqn 5 --> var 9 eqn 6 --> var 10 eqn 7 --> var 11 eqn 8 --> var 2 eqn 9 --> var 12 eqn 10 --> var 3 eqn 11 --> var 1 eqn 12 --> var 8