Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.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.001175/0.001175, allocations: 112 kB / 20.54 MB, free: 1.777 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.001183/0.001183, allocations: 187.2 kB / 23.71 MB, free: 5.402 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.281/1.281, allocations: 225.6 MB / 252.3 MB, free: 13.36 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1928/0.1928, allocations: 44.92 MB / 352.4 MB, free: 12.22 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.056e-05, allocations: 2.281 kB / 495.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.001314/0.001334, allocations: 0.4958 MB / 496.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00297/0.004304, allocations: 2.073 MB / 498.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.769e-05/0.004322, allocations: 4 kB / 498.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.798e-05/0.00434, allocations: 3.938 kB / 498.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.19e-06/0.004345, allocations: 0 / 498.5 MB, free: 15.33 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:1013:5-1096:22:writable] Warning: Pure function 'ModelicaTest.Math.Random.distributions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.005577, allocations: 0.4967 MB / 499 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.016e-05/0.005617, allocations: 0 / 499 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.626e-05/0.005653, allocations: 4 kB / 499 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.342e-05/0.005667, allocations: 0 / 499 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.557e-05/0.005682, allocations: 7.938 kB / 499 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.851e-06/0.005688, allocations: 0 / 499 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008829/0.006571, allocations: 0.6511 MB / 499.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of combineBinaries: time 2.512e-05/0.006596, allocations: 7.984 kB / 499.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 4.618e-06/0.006601, allocations: 7.906 kB / 499.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.109e-05/0.006612, allocations: 0 / 499.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.883e-06/0.006619, allocations: 0 / 499.7 MB, free: 14.15 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: 1 (1) * Number of variables: 1 (1) Notification: Performance of Bindings: time 0.0003196/0.006939, allocations: 178.2 kB / 499.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of FunctionAlias: time 2.02e-05/0.006959, allocations: 6.812 kB / 499.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of Early Inline: time 7.807e-05/0.007037, allocations: 56.48 kB / 499.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of Simplify 1: time 3.755e-05/0.007074, allocations: 32.44 kB / 499.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of Alias: time 8.559e-05/0.00716, allocations: 76.73 kB / 0.4883 GB, free: 13.59 MB / 366.1 MB Notification: Performance of Simplify 2: time 3.219e-05/0.007192, allocations: 32.44 kB / 0.4883 GB, free: 13.54 MB / 366.1 MB Notification: Performance of Remove Stream: time 3.804e-05/0.00723, allocations: 40.42 kB / 0.4884 GB, free: 13.47 MB / 366.1 MB Notification: Performance of Detect States: time 0.0001333/0.007363, allocations: 70.58 kB / 0.4884 GB, free: 13.36 MB / 366.1 MB Notification: Performance of Events: time 2.105e-05/0.007385, allocations: 4 kB / 0.4884 GB, free: 13.36 MB / 366.1 MB Notification: Performance of Partitioning: time 5.368e-05/0.007438, allocations: 16.11 kB / 0.4885 GB, free: 13.33 MB / 366.1 MB Notification: Performance of Causalize: time 0.0001022/0.00754, allocations: 32.11 kB / 0.4885 GB, free: 13.29 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 1.184e-05/0.007552, allocations: 7.938 kB / 0.4885 GB, free: 13.29 MB / 366.1 MB Notification: Performance of Simplify: time 9.076e-05/0.007643, allocations: 64.81 kB / 0.4886 GB, free: 13.17 MB / 366.1 MB Notification: Performance of Inline: time 3.72e-05/0.00768, allocations: 35.92 kB / 0.4886 GB, free: 13.13 MB / 366.1 MB Notification: Performance of Partitioning: time 9.758e-06/0.00769, allocations: 8.125 kB / 0.4886 GB, free: 13.12 MB / 366.1 MB Notification: Performance of Cleanup: time 1.312e-05/0.007703, allocations: 8.188 kB / 0.4886 GB, free: 13.11 MB / 366.1 MB Notification: Performance of Causalize: time 5.241e-05/0.007755, allocations: 28.11 kB / 0.4886 GB, free: 13.07 MB / 366.1 MB Notification: Performance of Tearing: time 7.574e-06/0.007763, allocations: 0 / 0.4886 GB, free: 13.07 MB / 366.1 MB Notification: Performance of Initialization: time 2.51e-07/0.007763, allocations: 0 / 0.4886 GB, free: 13.07 MB / 366.1 MB Notification: Performance of Remove Dummies: time 3.737e-06/0.007767, allocations: 0 / 0.4886 GB, free: 13.07 MB / 366.1 MB Notification: Performance of Tearing: time 5.61e-07/0.007768, allocations: 4 kB / 0.4886 GB, free: 13.07 MB / 366.1 MB Notification: Performance of Categorize: time 5.55e-06/0.007773, allocations: 0 / 0.4886 GB, free: 13.07 MB / 366.1 MB Notification: Performance of Solve: time 1.493e-05/0.007788, allocations: 0 / 0.4886 GB, free: 13.07 MB / 366.1 MB Notification: Performance of Jacobian: time 3.076e-06/0.007791, allocations: 0 / 0.4886 GB, free: 13.07 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: ................. 1 (1) {result} * 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: ............ 1 (algorithm:1, 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: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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 3.221e-05/0.007823, allocations: 23.23 kB / 0.4887 GB, free: 13.05 MB / 366.1 MB Notification: Performance of SimCode: time 0.00163/0.009454, allocations: 1.449 MB / 0.4901 GB, free: 11.62 MB / 366.1 MB Notification: Performance of Templates: time 0.00653/0.01598, allocations: 3.402 MB / 0.4934 GB, free: 8.223 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestDistributions/TestDistributions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestDistributions.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: 4.2229960691183805]