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.001147/0.001147, allocations: 92.2 kB / 20.19 MB, free: 4.367 MB / 18.57 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.001244/0.001244, allocations: 173 kB / 23.49 MB, free: 1.062 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 0.9966/0.9966, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.01723/0.01723, allocations: 3.153 MB / 263.4 MB, free: 10.12 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.393e-06/1.393e-06, allocations: 0 / 333.5 MB, free: 16.36 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.953e-05/2.092e-05, allocations: 2.312 kB / 333.5 MB, free: 16.36 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.00282/0.00284, allocations: 2.002 MB / 335.5 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002481/0.005321, allocations: 1.635 MB / 337.1 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002008/0.005522, allocations: 3.938 kB / 337.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001789/0.005701, allocations: 51.47 kB / 337.2 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007389/0.00644, allocations: 270.7 kB / 337.4 MB, free: 12.39 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.0009548/0.007395, allocations: 402.7 kB / 337.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007415/0.008136, allocations: 0.5965 MB / 338.4 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002462/0.008382, allocations: 75.83 kB / 338.5 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004313/0.008814, allocations: 319.4 kB / 338.8 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.008996, allocations: 231.4 kB / 339 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.643e-05/0.009052, allocations: 64 kB / 339.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005998/0.009652, allocations: 471 kB / 339.6 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.865e-05/0.009741, allocations: 139.6 kB / 339.7 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.451e-05/0.009835, allocations: 147.6 kB / 339.8 MB, free: 9.977 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006288/0.01046, allocations: 0.6464 MB / 340.5 MB, free: 9.328 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.01047, allocations: 0 / 340.5 MB, free: 9.328 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.01047, allocations: 0 / 340.5 MB, free: 9.328 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.01048, allocations: 0 / 340.5 MB, free: 9.328 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.0008352/0.01131, allocations: 0.7471 MB / 341.2 MB, free: 8.543 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.01135, allocations: 8.031 kB / 341.2 MB, free: 8.535 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007738/0.01212, allocations: 214.2 kB / 341.4 MB, free: 8.328 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000408/0.01253, allocations: 340.6 kB / 341.8 MB, free: 7.961 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.061e-05/0.01257, allocations: 33.03 kB / 341.8 MB, free: 7.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.85e-05/0.01263, allocations: 36.38 kB / 341.8 MB, free: 7.895 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000542/0.01317, allocations: 366.3 kB / 342.2 MB, free: 7.531 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.01318, allocations: 192 / 342.2 MB, free: 7.531 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/0.01321, allocations: 8.375 kB / 342.2 MB, free: 7.523 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.01322, allocations: 8.375 kB / 342.2 MB, free: 7.516 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004665/0.01369, allocations: 263.7 kB / 342.5 MB, free: 7.258 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.01484, allocations: 0.9472 MB / 343.4 MB, free: 6.273 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006023/0.01544, allocations: 320.3 kB / 343.7 MB, free: 5.949 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002269/0.01567, allocations: 152.3 kB / 343.9 MB, free: 5.797 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.397e-05/0.01571, allocations: 8.375 kB / 343.9 MB, free: 5.789 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.01574, allocations: 41.77 kB / 343.9 MB, free: 5.738 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 2.033e-06/0.01574, allocations: 0 / 343.9 MB, free: 5.738 MB / 266.7 MB Notification: Performance of matching and sorting (n=46): time 0.0009265/0.01667, allocations: 0.5175 MB / 344.5 MB, free: 5.215 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.0167, allocations: 59.41 kB / 344.5 MB, free: 5.145 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.01684, allocations: 280.3 kB / 344.8 MB, free: 4.852 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.01687, allocations: 33.7 kB / 344.8 MB, free: 4.812 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.8e-05/0.01692, allocations: 211.8 kB / 345 MB, free: 4.598 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.621e-05/0.017, allocations: 162.5 kB / 345.2 MB, free: 4.438 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.01712, allocations: 120 kB / 345.3 MB, free: 4.312 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.705e-05/0.01719, allocations: 0.5157 MB / 345.8 MB, free: 3.785 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.01742, allocations: 133.2 kB / 345.9 MB, free: 3.652 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/0.01764, allocations: 145.8 kB / 346.1 MB, free: 3.512 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004186/0.01806, allocations: 294.3 kB / 346.4 MB, free: 3.223 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.01806, allocations: 3.938 kB / 346.4 MB, free: 3.219 MB / 266.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0006228/0.01868, allocations: 481 kB / 346.8 MB, free: 2.742 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.0187, allocations: 4 kB / 346.9 MB, free: 2.738 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.0187, allocations: 0 / 346.9 MB, free: 2.738 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.01872, allocations: 4 kB / 346.9 MB, free: 2.734 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003773/0.01909, allocations: 139.8 kB / 347 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.597e-06/0.0191, allocations: 8 kB / 347 MB, free: 2.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.01924, allocations: 55.64 kB / 347.1 MB, free: 2.535 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.669e-05/0.01932, allocations: 67.89 kB / 347.1 MB, free: 2.469 MB / 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.0001154/0.01944, allocations: 184.4 kB / 347.3 MB, free: 2.277 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.558e-05/0.01951, allocations: 43.81 kB / 347.3 MB, free: 2.234 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006772/0.02019, allocations: 477 kB / 347.8 MB, free: 1.762 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.02019, allocations: 4 kB / 347.8 MB, free: 1.758 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.0202, allocations: 0 / 347.8 MB, free: 1.758 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.0202, allocations: 11.92 kB / 347.8 MB, free: 1.746 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.02051, allocations: 376.6 kB / 348.2 MB, free: 1.344 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.02051, allocations: 3.938 kB / 348.2 MB, free: 1.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003576/0.02087, allocations: 115.8 kB / 348.3 MB, free: 1.227 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.02087, allocations: 8 kB / 348.3 MB, free: 1.219 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.212e-05/0.0209, allocations: 19.97 kB / 348.3 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.02091, allocations: 7.984 kB / 348.3 MB, free: 1.191 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.02091, allocations: 3.938 kB / 348.3 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008725/0.02178, allocations: 0.7157 MB / 349.1 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.419e-05/0.0218, allocations: 39.62 kB / 349.1 MB, free: 424 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/0.02185, allocations: 15.94 kB / 349.1 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.022, allocations: 27.97 kB / 349.1 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.461e-05/0.02209, allocations: 60.39 kB / 349.2 MB, free: 320 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.894e-05/0.02215, allocations: 63.89 kB / 349.3 MB, free: 256 kB / 266.7 MB Notification: Performance of sorting global known variables: time 7.364e-05/0.02223, allocations: 189.1 kB / 349.5 MB, free: 68 kB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02223, allocations: 0 / 349.5 MB, free: 68 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004109/0.02264, allocations: 171.6 kB / 349.6 MB, free: 15.89 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.0006248/0.02326, allocations: 395.7 kB / 350 MB, free: 15.58 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006083/0.02387, allocations: 380.1 kB / 350.4 MB, free: 15.2 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.02387, allocations: 3.938 kB / 350.4 MB, free: 15.19 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002956/0.02417, allocations: 211.4 kB / 350.6 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.02446, allocations: 76.31 kB / 350.7 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009461/0.0254, allocations: 0.7462 MB / 351.4 MB, free: 14.13 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.177e-05/0.02548, allocations: 113.5 kB / 351.5 MB, free: 14 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002473/0.02572, allocations: 90.86 kB / 351.6 MB, free: 13.91 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.02587, allocations: 60.44 kB / 351.7 MB, free: 13.85 MB / 282.7 MB Notification: Performance of SimCode: time 9.41e-07/0.02587, allocations: 0 / 351.7 MB, free: 13.85 MB / 282.7 MB Notification: Performance of Templates: time 0.0124/0.03826, allocations: 7.737 MB / 359.4 MB, free: 6.172 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: 4.233434530906379]