Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestRandomNumbers.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.001376/0.001376, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.001928/0.001928, allocations: 206.8 kB / 24.49 MB, free: 3.961 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.698/1.698, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2571/0.2571, allocations: 46.96 MB / 361.6 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestRandomNumbers") translateModel(ModelicaTest.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestRandomNumbers") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.981e-05/2.981e-05, allocations: 9.031 kB / 0.4973 GB, free: 7.289 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001764/0.001794, allocations: 0.5323 MB / 0.4978 GB, free: 6.758 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.003127, allocations: 0.5808 MB / 0.4984 GB, free: 6.172 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.853e-05/0.003155, allocations: 7.938 kB / 0.4984 GB, free: 6.164 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 8.591e-05/0.003241, allocations: 11.94 kB / 0.4984 GB, free: 6.152 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.789e-06/0.003246, allocations: 0 / 0.4984 GB, free: 6.152 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:842:5-926:22:writable] Warning: Pure function 'ModelicaTest.Math.Random.randomNumbers' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0007837/0.00403, allocations: 199.4 kB / 0.4986 GB, free: 5.957 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 8.793e-05/0.004118, allocations: 35.95 kB / 0.4986 GB, free: 5.922 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.027e-05/0.004178, allocations: 4 kB / 0.4986 GB, free: 5.918 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.695e-05/0.004205, allocations: 11.92 kB / 0.4986 GB, free: 5.906 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.477e-05/0.004239, allocations: 19.92 kB / 0.4986 GB, free: 5.887 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.00425, allocations: 4 kB / 0.4986 GB, free: 5.883 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000367/0.004617, allocations: 215.6 kB / 0.4989 GB, free: 5.672 MB / 366.1 MB Notification: Performance of combineBinaries: time 7.033e-05/0.004687, allocations: 59.34 kB / 0.4989 GB, free: 5.613 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 4.136e-05/0.004729, allocations: 43.41 kB / 0.499 GB, free: 5.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.891e-05/0.004748, allocations: 4 kB / 0.499 GB, free: 5.566 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.777e-06/0.004756, allocations: 0 / 0.499 GB, free: 5.566 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 (1) * Number of variables: 53 (11) Notification: Performance of [SIM] Bindings: time 0.0006068/0.005363, allocations: 308.7 kB / 0.4993 GB, free: 5.145 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 5.871e-05/0.005422, allocations: 36 kB / 0.4993 GB, free: 5.098 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001436/0.005565, allocations: 104.3 kB / 0.4994 GB, free: 4.969 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 9.048e-05/0.005656, allocations: 72.66 kB / 0.4995 GB, free: 4.852 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0001255/0.005781, allocations: 100.6 kB / 0.4996 GB, free: 4.703 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 8.514e-05/0.005867, allocations: 76.66 kB / 0.4996 GB, free: 4.582 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 5.99e-05/0.005926, allocations: 48.41 kB / 0.4997 GB, free: 4.508 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.000132/0.006058, allocations: 96.77 kB / 0.4998 GB, free: 4.359 MB / 366.1 MB Notification: Performance of [SIM] Events: time 5.975e-05/0.006118, allocations: 19.8 kB / 0.4998 GB, free: 4.34 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.000112/0.00623, allocations: 36.09 kB / 0.4998 GB, free: 4.297 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0005209/0.006751, allocations: 264.3 kB / 0.5001 GB, free: 4.031 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 7.29e-05/0.006824, allocations: 67.86 kB / 0.5001 GB, free: 3.965 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0002161/0.00704, allocations: 121.1 kB / 0.5002 GB, free: 3.777 MB / 366.1 MB Notification: Performance of [INI] Inline: time 8.451e-05/0.007125, allocations: 67.98 kB / 0.5003 GB, free: 3.707 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 2.156e-05/0.007146, allocations: 20 kB / 0.5003 GB, free: 3.68 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 2.334e-05/0.007169, allocations: 19.97 kB / 0.5004 GB, free: 3.66 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 0.0005133/0.007683, allocations: 280.4 kB / 0.5006 GB, free: 3.379 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.945e-05/0.007702, allocations: 8 kB / 0.5006 GB, free: 3.371 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 4.51e-07/0.007703, allocations: 4 kB / 0.5006 GB, free: 3.367 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.547e-06/0.007706, allocations: 0 / 0.5006 GB, free: 3.367 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 8.81e-07/0.007707, allocations: 3.938 kB / 0.5006 GB, free: 3.363 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 1.043e-05/0.007718, allocations: 4.094 kB / 0.5006 GB, free: 3.359 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 7.651e-05/0.007794, allocations: 31.97 kB / 0.5007 GB, free: 3.328 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 7.174e-06/0.007801, allocations: 0 / 0.5007 GB, free: 3.328 MB / 366.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: ......... 1 * 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: ................. 54 (12) {result, r2, r4a, r4b, r4c, r33, state2, state4a, state4b, state4c, state33, $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: ........... 1 (scalar:1, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:1, 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: ........... 12 (scalar:7, array:5, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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.015e-05/0.007841, allocations: 17.67 kB / 0.5007 GB, free: 3.316 MB / 366.1 MB Notification: Performance of SimCode: time 0.001415/0.009257, allocations: 0.687 MB / 0.5014 GB, free: 2.656 MB / 366.1 MB Notification: Performance of Templates: time 0.006077/0.01533, allocations: 1.821 MB / 0.5031 GB, free: 0.832 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestRandomNumbers.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestRandomNumbers.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestRandomNumbers.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestRandomNumbers.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestRandomNumbers.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestRandomNumbers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestRandomNumbers.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestRandomNumbers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/Random/TestRandomNumbers/TestRandomNumbers.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Math.Random.TestRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.370019106194377]