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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 104 kB / 21.25 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 196.4 kB / 24.53 MB, free: 3.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 225.7 MB / 253.4 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] 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=5041,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=5041,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.276e-05, allocations: 5.516 kB / 371.7 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002537/0.00256, allocations: 1.229 MB / 372.9 MB, free: 8.027 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.003653, allocations: 440.1 kB / 373.4 MB, free: 7.598 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.969e-05/0.003683, allocations: 4 kB / 373.4 MB, free: 7.594 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.684e-05/0.00372, allocations: 3.938 kB / 373.4 MB, free: 7.59 MB / 302.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.0005078/0.004228, allocations: 75.77 kB / 373.4 MB, free: 7.516 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.004387, allocations: 75.7 kB / 373.5 MB, free: 7.441 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.004534, allocations: 55.81 kB / 373.6 MB, free: 7.387 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.212e-05/0.004587, allocations: 0 / 373.6 MB, free: 7.387 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.145e-05/0.004628, allocations: 19.97 kB / 373.6 MB, free: 7.367 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.411e-05/0.004682, allocations: 19.92 kB / 373.6 MB, free: 7.348 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.004696, allocations: 0 / 373.6 MB, free: 7.348 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002793/0.004976, allocations: 155.7 kB / 373.8 MB, free: 7.195 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001019/0.005077, allocations: 79.23 kB / 373.8 MB, free: 7.117 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 4.589e-05/0.005123, allocations: 59.38 kB / 373.9 MB, free: 7.059 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.561e-05/0.005149, allocations: 4 kB / 373.9 MB, free: 7.055 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.568e-06/0.005159, allocations: 4 kB / 373.9 MB, free: 7.051 MB / 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.0005974/0.005756, allocations: 340.6 kB / 374.2 MB, free: 6.598 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 5.216e-05/0.005808, allocations: 32.05 kB / 374.3 MB, free: 6.555 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0002414/0.006049, allocations: 188.2 kB / 374.5 MB, free: 6.344 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001174/0.006167, allocations: 88.7 kB / 374.5 MB, free: 6.211 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0001634/0.00633, allocations: 144.5 kB / 374.7 MB, free: 6.02 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001044/0.006435, allocations: 84.7 kB / 374.8 MB, free: 5.891 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 8.461e-05/0.006519, allocations: 64.39 kB / 374.8 MB, free: 5.801 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002382/0.006757, allocations: 148.5 kB / 375 MB, free: 5.602 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001081/0.006865, allocations: 31.92 kB / 375 MB, free: 5.57 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001993/0.007065, allocations: 112.2 kB / 375.1 MB, free: 5.445 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.004222/0.01129, allocations: 4.423 MB / 379.5 MB, free: 1.008 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001842/0.01147, allocations: 155.8 kB / 379.7 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.003478/0.01495, allocations: 0.5969 MB / 380.3 MB, free: 276 kB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0002869/0.01524, allocations: 243.9 kB / 380.5 MB, free: 28 kB / 302.1 MB Notification: Performance of [INI] Partitioning: time 2.078e-05/0.01526, allocations: 19.98 kB / 380.5 MB, free: 0 / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.000248/0.0155, allocations: 67.05 kB / 380.6 MB, free: 18.95 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.01564/0.03114, allocations: 17.76 MB / 398.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.777e-05/0.03116, allocations: 3.75 kB / 398.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 1.433e-06/0.03116, allocations: 0 / 398.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 3.216e-05/0.03119, allocations: 20.91 kB / 398.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.065e-06/0.0312, allocations: 1.781 kB / 398.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 2.054e-06/0.0312, allocations: 5.156 kB / 398.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.78e-05/0.03122, allocations: 7.672 kB / 398.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0001064/0.03133, allocations: 22.62 kB / 398.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 1.127e-05/0.03134, allocations: 5.688 kB / 398.4 MB, free: 10.52 MB / 302.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 5.157e-05/0.03139, allocations: 27.09 kB / 398.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of SimCode: time 0.001644/0.03303, allocations: 0.7799 MB / 399.2 MB, free: 9.973 MB / 302.1 MB Notification: Performance of Templates: time 0.006195/0.03923, allocations: 2.037 MB / 401.3 MB, free: 8.773 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Math/Random/Examples/GenerateRandomNumbers/GenerateRandomNumbers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.977051438996568]