Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers") translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001063/0.001063, allocations: 112.5 kB / 19.05 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001075/0.001075, allocations: 210.6 kB / 20.03 MB, free: 2.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.193/1.193, allocations: 230.4 MB / 251.3 MB, free: 8.875 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012e-05/1.012e-05, allocations: 2.281 kB / 368.8 MB, free: 6.613 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.001728/0.001738, allocations: 1.244 MB / 370.1 MB, free: 5.359 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007985/0.002537, allocations: 464.2 kB / 370.5 MB, free: 4.906 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.278e-05/0.00256, allocations: 3.938 kB / 370.5 MB, free: 4.902 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.516e-05/0.002585, allocations: 0 / 370.5 MB, free: 4.902 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeBindings: time 0.0003562/0.002941, allocations: 75.73 kB / 370.6 MB, free: 4.828 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001215/0.003062, allocations: 71.73 kB / 370.7 MB, free: 4.758 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.696e-05/0.003159, allocations: 51.84 kB / 370.7 MB, free: 4.707 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.341e-05/0.003193, allocations: 7.938 kB / 370.7 MB, free: 4.699 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.197e-05/0.003225, allocations: 23.91 kB / 370.7 MB, free: 4.676 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.204e-05/0.003257, allocations: 19.91 kB / 370.8 MB, free: 4.656 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.003269, allocations: 4 kB / 370.8 MB, free: 4.652 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.003463, allocations: 127.8 kB / 370.9 MB, free: 4.527 MB / 302.1 MB Notification: Performance of combineBinaries: time 6.76e-05/0.00353, allocations: 67.3 kB / 371 MB, free: 4.461 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 2.927e-05/0.003559, allocations: 47.41 kB / 371 MB, free: 4.414 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.533e-05/0.003575, allocations: 4 kB / 371 MB, free: 4.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.891e-06/0.003581, allocations: 0 / 371 MB, free: 4.41 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 (2) * Number of variables: 44 (8) Notification: Performance of Bindings: time 0.0003748/0.003955, allocations: 295.8 kB / 371.3 MB, free: 4.004 MB / 302.1 MB Notification: Performance of FunctionAlias: time 2.523e-05/0.003981, allocations: 22.8 kB / 371.3 MB, free: 3.984 MB / 302.1 MB Notification: Performance of Early Inline: time 0.000174/0.004155, allocations: 148.7 kB / 371.5 MB, free: 3.812 MB / 302.1 MB Notification: Performance of Simplify 1: time 6.345e-05/0.004218, allocations: 72.31 kB / 371.5 MB, free: 3.715 MB / 302.1 MB Notification: Performance of Alias: time 7.886e-05/0.004297, allocations: 76.88 kB / 371.6 MB, free: 3.59 MB / 302.1 MB Notification: Performance of Simplify 2: time 5.665e-05/0.004354, allocations: 64.38 kB / 371.7 MB, free: 3.5 MB / 302.1 MB Notification: Performance of Remove Stream: time 5.965e-05/0.004413, allocations: 64.41 kB / 371.7 MB, free: 3.41 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002053/0.004619, allocations: 123.4 kB / 371.9 MB, free: 3.25 MB / 302.1 MB Notification: Performance of Events: time 7.603e-05/0.004695, allocations: 35.84 kB / 371.9 MB, free: 3.215 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001241/0.004819, allocations: 92.2 kB / 372 MB, free: 3.109 MB / 302.1 MB Notification: Performance of Causalize: time 0.1174/0.1222, allocations: 4.426 MB / 376.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001167/0.1223, allocations: 109.2 kB / 376.5 MB, free: 11.98 MB / 302.1 MB Notification: Performance of Simplify: time 0.002709/0.125, allocations: 0.5157 MB / 377 MB, free: 11.85 MB / 302.1 MB Notification: Performance of Inline: time 0.0001882/0.1252, allocations: 223 kB / 377.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of Partitioning: time 9.247e-06/0.1252, allocations: 12 kB / 377.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of Cleanup: time 7.737e-05/0.1253, allocations: 83.73 kB / 377.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of Causalize: time 0.003752/0.129, allocations: 6.01 MB / 383.3 MB, free: 11.33 MB / 302.1 MB Notification: Performance of Tearing: time 8.576e-06/0.129, allocations: 0 / 383.3 MB, free: 11.33 MB / 302.1 MB Notification: Performance of Initialization: time 4.41e-07/0.129, allocations: 0.9688 kB / 383.3 MB, free: 11.33 MB / 302.1 MB Notification: Performance of Tearing: time 2.705e-06/0.129, allocations: 0.875 kB / 383.3 MB, free: 11.33 MB / 302.1 MB Notification: Performance of Categorize: time 9.297e-06/0.129, allocations: 3.75 kB / 383.4 MB, free: 11.33 MB / 302.1 MB Notification: Performance of Solve: time 4.725e-05/0.1291, allocations: 16.42 kB / 383.4 MB, free: 11.33 MB / 302.1 MB Notification: Performance of Jacobian: time 2.354e-06/0.1291, allocations: 0 / 383.4 MB, free: 11.33 MB / 302.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: ......... 2 * 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: ................. 85 (13) {r64, r128, r1024, state64, state128, state1024, rImpure, iImpure, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $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: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0generic: 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: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (resizable: 3generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.65e-05/0.1291, allocations: 26.84 kB / 383.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of SimCode: time 0.001104/0.1302, allocations: 1.462 MB / 384.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of Templates: time 0.004687/0.1349, allocations: 2.436 MB / 387.3 MB, free: 10.12 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Math/Random/Examples/GenerateRandomNumbers/GenerateRandomNumbers.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches