Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001404/0.001404, allocations: 107.6 kB / 21.25 MB, free: 0.5625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001491/0.001491, allocations: 219.1 kB / 24.55 MB, free: 3.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.56/1.56, allocations: 230.5 MB / 258.2 MB, free: 7.727 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2365/0.2365, allocations: 46.95 MB / 361.6 MB, free: 3.859 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers") translateModel(ModelicaTest.Math.Random.TestRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.757e-05/2.757e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.039 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestRandomNumbers): time 0.002049/0.002077, allocations: 0.5422 MB / 0.4979 GB, free: 6.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.003458, allocations: 0.5843 MB / 0.4985 GB, free: 5.914 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.511e-05/0.003493, allocations: 3.938 kB / 0.4985 GB, free: 5.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.692e-05/0.00359, allocations: 7.922 kB / 0.4985 GB, free: 5.902 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.769e-06/0.003595, allocations: 0 / 0.4985 GB, free: 5.902 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.000913/0.004508, allocations: 211 kB / 0.4987 GB, free: 5.699 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 8.946e-05/0.004597, allocations: 27.91 kB / 0.4988 GB, free: 5.672 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.281e-05/0.00465, allocations: 4 kB / 0.4988 GB, free: 5.668 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.971e-05/0.00468, allocations: 23.97 kB / 0.4988 GB, free: 5.645 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.372e-05/0.004713, allocations: 11.92 kB / 0.4988 GB, free: 5.633 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.004723, allocations: 0 / 0.4988 GB, free: 5.633 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003371/0.00506, allocations: 203.6 kB / 0.499 GB, free: 5.434 MB / 366.1 MB Notification: Performance of combineBinaries: time 7.723e-05/0.005138, allocations: 63.34 kB / 0.499 GB, free: 5.371 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 2.705e-05/0.005165, allocations: 39.41 kB / 0.4991 GB, free: 5.332 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.93e-05/0.005184, allocations: 4 kB / 0.4991 GB, free: 5.328 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.358e-06/0.005193, allocations: 3.938 kB / 0.4991 GB, free: 5.324 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.0005629/0.005756, allocations: 316.7 kB / 0.4994 GB, free: 4.895 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 5.572e-05/0.005812, allocations: 31.97 kB / 0.4994 GB, free: 4.852 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001919/0.006004, allocations: 108.3 kB / 0.4995 GB, free: 4.719 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 9.114e-05/0.006095, allocations: 68.72 kB / 0.4996 GB, free: 4.605 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.0001505/0.006245, allocations: 108.5 kB / 0.4997 GB, free: 4.449 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 8.311e-05/0.006328, allocations: 72.72 kB / 0.4998 GB, free: 4.332 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 9.409e-05/0.006423, allocations: 48.36 kB / 0.4998 GB, free: 4.258 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.0001379/0.00656, allocations: 104.6 kB / 0.4999 GB, free: 4.102 MB / 366.1 MB Notification: Performance of [SIM] Events: time 5.907e-05/0.00662, allocations: 8 kB / 0.4999 GB, free: 4.094 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 9.283e-05/0.006712, allocations: 36.05 kB / 0.5 GB, free: 4.051 MB / 366.1 MB Notification: Performance of [SIM] Causalize: time 0.0005643/0.007277, allocations: 265.4 kB / 0.5002 GB, free: 3.785 MB / 366.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 6.341e-05/0.00734, allocations: 67.86 kB / 0.5003 GB, free: 3.719 MB / 366.1 MB Notification: Performance of [INI] Simplify: time 0.0001695/0.00751, allocations: 117 kB / 0.5004 GB, free: 3.535 MB / 366.1 MB Notification: Performance of [INI] Inline: time 8.121e-05/0.007591, allocations: 79.97 kB / 0.5005 GB, free: 3.453 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 1.548e-05/0.007606, allocations: 12.12 kB / 0.5005 GB, free: 3.434 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 2.053e-05/0.007627, allocations: 15.92 kB / 0.5005 GB, free: 3.418 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 0.0004237/0.008051, allocations: 297.3 kB / 0.5008 GB, free: 3.113 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 1.387e-05/0.008064, allocations: 8 kB / 0.5008 GB, free: 3.105 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.81e-07/0.008065, allocations: 0 / 0.5008 GB, free: 3.105 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 1.835e-05/0.008083, allocations: 8.125 kB / 0.5008 GB, free: 3.09 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.34e-06/0.008089, allocations: 4.094 kB / 0.5008 GB, free: 3.086 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 4.849e-06/0.008093, allocations: 8 kB / 0.5008 GB, free: 3.078 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 6.132e-06/0.0081, allocations: 0 / 0.5008 GB, free: 3.078 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 9.05e-05/0.00819, allocations: 35.95 kB / 0.5008 GB, free: 3.043 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 7.474e-06/0.008197, allocations: 0 / 0.5008 GB, free: 3.043 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.44e-05/0.008242, allocations: 26.75 kB / 0.5009 GB, free: 3.023 MB / 366.1 MB Notification: Performance of SimCode: time 0.001256/0.009498, allocations: 0.6718 MB / 0.5015 GB, free: 2.367 MB / 366.1 MB Notification: Performance of Templates: time 0.005153/0.01465, allocations: 1.668 MB / 0.5031 GB, free: 0.6992 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.sim & ./ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.970534978958312]