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.001356/0.001356, allocations: 103.6 kB / 21.25 MB, free: 0.5664 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.001634/0.001634, allocations: 212.5 kB / 24.55 MB, free: 3.824 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.523/1.523, allocations: 230.7 MB / 258.3 MB, free: 7.773 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 2.235e-05/2.235e-05, allocations: 5.234 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.003024/0.003046, allocations: 1.243 MB / 380.3 MB, free: 1.207 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.0044, allocations: 442.4 kB / 380.7 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.02e-05/0.00444, allocations: 3.938 kB / 380.7 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.327e-05/0.004473, allocations: 4 kB / 380.7 MB, free: 0.7656 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.0005717/0.005045, allocations: 79.7 kB / 380.8 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.005298, allocations: 71.75 kB / 380.9 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.005438, allocations: 51.83 kB / 380.9 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.965e-05/0.005487, allocations: 4 kB / 380.9 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.438e-05/0.005532, allocations: 19.91 kB / 380.9 MB, free: 0.543 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.86e-05/0.00558, allocations: 19.92 kB / 381 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.005596, allocations: 4 kB / 381 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003373/0.005934, allocations: 151.7 kB / 381.1 MB, free: 380 kB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001077/0.006041, allocations: 83.28 kB / 381.2 MB, free: 296 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 6.016e-05/0.006102, allocations: 51.33 kB / 381.3 MB, free: 244 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.392e-05/0.006135, allocations: 8 kB / 381.3 MB, free: 236 kB / 302.1 MB Notification: Performance of FrontEnd: time 9.208e-06/0.006145, allocations: 0 / 381.3 MB, free: 236 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.2489/0.2551, allocations: 334.5 kB / 381.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 5.174e-05/0.2551, allocations: 38.31 kB / 381.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0002863/0.2554, allocations: 185.1 kB / 381.8 MB, free: 12.98 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001061/0.2555, allocations: 93.92 kB / 381.9 MB, free: 12.88 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0001335/0.2557, allocations: 133 kB / 382 MB, free: 12.78 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 7.438e-05/0.2557, allocations: 95.09 kB / 382.1 MB, free: 12.69 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 5.215e-05/0.2558, allocations: 65 kB / 382.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002012/0.256, allocations: 132.9 kB / 382.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001157/0.2561, allocations: 37.23 kB / 382.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001998/0.2563, allocations: 108.2 kB / 382.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.005708/0.262, allocations: 4.423 MB / 386.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002388/0.2623, allocations: 148.7 kB / 387 MB, free: 12.22 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.003381/0.2656, allocations: 0.605 MB / 387.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0002781/0.2659, allocations: 243.5 kB / 387.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.288e-05/0.2659, allocations: 12.39 kB / 387.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 9.189e-05/0.266, allocations: 74.81 kB / 388 MB, free: 12.02 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.01174/0.2778, allocations: 17.77 MB / 405.7 MB, free: 15.49 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 2.132e-05/0.2778, allocations: 7.656 kB / 405.7 MB, free: 15.49 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 2.435e-06/0.2778, allocations: 0 / 405.7 MB, free: 15.49 MB / 318.1 MB Notification: Performance of [SIM] DAE-Mode: time 4.823e-05/0.2778, allocations: 20.86 kB / 405.7 MB, free: 15.45 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.798e-06/0.2778, allocations: 4 kB / 405.8 MB, free: 15.45 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 1.442e-06/0.2778, allocations: 0 / 405.8 MB, free: 15.45 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 1.928e-05/0.2779, allocations: 1.172 kB / 405.8 MB, free: 15.45 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.0001271/0.278, allocations: 28.53 kB / 405.8 MB, free: 15.43 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 9.077e-06/0.278, allocations: 0.5312 kB / 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 5.869e-05/0.2781, allocations: 26.56 kB / 405.8 MB, free: 15.42 MB / 318.1 MB Notification: Performance of SimCode: time 0.001705/0.2798, allocations: 0.7832 MB / 406.6 MB, free: 14.83 MB / 318.1 MB Notification: Performance of Templates: time 0.006311/0.2861, allocations: 2.043 MB / 408.6 MB, free: 13.58 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/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_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.887310038029682]