Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001606/0.001606, allocations: 107.6 kB / 21.25 MB, free: 0.5625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001781/0.001781, allocations: 217.8 kB / 24.55 MB, free: 3.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.579/1.579, allocations: 230.5 MB / 258.2 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.257e-05, allocations: 2.281 kB / 379 MB, free: 2.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002576/0.002599, allocations: 1.25 MB / 380.3 MB, free: 1.074 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.00368, allocations: 446.3 kB / 380.7 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.717e-05/0.003707, allocations: 4 kB / 380.7 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.102e-05/0.003748, allocations: 3.938 kB / 380.7 MB, free: 0.6289 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0004855/0.004234, allocations: 79.7 kB / 380.8 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001631/0.004397, allocations: 71.81 kB / 380.9 MB, free: 492 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.00452, allocations: 47.89 kB / 380.9 MB, free: 444 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.816e-05/0.004568, allocations: 0 / 380.9 MB, free: 444 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.788e-05/0.004606, allocations: 23.91 kB / 380.9 MB, free: 420 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.978e-05/0.004656, allocations: 23.86 kB / 381 MB, free: 396 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.004669, allocations: 0 / 381 MB, free: 396 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002856/0.004954, allocations: 147.8 kB / 381.1 MB, free: 248 kB / 302.1 MB Notification: Performance of combineBinaries: time 9.555e-05/0.00505, allocations: 83.17 kB / 381.2 MB, free: 164 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 4.601e-05/0.005096, allocations: 59.38 kB / 381.2 MB, free: 104 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.309e-05/0.005119, allocations: 4 kB / 381.2 MB, free: 100 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.045e-05/0.005129, allocations: 4 kB / 381.3 MB, free: 96 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.1948/0.1999, allocations: 328.5 kB / 381.6 MB, free: 13 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 4.656e-05/0.1999, allocations: 41.92 kB / 381.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0002626/0.2002, allocations: 187.1 kB / 381.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 9.191e-05/0.2003, allocations: 93.61 kB / 381.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0001178/0.2004, allocations: 129.2 kB / 382 MB, free: 12.71 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 6.756e-05/0.2005, allocations: 93.53 kB / 382.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 5.555e-05/0.2005, allocations: 63.2 kB / 382.2 MB, free: 12.57 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001978/0.2007, allocations: 137.1 kB / 382.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001152/0.2008, allocations: 40.72 kB / 382.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.000198/0.201, allocations: 108.3 kB / 382.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.004757/0.2058, allocations: 4.419 MB / 386.9 MB, free: 12.15 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000175/0.206, allocations: 146.2 kB / 387 MB, free: 12.15 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.003569/0.2095, allocations: 0.6009 MB / 387.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0003118/0.2099, allocations: 238.5 kB / 387.8 MB, free: 11.96 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.493e-05/0.2099, allocations: 15.44 kB / 387.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 9.367e-05/0.21, allocations: 76.48 kB / 387.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.01176/0.2217, allocations: 17.82 MB / 405.8 MB, free: 15.49 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 1.726e-05/0.2217, allocations: 7.812 kB / 405.8 MB, free: 15.49 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 2.134e-06/0.2217, allocations: 0 / 405.8 MB, free: 15.49 MB / 318.1 MB Notification: Performance of [SIM] DAE-Mode: time 4.041e-05/0.2218, allocations: 31.06 kB / 405.8 MB, free: 15.45 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.125e-06/0.2218, allocations: 4 kB / 405.8 MB, free: 15.45 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 1.714e-06/0.2218, allocations: 0 / 405.8 MB, free: 15.45 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 1.568e-05/0.2218, allocations: 0.9844 kB / 405.8 MB, free: 15.45 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 9.773e-05/0.2219, allocations: 26.27 kB / 405.8 MB, free: 15.43 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 9.538e-06/0.2219, allocations: 0 / 405.8 MB, free: 15.43 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.829e-05/0.222, allocations: 24.44 kB / 405.8 MB, free: 15.42 MB / 318.1 MB Notification: Performance of SimCode: time 0.001627/0.2236, allocations: 0.7792 MB / 406.6 MB, free: 14.82 MB / 318.1 MB Notification: Performance of Templates: time 0.005723/0.2293, allocations: 2.043 MB / 408.7 MB, free: 13.57 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Random/Examples/GenerateRandomNumbers/GenerateRandomNumbers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.810511582996696]