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.001706/0.001706, allocations: 99.64 kB / 21.25 MB, free: 428 kB / 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.002009/0.002009, allocations: 208.7 kB / 24.55 MB, free: 3.73 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.53/1.53, allocations: 230.7 MB / 258.4 MB, free: 7.762 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.2529/0.2529, allocations: 46.97 MB / 361.7 MB, free: 3.988 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 1.907e-05/1.907e-05, allocations: 4.953 kB / 0.4974 GB, free: 7.219 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001517/0.001536, allocations: 0.5323 MB / 0.4979 GB, free: 6.688 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.002747, allocations: 0.5886 MB / 0.4985 GB, free: 6.094 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.23e-05/0.002769, allocations: 0 / 0.4985 GB, free: 6.094 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 8.403e-05/0.002853, allocations: 15.92 kB / 0.4985 GB, free: 6.078 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.549e-06/0.002858, allocations: 0 / 0.4985 GB, free: 6.078 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.0007444/0.003602, allocations: 206.8 kB / 0.4987 GB, free: 5.879 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.984e-05/0.003682, allocations: 35.89 kB / 0.4987 GB, free: 5.844 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.516e-05/0.003737, allocations: 4 kB / 0.4987 GB, free: 5.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.799e-05/0.003765, allocations: 11.98 kB / 0.4988 GB, free: 5.828 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.567e-05/0.003801, allocations: 15.92 kB / 0.4988 GB, free: 5.812 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.257e-06/0.00381, allocations: 4 kB / 0.4988 GB, free: 5.809 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003429/0.004153, allocations: 203.7 kB / 0.499 GB, free: 5.609 MB / 366.1 MB Notification: Performance of combineBinaries: time 7.279e-05/0.004226, allocations: 63.34 kB / 0.499 GB, free: 5.547 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 2.645e-05/0.004252, allocations: 39.41 kB / 0.4991 GB, free: 5.508 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.898e-05/0.004271, allocations: 4 kB / 0.4991 GB, free: 5.504 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.847e-06/0.00428, allocations: 0 / 0.4991 GB, free: 5.504 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.0005074/0.004787, allocations: 308.6 kB / 0.4994 GB, free: 5.082 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 6.018e-05/0.004848, allocations: 43.95 kB / 0.4994 GB, free: 5.027 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001204/0.004968, allocations: 104.3 kB / 0.4995 GB, free: 4.898 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 8.748e-05/0.005056, allocations: 68.72 kB / 0.4996 GB, free: 4.785 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0001167/0.005172, allocations: 112.5 kB / 0.4997 GB, free: 4.625 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 7.591e-05/0.005248, allocations: 68.73 kB / 0.4997 GB, free: 4.512 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 4.794e-05/0.005296, allocations: 40.41 kB / 0.4998 GB, free: 4.445 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001326/0.005429, allocations: 100.8 kB / 0.4999 GB, free: 4.293 MB / 366.1 MB Notification: Performance of [SIM] Events: time 6.16e-05/0.00549, allocations: 15.86 kB / 0.4999 GB, free: 4.277 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 9.137e-05/0.005582, allocations: 32.11 kB / 0.4999 GB, free: 4.238 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0004766/0.006058, allocations: 269.3 kB / 0.5002 GB, free: 3.965 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 6.833e-05/0.006127, allocations: 63.92 kB / 0.5002 GB, free: 3.902 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001631/0.00629, allocations: 121 kB / 0.5004 GB, free: 3.715 MB / 366.1 MB Notification: Performance of [INI] Inline: time 0.0001336/0.006423, allocations: 79.92 kB / 0.5004 GB, free: 3.633 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.703e-05/0.00644, allocations: 16.11 kB / 0.5005 GB, free: 3.609 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.715e-05/0.006458, allocations: 11.92 kB / 0.5005 GB, free: 3.598 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 0.0004005/0.006858, allocations: 293.1 kB / 0.5007 GB, free: 3.301 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.349e-05/0.006872, allocations: 4 kB / 0.5007 GB, free: 3.297 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.71e-07/0.006872, allocations: 0 / 0.5007 GB, free: 3.297 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 2.409e-05/0.006896, allocations: 16.11 kB / 0.5008 GB, free: 3.273 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.656e-06/0.0069, allocations: 0 / 0.5008 GB, free: 3.273 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 9.21e-07/0.006901, allocations: 0 / 0.5008 GB, free: 3.273 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 1.142e-05/0.006912, allocations: 12.03 kB / 0.5008 GB, free: 3.262 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 7.589e-05/0.006988, allocations: 27.97 kB / 0.5008 GB, free: 3.234 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 7.895e-06/0.006996, allocations: 0 / 0.5008 GB, free: 3.234 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 7.565e-05/0.007071, allocations: 21.34 kB / 0.5008 GB, free: 3.219 MB / 366.1 MB Notification: Performance of SimCode: time 0.001533/0.008604, allocations: 0.6834 MB / 0.5015 GB, free: 2.562 MB / 366.1 MB Notification: Performance of Templates: time 0.005604/0.01421, allocations: 1.681 MB / 0.5031 GB, free: 0.8828 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/Random/TestRandomNumbers/TestRandomNumbers.csv","/var/lib/jenkins1/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] "" Variables in the reference:time,result Variables in the result:result,time [Calling sys.exit(0), Time elapsed: 4.8468256370397285]