Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00178/0.00178, allocations: 95.66 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.002349/0.002349, allocations: 208.2 kB / 24.55 MB, free: 3.727 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.486/1.486, allocations: 230.6 MB / 258.3 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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.2396/0.2396, allocations: 44.93 MB / 359.7 MB, free: 6.016 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.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.0.0_ModelicaTest.Math.Random.TestRandomNumbers") translateModel(ModelicaTest.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.721e-05, allocations: 2.281 kB / 0.4943 GB, free: 10.05 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.001508/0.001525, allocations: 0.5323 MB / 0.4948 GB, free: 9.516 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.002785, allocations: 0.5925 MB / 0.4954 GB, free: 8.918 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.68e-05/0.002802, allocations: 0 / 0.4954 GB, free: 8.918 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.473e-05/0.002866, allocations: 3.938 kB / 0.4954 GB, free: 8.914 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.038e-06/0.00287, allocations: 0 / 0.4954 GB, free: 8.914 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0006556/0.003526, allocations: 222.5 kB / 0.4956 GB, free: 8.699 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.739e-05/0.003583, allocations: 27.97 kB / 0.4957 GB, free: 8.672 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.229e-05/0.003626, allocations: 7.984 kB / 0.4957 GB, free: 8.664 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.486e-05/0.003651, allocations: 19.92 kB / 0.4957 GB, free: 8.645 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.673e-05/0.003677, allocations: 11.92 kB / 0.4957 GB, free: 8.633 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.003688, allocations: 4 kB / 0.4957 GB, free: 8.629 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003016/0.00399, allocations: 199.7 kB / 0.4959 GB, free: 8.434 MB / 366.1 MB Notification: Performance of combineBinaries: time 5.941e-05/0.004049, allocations: 63.41 kB / 0.496 GB, free: 8.371 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 2.916e-05/0.004078, allocations: 35.41 kB / 0.496 GB, free: 8.336 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.249e-05/0.004091, allocations: 8 kB / 0.496 GB, free: 8.328 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.242e-06/0.004097, allocations: 0 / 0.496 GB, free: 8.328 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.0004618/0.004559, allocations: 319.2 kB / 0.4963 GB, free: 7.898 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 4.881e-05/0.004608, allocations: 31.97 kB / 0.4963 GB, free: 7.855 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001258/0.004733, allocations: 112.3 kB / 0.4964 GB, free: 7.719 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 8.318e-05/0.004817, allocations: 68.73 kB / 0.4965 GB, free: 7.605 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0001211/0.004938, allocations: 108.5 kB / 0.4966 GB, free: 7.449 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 7.444e-05/0.005012, allocations: 72.72 kB / 0.4967 GB, free: 7.332 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001014/0.005113, allocations: 44.42 kB / 0.4967 GB, free: 7.262 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001226/0.005236, allocations: 100.8 kB / 0.4968 GB, free: 7.109 MB / 366.1 MB Notification: Performance of [SIM] Events: time 4.702e-05/0.005283, allocations: 7.859 kB / 0.4968 GB, free: 7.102 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.000133/0.005416, allocations: 36.09 kB / 0.4969 GB, free: 7.059 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0004656/0.005882, allocations: 265.3 kB / 0.4971 GB, free: 6.789 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 6.127e-05/0.005943, allocations: 67.86 kB / 0.4972 GB, free: 6.723 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001584/0.006101, allocations: 117 kB / 0.4973 GB, free: 6.539 MB / 366.1 MB Notification: Performance of [INI] Inline: time 8.355e-05/0.006185, allocations: 87.91 kB / 0.4974 GB, free: 6.449 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.729e-05/0.006202, allocations: 12.12 kB / 0.4974 GB, free: 6.43 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 1.557e-05/0.006218, allocations: 11.98 kB / 0.4974 GB, free: 6.418 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 0.000438/0.006656, allocations: 293.3 kB / 0.4977 GB, free: 6.125 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.775e-05/0.006674, allocations: 8 kB / 0.4977 GB, free: 6.117 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.4e-07/0.006674, allocations: 0 / 0.4977 GB, free: 6.117 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 1.793e-05/0.006692, allocations: 12.11 kB / 0.4977 GB, free: 6.098 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.266e-06/0.006695, allocations: 0 / 0.4977 GB, free: 6.098 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 2.775e-06/0.006698, allocations: 4 kB / 0.4977 GB, free: 6.094 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 6.041e-06/0.006704, allocations: 0 / 0.4977 GB, free: 6.094 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 7.525e-05/0.006779, allocations: 39.91 kB / 0.4977 GB, free: 6.055 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 7.584e-06/0.006787, allocations: 96 / 0.4977 GB, free: 6.055 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.171e-05/0.006828, allocations: 33.59 kB / 0.4978 GB, free: 6.023 MB / 366.1 MB Notification: Performance of SimCode: time 0.001172/0.008, allocations: 0.671 MB / 0.4984 GB, free: 5.375 MB / 366.1 MB Notification: Performance of Templates: time 0.00465/0.01265, allocations: 1.669 MB / 0.5001 GB, free: 3.707 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestRandomNumbers/TestRandomNumbers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.832206243998371]