Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.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.001359/0.001359, 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.001449/0.001449, allocations: 218.3 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.625/1.625, allocations: 230.5 MB / 258.2 MB, free: 7.719 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5201,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator") translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5201,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.636e-05/2.636e-05, allocations: 4.25 kB / 379 MB, free: 2.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.004171/0.004197, allocations: 1.35 MB / 380.4 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.005385, allocations: 354.8 kB / 380.7 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.208e-05/0.005407, allocations: 0 / 380.7 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.428e-05/0.005421, allocations: 0 / 380.7 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.35e-05/0.005465, allocations: 7.875 kB / 380.7 MB, free: 0.6094 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.typeClassSections: time 0.0006441/0.006109, allocations: 91.7 kB / 380.8 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.006223, allocations: 19.98 kB / 380.8 MB, free: 0.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.631e-05/0.006289, allocations: 4 kB / 380.9 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.737e-05/0.006337, allocations: 15.84 kB / 380.9 MB, free: 492 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.173e-05/0.006378, allocations: 7.938 kB / 380.9 MB, free: 484 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.006395, allocations: 0 / 380.9 MB, free: 484 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003664/0.006762, allocations: 123.8 kB / 381 MB, free: 360 kB / 302.1 MB Notification: Performance of combineBinaries: time 7.289e-05/0.006835, allocations: 35.58 kB / 381 MB, free: 324 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 3.672e-05/0.006871, allocations: 35.56 kB / 381.1 MB, free: 288 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.305e-05/0.006894, allocations: 0 / 381.1 MB, free: 288 kB / 302.1 MB Notification: Performance of FrontEnd: time 3.094e-05/0.006925, allocations: 3.938 kB / 381.1 MB, free: 284 kB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 (2) * Number of variables: 2 (2) Notification: Performance of [SIM] Bindings: time 0.2777/0.2846, allocations: 253.3 kB / 381.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 6.758e-05/0.2847, allocations: 29.39 kB / 381.3 MB, free: 13.05 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001005/0.2848, allocations: 75.62 kB / 381.4 MB, free: 13 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 7.581e-05/0.2848, allocations: 65.39 kB / 381.5 MB, free: 12.9 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0004196/0.2853, allocations: 126.9 kB / 381.6 MB, free: 12.78 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 5.192e-05/0.2853, allocations: 67.75 kB / 381.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 3.182e-05/0.2853, allocations: 38.19 kB / 381.7 MB, free: 12.63 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001755/0.2855, allocations: 87.36 kB / 381.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of [SIM] Events: time 5.595e-05/0.2856, allocations: 5.344 kB / 381.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 9.097e-05/0.2857, allocations: 28.84 kB / 381.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001229/0.2858, allocations: 33.27 kB / 381.9 MB, free: 12.49 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 6.09e-05/0.2858, allocations: 47.12 kB / 381.9 MB, free: 12.49 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0001803/0.286, allocations: 109.9 kB / 382 MB, free: 12.35 MB / 302.1 MB Notification: Performance of [INI] Inline: time 7.207e-05/0.2861, allocations: 48.77 kB / 382.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.381e-05/0.2861, allocations: 14.33 kB / 382.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 2.355e-05/0.2861, allocations: 14.25 kB / 382.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0003296/0.2865, allocations: 133.5 kB / 382.2 MB, free: 12.3 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.221e-05/0.2865, allocations: 3.438 kB / 382.2 MB, free: 12.3 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 5.21e-07/0.2865, allocations: 0 / 382.2 MB, free: 12.3 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 1.763e-05/0.2865, allocations: 13.56 kB / 382.2 MB, free: 12.28 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.378e-06/0.2865, allocations: 1.062 kB / 382.2 MB, free: 12.28 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 3.757e-06/0.2865, allocations: 2.719 kB / 382.2 MB, free: 12.28 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 7.343e-06/0.2865, allocations: 0.5312 kB / 382.2 MB, free: 12.28 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 7.578e-05/0.2866, allocations: 23.25 kB / 382.3 MB, free: 12.28 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 1.113e-05/0.2866, allocations: 3.562 kB / 382.3 MB, free: 12.28 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: ......... 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: .................... 1 (1) {impureRandom_y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 1 (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: ........... 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: ........... 4 (scalar:4, 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 4.977e-05/0.2866, allocations: 25.05 kB / 382.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of SimCode: time 0.001163/0.2878, allocations: 329.2 kB / 382.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of Templates: time 0.005233/0.293, allocations: 0.9232 MB / 383.5 MB, free: 12.04 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,impureRandom_y Variables in the result:globalSeed.enableNoise,globalSeed.fixedSeed,globalSeed.seed,globalSeed.useAutomaticSeed,impureRandom.samplePeriod,impureRandom_y,impureRandom_y,time [Calling sys.exit(0), Time elapsed: 4.921885498042684]