Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 99.59 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 212.9 kB / 24.49 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.416/1.416, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers") translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/1.929e-05, allocations: 5.234 kB / 378.9 MB, free: 2.469 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002114/0.002134, allocations: 1.235 MB / 380.2 MB, free: 1.227 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009778/0.003111, allocations: 446.3 kB / 380.6 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.54e-05/0.003137, allocations: 0 / 380.6 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.084e-05/0.003168, allocations: 7.938 kB / 380.6 MB, free: 0.7812 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.0004411/0.003609, allocations: 79.77 kB / 380.7 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.003757, allocations: 75.73 kB / 380.8 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.003866, allocations: 43.91 kB / 380.8 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.834e-05/0.003904, allocations: 0 / 380.8 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.694e-05/0.003941, allocations: 23.91 kB / 380.8 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.316e-05/0.003984, allocations: 23.91 kB / 380.9 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.003999, allocations: 4 kB / 380.9 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002671/0.004266, allocations: 159.7 kB / 381 MB, free: 388 kB / 302.1 MB Notification: Performance of combineBinaries: time 9.261e-05/0.004359, allocations: 87.16 kB / 381.1 MB, free: 300 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 3.585e-05/0.004394, allocations: 43.39 kB / 381.1 MB, free: 256 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.243e-05/0.004417, allocations: 8 kB / 381.1 MB, free: 248 kB / 302.1 MB Notification: Performance of FrontEnd: time 7.685e-06/0.004425, allocations: 0 / 381.1 MB, free: 248 kB / 302.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 [SIM] Bindings: time 0.1518/0.1562, allocations: 330.7 kB / 381.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 4.765e-05/0.1562, allocations: 37.06 kB / 381.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0002116/0.1564, allocations: 189.3 kB / 381.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 8.565e-05/0.1565, allocations: 94.36 kB / 381.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.000101/0.1566, allocations: 131.9 kB / 381.9 MB, free: 12.76 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 5.776e-05/0.1567, allocations: 97.91 kB / 382 MB, free: 12.67 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 4.183e-05/0.1567, allocations: 59.95 kB / 382.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001664/0.1569, allocations: 137.5 kB / 382.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of [SIM] Events: time 9.724e-05/0.157, allocations: 32.8 kB / 382.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001677/0.1572, allocations: 109 kB / 382.3 MB, free: 12.47 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.003721/0.1609, allocations: 4.432 MB / 386.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001606/0.161, allocations: 144.9 kB / 386.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.003301/0.1643, allocations: 0.6056 MB / 387.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0002359/0.1646, allocations: 237.8 kB / 387.8 MB, free: 12.03 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.062e-05/0.1646, allocations: 15.3 kB / 387.8 MB, free: 12.01 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 8.716e-05/0.1647, allocations: 76.77 kB / 387.8 MB, free: 12.01 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.01036/0.175, allocations: 17.77 MB / 405.6 MB, free: 15.5 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 1.611e-05/0.1751, allocations: 4 kB / 405.6 MB, free: 15.5 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 1.984e-06/0.1751, allocations: 0 / 405.6 MB, free: 15.5 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.308e-05/0.1751, allocations: 4 kB / 405.6 MB, free: 15.49 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 1.452e-06/0.1751, allocations: 0 / 405.6 MB, free: 15.49 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 1.577e-05/0.1751, allocations: 4 kB / 405.6 MB, free: 15.49 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 9.902e-05/0.1752, allocations: 25.44 kB / 405.6 MB, free: 15.48 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 1.631e-05/0.1752, allocations: 8 kB / 405.7 MB, free: 15.47 MB / 318.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 2 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 85 (13) {r64, r128, r1024, state64, state128, state1024, rImpure, iImpure, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 3 (scalar:0, array:3, record:0) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.818e-05/0.1752, allocations: 18.2 kB / 405.7 MB, free: 15.47 MB / 318.1 MB Notification: Performance of SimCode: time 0.00154/0.1768, allocations: 0.7923 MB / 406.5 MB, free: 14.88 MB / 318.1 MB Notification: Performance of Templates: time 0.007135/0.1839, allocations: 2.698 MB / 409.2 MB, free: 13.22 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Random/Examples/GenerateRandomNumbers/GenerateRandomNumbers.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,r1024,r128,r64 Variables in the result:globalSeed,id,localSeed,r1024,r128,r64,samplePeriod,time [Calling sys.exit(0), Time elapsed: 4.2331852610222995]