Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.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.001675/0.001675, allocations: 96.03 kB / 21.25 MB, free: 428 kB / 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.001935/0.001935, allocations: 186.9 kB / 24.53 MB, free: 3.75 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.532/1.532, allocations: 225.7 MB / 253.4 MB, free: 12.76 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5201,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator") translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5201,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 5.081e-05/5.081e-05, allocations: 2.281 kB / 371.7 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.004091/0.004142, allocations: 1.334 MB / 373 MB, free: 7.828 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.005378, allocations: 344.6 kB / 373.4 MB, free: 7.492 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.764e-05/0.005436, allocations: 0 / 373.4 MB, free: 7.492 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.665e-05/0.005492, allocations: 3.938 kB / 373.4 MB, free: 7.488 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.108e-05/0.005583, allocations: 3.984 kB / 373.4 MB, free: 7.484 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.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.typeClassSections: time 0.0007959/0.006379, allocations: 95.7 kB / 373.5 MB, free: 7.391 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000118/0.006497, allocations: 23.88 kB / 373.5 MB, free: 7.367 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.794e-05/0.006585, allocations: 11.91 kB / 373.5 MB, free: 7.355 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.166e-05/0.006627, allocations: 4 kB / 373.5 MB, free: 7.352 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.807e-05/0.006665, allocations: 7.938 kB / 373.5 MB, free: 7.344 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.006684, allocations: 0 / 373.5 MB, free: 7.344 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002921/0.006976, allocations: 123.8 kB / 373.7 MB, free: 7.223 MB / 302.1 MB Notification: Performance of combineBinaries: time 6.843e-05/0.007044, allocations: 35.58 kB / 373.7 MB, free: 7.188 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 3.582e-05/0.00708, allocations: 31.59 kB / 373.7 MB, free: 7.156 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.626e-05/0.007106, allocations: 0 / 373.7 MB, free: 7.156 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.127e-05/0.007127, allocations: 4 kB / 373.7 MB, free: 7.152 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: 2 (2) * Number of variables: 2 (2) Notification: Performance of [SIM] Bindings: time 0.0006983/0.007826, allocations: 261.1 kB / 374 MB, free: 6.777 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 6.862e-05/0.007894, allocations: 32.03 kB / 374 MB, free: 6.734 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001472/0.008041, allocations: 76.33 kB / 374.1 MB, free: 6.633 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001161/0.008158, allocations: 64.67 kB / 374.1 MB, free: 6.523 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0004897/0.008647, allocations: 124.6 kB / 374.3 MB, free: 6.344 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001013/0.008749, allocations: 68.84 kB / 374.3 MB, free: 6.23 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 8.815e-05/0.008837, allocations: 48.41 kB / 374.4 MB, free: 6.156 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002579/0.009095, allocations: 84.72 kB / 374.5 MB, free: 6.02 MB / 302.1 MB Notification: Performance of [SIM] Events: time 6.396e-05/0.009159, allocations: 7.984 kB / 374.5 MB, free: 6.012 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001084/0.009267, allocations: 28.11 kB / 374.5 MB, free: 5.977 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0001595/0.009426, allocations: 36.11 kB / 374.5 MB, free: 5.934 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 5.469e-05/0.009481, allocations: 40.08 kB / 374.6 MB, free: 5.895 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0002568/0.009738, allocations: 113 kB / 374.7 MB, free: 5.715 MB / 302.1 MB Notification: Performance of [INI] Inline: time 6.119e-05/0.009799, allocations: 44.02 kB / 374.7 MB, free: 5.668 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 3.168e-05/0.009831, allocations: 16.12 kB / 374.7 MB, free: 5.645 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 2.894e-05/0.00986, allocations: 11.98 kB / 374.8 MB, free: 5.633 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0003202/0.01018, allocations: 133.9 kB / 374.9 MB, free: 5.496 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.9e-05/0.0102, allocations: 0 / 374.9 MB, free: 5.496 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.61e-07/0.0102, allocations: 0 / 374.9 MB, free: 5.496 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 7.437e-05/0.01027, allocations: 20.12 kB / 374.9 MB, free: 5.469 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 7.174e-06/0.01028, allocations: 0 / 374.9 MB, free: 5.469 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 4.839e-06/0.01029, allocations: 4 kB / 374.9 MB, free: 5.465 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 9.137e-06/0.01029, allocations: 3.938 kB / 374.9 MB, free: 5.461 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 7.734e-05/0.01037, allocations: 19.98 kB / 374.9 MB, free: 5.441 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 1.334e-05/0.01039, allocations: 0 / 374.9 MB, free: 5.441 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 9.306e-05/0.01048, allocations: 21.73 kB / 375 MB, free: 5.426 MB / 302.1 MB Notification: Performance of SimCode: time 0.001261/0.01174, allocations: 345.6 kB / 375.3 MB, free: 5.102 MB / 302.1 MB Notification: Performance of Templates: time 0.005478/0.01722, allocations: 0.9249 MB / 376.2 MB, free: 4.18 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.887233341985848]