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.001848/0.001848, allocations: 93.47 kB / 19.44 MB, free: 332 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.002033/0.002033, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.582/1.582, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 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.03282/0.03282, allocations: 3.146 MB / 262.7 MB, free: 10.08 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 1.503e-06/1.503e-06, allocations: 0 / 332.7 MB, free: 16.37 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.463e-05, allocations: 2.312 kB / 332.7 MB, free: 16.37 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.002426/0.00245, allocations: 1.982 MB / 334.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002408/0.004859, allocations: 1.631 MB / 336.3 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.004968, allocations: 4 kB / 336.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.005146, allocations: 47.42 kB / 336.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006544/0.0058, allocations: 266.8 kB / 336.7 MB, free: 12.43 MB / 266.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.0006748/0.006475, allocations: 398.6 kB / 337 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003939/0.006869, allocations: 0.6081 MB / 337.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.007034, allocations: 71.84 kB / 337.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003298/0.007364, allocations: 319.4 kB / 338 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.007581, allocations: 231.4 kB / 338.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.101e-05/0.007662, allocations: 64 kB / 338.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006174/0.008279, allocations: 467 kB / 338.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.884e-05/0.008378, allocations: 139.6 kB / 338.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.008498, allocations: 155.5 kB / 339.1 MB, free: 10.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007045/0.009203, allocations: 0.8297 MB / 339.9 MB, free: 9.176 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.009206, allocations: 0 / 339.9 MB, free: 9.176 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.009207, allocations: 0 / 339.9 MB, free: 9.176 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.009213, allocations: 0 / 339.9 MB, free: 9.176 MB / 266.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.001149/0.01036, allocations: 0.778 MB / 340.7 MB, free: 8.359 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.0104, allocations: 12.03 kB / 340.7 MB, free: 8.348 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.01159, allocations: 206.3 kB / 340.9 MB, free: 8.148 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006167/0.01221, allocations: 308 kB / 341.2 MB, free: 7.816 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.429e-05/0.01225, allocations: 44.97 kB / 341.2 MB, free: 7.773 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-05/0.01233, allocations: 44.36 kB / 341.3 MB, free: 7.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008889/0.01322, allocations: 458.3 kB / 341.7 MB, free: 7.277 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.01323, allocations: 192 / 341.7 MB, free: 7.277 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/0.01328, allocations: 12.38 kB / 341.7 MB, free: 7.266 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.01329, allocations: 12.36 kB / 341.8 MB, free: 7.254 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.01446, allocations: 0.5022 MB / 342.3 MB, free: 6.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.01626, allocations: 1.11 MB / 343.4 MB, free: 5.602 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.01751, allocations: 0.4924 MB / 343.9 MB, free: 5.098 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005482/0.01806, allocations: 260.3 kB / 344.1 MB, free: 4.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.174e-05/0.01812, allocations: 12.38 kB / 344.1 MB, free: 4.828 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.01814, allocations: 41.77 kB / 344.2 MB, free: 4.777 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 1.563e-06/0.01814, allocations: 0 / 344.2 MB, free: 4.777 MB / 266.7 MB Notification: Performance of matching and sorting (n=46): time 0.002038/0.02018, allocations: 0.8376 MB / 345 MB, free: 3.934 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.02021, allocations: 55.41 kB / 345.1 MB, free: 3.867 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.02042, allocations: 324.3 kB / 345.4 MB, free: 3.531 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.03e-05/0.02046, allocations: 37.69 kB / 345.4 MB, free: 3.488 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.056e-05/0.02055, allocations: 219.8 kB / 345.6 MB, free: 3.266 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.02065, allocations: 182.5 kB / 345.8 MB, free: 3.086 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001918/0.02084, allocations: 143.9 kB / 345.9 MB, free: 2.938 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.02096, allocations: 0.5352 MB / 346.5 MB, free: 2.391 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006062/0.02156, allocations: 257.1 kB / 346.7 MB, free: 2.137 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005848/0.02215, allocations: 269.8 kB / 347 MB, free: 1.875 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.02327, allocations: 0.5294 MB / 347.5 MB, free: 1.344 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.02327, allocations: 7.875 kB / 347.5 MB, free: 1.336 MB / 266.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001428/0.0247, allocations: 0.6806 MB / 348.2 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.02472, allocations: 4 kB / 348.2 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.02472, allocations: 4 kB / 348.2 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.02475, allocations: 4 kB / 348.2 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007302/0.02548, allocations: 143.8 kB / 348.4 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.02548, allocations: 0 / 348.4 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003185/0.0258, allocations: 51.7 kB / 348.4 MB, free: 456 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.02591, allocations: 68.52 kB / 348.5 MB, free: 388 kB / 266.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.0001916/0.0261, allocations: 208.4 kB / 348.7 MB, free: 168 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.02621, allocations: 51.81 kB / 348.7 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001889/0.0281, allocations: 0.6572 MB / 349.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.02811, allocations: 4 kB / 349.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.02811, allocations: 4 kB / 349.4 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.02813, allocations: 3.984 kB / 349.4 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007476/0.02887, allocations: 464.5 kB / 349.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.02888, allocations: 3.938 kB / 349.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008149/0.02969, allocations: 115.8 kB / 350 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.0297, allocations: 8 kB / 350 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.216e-05/0.02976, allocations: 19.98 kB / 350 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.02976, allocations: 0 / 350 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.02977, allocations: 0 / 350 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002746/0.03251, allocations: 1.094 MB / 351.1 MB, free: 13.69 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-05/0.03258, allocations: 39.62 kB / 351.1 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.51e-05/0.03265, allocations: 12 kB / 351.1 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003761/0.03303, allocations: 27.97 kB / 351.2 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.03321, allocations: 60.39 kB / 351.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001625/0.03337, allocations: 65.55 kB / 351.3 MB, free: 13.49 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002185/0.03359, allocations: 213.1 kB / 351.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03359, allocations: 0 / 351.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006706/0.03426, allocations: 179.6 kB / 351.7 MB, free: 13.11 MB / 282.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.001277/0.03554, allocations: 375.3 kB / 352 MB, free: 12.8 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001877/0.03741, allocations: 0.6172 MB / 352.7 MB, free: 12.17 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.03742, allocations: 0 / 352.7 MB, free: 12.17 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000892/0.03831, allocations: 327.4 kB / 353 MB, free: 11.85 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/0.03878, allocations: 77.73 kB / 353.1 MB, free: 11.78 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.04081, allocations: 0.8707 MB / 353.9 MB, free: 10.87 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.0412, allocations: 194.1 kB / 354.1 MB, free: 10.66 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004424/0.04164, allocations: 98.8 kB / 354.2 MB, free: 10.57 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/0.04189, allocations: 56.44 kB / 354.3 MB, free: 10.51 MB / 282.7 MB Notification: Performance of SimCode: time 1.663e-06/0.0419, allocations: 4 kB / 354.3 MB, free: 10.51 MB / 282.7 MB Notification: Performance of Templates: time 0.0168/0.05869, allocations: 7.723 MB / 362 MB, free: 2.844 MB / 282.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: 6.69400499004405]