Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.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.001344/0.001344, allocations: 104.3 kB / 19.77 MB, free: 2.051 MB / 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.001423/0.001423, allocations: 217.7 kB / 23.07 MB, free: 4.844 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.51/1.51, allocations: 230.6 MB / 256.9 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo): time 0.02697/0.02697, allocations: 3.942 MB / 317.2 MB, free: 15.09 MB / 254.1 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/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(AdvancedNoise.Examples.TimeBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise") translateModel(AdvancedNoise.Examples.TimeBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.272e-05, allocations: 6.219 kB / 441 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedNoise): time 0.003064/0.003087, allocations: 1.504 MB / 442.5 MB, free: 9.629 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.004745, allocations: 1.153 MB / 443.7 MB, free: 8.469 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.427e-05/0.004819, allocations: 3.938 kB / 443.7 MB, free: 8.465 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.004978, allocations: 35.66 kB / 443.7 MB, free: 8.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.166e-05/0.00505, allocations: 31.78 kB / 443.7 MB, free: 8.398 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.0006808/0.005731, allocations: 251.2 kB / 444 MB, free: 8.152 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002725/0.006003, allocations: 287.4 kB / 444.3 MB, free: 7.871 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.651e-05/0.00606, allocations: 13.8 kB / 444.3 MB, free: 7.855 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002231/0.006283, allocations: 107.7 kB / 444.4 MB, free: 7.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.006388, allocations: 71.66 kB / 444.5 MB, free: 7.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.006418, allocations: 16 kB / 444.5 MB, free: 7.664 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002575/0.006675, allocations: 199.6 kB / 444.7 MB, free: 7.469 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001686/0.006844, allocations: 316.7 kB / 445 MB, free: 7.156 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 5e-05/0.006894, allocations: 185.5 kB / 445.2 MB, free: 6.973 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.068e-05/0.006934, allocations: 16 kB / 445.2 MB, free: 6.957 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.254e-05/0.006957, allocations: 4 kB / 445.2 MB, free: 6.953 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: 18 (4) * Number of variables: 18 (10) Notification: Performance of [SIM] Bindings: time 0.0006495/0.007606, allocations: 0.734 MB / 445.9 MB, free: 6.098 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 8.793e-05/0.007694, allocations: 73.31 kB / 446 MB, free: 6.016 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0004647/0.008159, allocations: 0.5601 MB / 446.5 MB, free: 5.43 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001256/0.008285, allocations: 165.8 kB / 446.7 MB, free: 5.223 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0001839/0.008468, allocations: 229.8 kB / 446.9 MB, free: 4.945 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001182/0.008587, allocations: 153.9 kB / 447.1 MB, free: 4.75 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 7.521e-05/0.008662, allocations: 108.3 kB / 447.2 MB, free: 4.617 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0001509/0.008813, allocations: 202.9 kB / 447.4 MB, free: 4.367 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0002086/0.009021, allocations: 148 kB / 447.5 MB, free: 4.234 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002492/0.009271, allocations: 276.3 kB / 447.8 MB, free: 3.934 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0006063/0.009877, allocations: 0.5394 MB / 448.3 MB, free: 3.363 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003412/0.01022, allocations: 0.5155 MB / 448.8 MB, free: 2.848 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.000414/0.01063, allocations: 362.9 kB / 449.2 MB, free: 2.426 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0005455/0.01118, allocations: 0.8274 MB / 450 MB, free: 1.594 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.772e-05/0.0112, allocations: 20.09 kB / 450 MB, free: 1.566 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0001673/0.01136, allocations: 207.8 kB / 450.3 MB, free: 1.363 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.0008044/0.01217, allocations: 0.9327 MB / 451.2 MB, free: 428 kB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.51e-05/0.01218, allocations: 16 kB / 451.2 MB, free: 412 kB / 302.1 MB Notification: Performance of [SIM] Initialization: time 3.8e-07/0.01218, allocations: 0 / 451.2 MB, free: 412 kB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 6.093e-05/0.01224, allocations: 64.48 kB / 451.3 MB, free: 316 kB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.398e-06/0.01225, allocations: 0 / 451.3 MB, free: 316 kB / 302.1 MB Notification: Performance of [SIM] Tearing: time 5.17e-06/0.01225, allocations: 15.94 kB / 451.3 MB, free: 300 kB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.009e-05/0.01226, allocations: 0 / 451.3 MB, free: 300 kB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.0001825/0.01245, allocations: 170.5 kB / 451.4 MB, free: 132 kB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 0.0002363/0.01268, allocations: 348 kB / 451.8 MB, free: 15.72 MB / 318.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: ......... 4 * 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: ................. 28 (20) {timeBasedNoise.state, timeBasedNoise.buffer, timeBasedNoise.bufferStartTime, timeBasedNoise.r, timeBasedNoise1.state, timeBasedNoise1.buffer, timeBasedNoise1.bufferStartTime, timeBasedNoise1.r, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_5, $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: ........... 6 (scalar:6, 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: 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: ........... 16 (scalar:16, 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: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.448e-05/0.01274, allocations: 33.36 kB / 451.8 MB, free: 15.69 MB / 318.1 MB Notification: Performance of SimCode: time 0.001783/0.01452, allocations: 0.8734 MB / 452.7 MB, free: 14.81 MB / 318.1 MB Notification: Performance of Templates: time 0.006857/0.02138, allocations: 2.849 MB / 455.5 MB, free: 12 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.makefile [Timeout 660] (rm -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.sim & ./AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise -abortSlowSimulation -alarm=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.75190679699881] Failed to read output from testmodel.py, exit status != 0: 0.028204381989780813 0.043602966 0.03370211 Calling exit ...