Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.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.001178/0.001178, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001484/0.001484, allocations: 165 kB / 23.02 MB, free: 1.555 MB / 18.57 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.027/1.027, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.01514/0.01514, allocations: 3.156 MB / 263.1 MB, free: 10.05 MB / 250.7 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.SignalBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations") translateModel(AdvancedNoise.Examples.SignalBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 333.4 MB, free: 1.105 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3e-05/3.222e-05, allocations: 4.984 kB / 333.4 MB, free: 1.102 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.002922/0.002954, allocations: 2.011 MB / 335.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003129/0.006083, allocations: 1.647 MB / 337.1 MB, free: 13.42 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002775/0.00636, allocations: 11.88 kB / 337.1 MB, free: 13.41 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002577/0.006618, allocations: 43.47 kB / 337.2 MB, free: 13.37 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000835/0.007453, allocations: 270.8 kB / 337.4 MB, free: 13.1 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/Generators/QuickXorshift64star/package.mo:6:13-93:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise1.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise1.generator.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/Sources/SignalBasedNoise.mo:248:3-259:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise1.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise1.convertRealToIntegers'. [/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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/Generators/QuickXorshift64star/package.mo:6:13-93:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise2.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise2.generator.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/Sources/SignalBasedNoise.mo:248:3-259:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise2.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise2.convertRealToIntegers'. Notification: Performance of NFTyping.typeClassSections: time 0.0009547/0.008408, allocations: 394.7 kB / 337.8 MB, free: 12.71 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006248/0.009033, allocations: 0.6043 MB / 338.4 MB, free: 12.11 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.009218, allocations: 71.84 kB / 338.5 MB, free: 12.04 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003766/0.009595, allocations: 319.4 kB / 338.8 MB, free: 11.73 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000337/0.009932, allocations: 231.4 kB / 339 MB, free: 11.5 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.207e-05/0.01001, allocations: 64 kB / 339.1 MB, free: 11.44 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006876/0.0107, allocations: 471 kB / 339.5 MB, free: 10.98 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.01084, allocations: 135.6 kB / 339.7 MB, free: 10.85 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.011, allocations: 151.6 kB / 339.8 MB, free: 10.7 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009417/0.01194, allocations: 0.6425 MB / 340.5 MB, free: 10.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.01194, allocations: 0 / 340.5 MB, free: 10.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.01194, allocations: 0 / 340.5 MB, free: 10.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.01195, allocations: 0 / 340.5 MB, free: 10.05 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.00132/0.01327, allocations: 0.751 MB / 341.2 MB, free: 9.262 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.01333, allocations: 8.031 kB / 341.2 MB, free: 9.254 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008693/0.01419, allocations: 212.3 kB / 341.4 MB, free: 9.047 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005271/0.01472, allocations: 328.6 kB / 341.8 MB, free: 8.691 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.996e-05/0.01477, allocations: 41.02 kB / 341.8 MB, free: 8.652 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.119e-05/0.01484, allocations: 36.38 kB / 341.8 MB, free: 8.617 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006241/0.01547, allocations: 358.3 kB / 342.2 MB, free: 8.262 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.01548, allocations: 192 / 342.2 MB, free: 8.262 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.718e-05/0.01552, allocations: 20.38 kB / 342.2 MB, free: 8.242 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.01553, allocations: 4.375 kB / 342.2 MB, free: 8.238 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004629/0.01599, allocations: 263.6 kB / 342.5 MB, free: 7.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.01761, allocations: 0.9472 MB / 343.4 MB, free: 6.996 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006494/0.01826, allocations: 328.2 kB / 343.7 MB, free: 6.664 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/0.01849, allocations: 148.3 kB / 343.9 MB, free: 6.516 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.776e-05/0.01854, allocations: 12.38 kB / 343.9 MB, free: 6.504 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.01857, allocations: 37.77 kB / 343.9 MB, free: 6.457 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 3.497e-06/0.01857, allocations: 0 / 343.9 MB, free: 6.457 MB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.0009251/0.0195, allocations: 0.5176 MB / 344.4 MB, free: 5.934 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.01954, allocations: 59.34 kB / 344.5 MB, free: 5.863 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.01975, allocations: 284.3 kB / 344.8 MB, free: 5.566 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.178e-05/0.01979, allocations: 37.7 kB / 344.8 MB, free: 5.523 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.0199, allocations: 207.8 kB / 345 MB, free: 5.316 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.02001, allocations: 170.5 kB / 345.2 MB, free: 5.148 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.02016, allocations: 112 kB / 345.3 MB, free: 5.031 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.02032, allocations: 0.5157 MB / 345.8 MB, free: 4.504 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002592/0.02058, allocations: 137.2 kB / 345.9 MB, free: 4.367 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.0208, allocations: 141.8 kB / 346.1 MB, free: 4.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004426/0.02125, allocations: 294.3 kB / 346.4 MB, free: 3.941 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.02125, allocations: 3.938 kB / 346.4 MB, free: 3.938 MB / 314.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0006901/0.02194, allocations: 477 kB / 346.8 MB, free: 3.465 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.02196, allocations: 7.984 kB / 346.8 MB, free: 3.457 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.02197, allocations: 4 kB / 346.8 MB, free: 3.453 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.02199, allocations: 4 kB / 346.9 MB, free: 3.449 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004029/0.02239, allocations: 135.8 kB / 347 MB, free: 3.316 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.0224, allocations: 7.938 kB / 347 MB, free: 3.309 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.02255, allocations: 51.7 kB / 347 MB, free: 3.258 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.55e-05/0.02264, allocations: 74.48 kB / 347.1 MB, free: 3.188 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (globalSeed.seed,noise2.actualGlobalSeed,globalSeed.id_impure,noise1.actualGlobalSeed,noise2.localSeed,noise1.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001478/0.02279, allocations: 180.5 kB / 347.3 MB, free: 3 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-05/0.02287, allocations: 47.81 kB / 347.3 MB, free: 2.953 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007422/0.02362, allocations: 480.9 kB / 347.8 MB, free: 2.477 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.02362, allocations: 11.98 kB / 347.8 MB, free: 2.465 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.02363, allocations: 0 / 347.8 MB, free: 2.465 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.02364, allocations: 3.984 kB / 347.8 MB, free: 2.461 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003671/0.024, allocations: 360.8 kB / 348.2 MB, free: 2.074 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.02401, allocations: 11.92 kB / 348.2 MB, free: 2.062 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003763/0.02438, allocations: 111.8 kB / 348.3 MB, free: 1.953 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.02439, allocations: 4 kB / 348.3 MB, free: 1.949 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.803e-05/0.02443, allocations: 23.97 kB / 348.3 MB, free: 1.926 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.02443, allocations: 7.938 kB / 348.3 MB, free: 1.918 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.02444, allocations: 0 / 348.3 MB, free: 1.918 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.02549, allocations: 0.7235 MB / 349.1 MB, free: 1.176 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.179e-05/0.02553, allocations: 43.58 kB / 349.1 MB, free: 1.133 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.054e-05/0.02558, allocations: 16 kB / 349.1 MB, free: 1.117 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.02574, allocations: 27.97 kB / 349.1 MB, free: 1.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.02587, allocations: 56.39 kB / 349.2 MB, free: 1.035 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.397e-05/0.02595, allocations: 59.89 kB / 349.3 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001169/0.02607, allocations: 193.1 kB / 349.4 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02607, allocations: 0 / 349.4 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005563/0.02663, allocations: 167.6 kB / 349.6 MB, free: 0.6211 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (crossCorrelationTest.correlation.int_X,crossCorrelationTest.correlation.int_Y,crossCorrelationTest.correlation.int_X2,crossCorrelationTest.correlation.int_Y2,crossCorrelationTest.correlation.int_XY,autoCorrelationTest.correlationTest.correlation.int_X,autoCorrelationTest.correlationTest.correlation.int_Y,autoCorrelationTest.correlationTest.correlation.int_X2,autoCorrelationTest.correlationTest.correlation.int_Y2,autoCorrelationTest.correlationTest.correlation.int_XY) * Number of discrete variables: 2 (noise1.localSeed,noise2.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001006/0.02763, allocations: 390.6 kB / 350 MB, free: 308 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000666/0.0283, allocations: 380.1 kB / 350.4 MB, free: 15.92 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.0283, allocations: 0 / 350.4 MB, free: 15.92 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003179/0.02862, allocations: 211.4 kB / 350.6 MB, free: 15.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.02898, allocations: 82.8 kB / 350.6 MB, free: 15.63 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.03015, allocations: 0.7563 MB / 351.4 MB, free: 14.85 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.725e-05/0.03023, allocations: 105.6 kB / 351.5 MB, free: 14.72 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002415/0.03047, allocations: 94.86 kB / 351.6 MB, free: 14.63 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.03063, allocations: 60.44 kB / 351.7 MB, free: 14.57 MB / 330.7 MB Notification: Performance of SimCode: time 9.72e-07/0.03063, allocations: 4 kB / 351.7 MB, free: 14.57 MB / 330.7 MB Notification: Performance of Templates: time 0.01121/0.04184, allocations: 7.731 MB / 359.4 MB, free: 6.895 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.makefile [Timeout 660] (rm -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.sim & ./AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations -abortSlowSimulation -alarm=240 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.888310387264937]