Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.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.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers") translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 115.3 kB / 17.75 MB, free: 5.215 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.001353/0.001353, allocations: 185.8 kB / 18.68 MB, free: 4.297 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.338/1.338, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.149e-05, allocations: 2.281 kB / 351.9 MB, free: 3.293 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001869/0.001898, allocations: 1.225 MB / 353.1 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008756/0.002786, allocations: 459.8 kB / 353.6 MB, free: 1.609 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.717e-05/0.002824, allocations: 0 / 353.6 MB, free: 1.609 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.682e-05/0.002857, allocations: 3.938 kB / 353.6 MB, free: 1.605 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeBindings: time 0.0004204/0.003283, allocations: 75.73 kB / 353.7 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000137/0.003433, allocations: 63.75 kB / 353.7 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.003546, allocations: 59.83 kB / 353.8 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.769e-05/0.00359, allocations: 4 kB / 353.8 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.207e-05/0.003627, allocations: 15.97 kB / 353.8 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.687e-05/0.003669, allocations: 23.86 kB / 353.8 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.003688, allocations: 4 kB / 353.8 MB, free: 1.363 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/0.003889, allocations: 119.8 kB / 354 MB, free: 1.246 MB / 286.1 MB Notification: Performance of combineBinaries: time 6.428e-05/0.003963, allocations: 67.31 kB / 354 MB, free: 1.18 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 2.663e-05/0.003996, allocations: 39.47 kB / 354.1 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.921e-05/0.00402, allocations: 8 kB / 354.1 MB, free: 1.133 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.989e-06/0.004037, allocations: 4 kB / 354.1 MB, free: 1.129 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 (2) * Number of variables: 44 (8) Notification: Performance of Bindings: time 0.0003602/0.004401, allocations: 296.5 kB / 354.4 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of FunctionAlias: time 1.125e-05/0.004418, allocations: 0 / 354.4 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0001859/0.004612, allocations: 184.1 kB / 354.5 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of simplify1: time 1.954e-06/0.004621, allocations: 0 / 354.5 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of Alias: time 6.013e-05/0.004685, allocations: 64.58 kB / 354.6 MB, free: 440 kB / 286.1 MB Notification: Performance of simplify2: time 7.21e-07/0.004691, allocations: 0 / 354.6 MB, free: 440 kB / 286.1 MB Notification: Performance of Events: time 7.764e-05/0.004773, allocations: 31.97 kB / 354.6 MB, free: 408 kB / 286.1 MB Notification: Performance of Detect States: time 0.0001301/0.00491, allocations: 96.08 kB / 354.7 MB, free: 296 kB / 286.1 MB