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.0007618/0.0007618, 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.001273/0.001273, allocations: 173.3 kB / 23.03 MB, free: 1.547 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.985/0.985, allocations: 177.2 MB / 203.4 MB, free: 5.641 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.01837/0.01837, allocations: 3.155 MB / 263.1 MB, free: 10.07 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.603e-06/1.603e-06, allocations: 0 / 333.5 MB, free: 16.04 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.453e-05, allocations: 2.312 kB / 333.5 MB, free: 16.03 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.002167/0.002192, allocations: 2.006 MB / 335.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002166/0.004358, allocations: 1.651 MB / 337.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.004525, allocations: 0 / 337.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001646/0.004689, allocations: 43.47 kB / 337.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006626/0.005352, allocations: 270.8 kB / 337.4 MB, free: 12.05 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.0007942/0.006146, allocations: 402.6 kB / 337.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000471/0.006617, allocations: 0.6043 MB / 338.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.006768, allocations: 71.84 kB / 338.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000311/0.007079, allocations: 323.4 kB / 338.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.007295, allocations: 219.4 kB / 339 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.987e-05/0.007365, allocations: 60 kB / 339.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006584/0.008024, allocations: 467 kB / 339.5 MB, free: 9.934 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.008125, allocations: 135.6 kB / 339.7 MB, free: 9.801 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.00824, allocations: 151.6 kB / 339.8 MB, free: 9.652 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008241/0.009064, allocations: 0.6386 MB / 340.5 MB, free: 9.012 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.009068, allocations: 3.938 kB / 340.5 MB, free: 9.008 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.00907, allocations: 0 / 340.5 MB, free: 9.008 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.009075, allocations: 4 kB / 340.5 MB, free: 9.004 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.0009497/0.01003, allocations: 0.7433 MB / 341.2 MB, free: 8.223 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.01006, allocations: 8.031 kB / 341.2 MB, free: 8.215 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009115/0.01097, allocations: 212.9 kB / 341.4 MB, free: 8.008 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/0.01131, allocations: 308 kB / 341.7 MB, free: 7.676 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.424e-05/0.01136, allocations: 37.03 kB / 341.8 MB, free: 7.637 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.367e-05/0.01143, allocations: 36.38 kB / 341.8 MB, free: 7.602 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006554/0.01209, allocations: 354.3 kB / 342.1 MB, free: 7.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.0121, allocations: 192 / 342.1 MB, free: 7.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.967e-05/0.01214, allocations: 20.38 kB / 342.2 MB, free: 7.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.01215, allocations: 4.375 kB / 342.2 MB, free: 7.227 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005186/0.01267, allocations: 255.7 kB / 342.4 MB, free: 6.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.014, allocations: 0.9511 MB / 343.4 MB, free: 5.988 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006899/0.01469, allocations: 332.2 kB / 343.7 MB, free: 5.652 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002607/0.01495, allocations: 148.3 kB / 343.8 MB, free: 5.504 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.13e-05/0.01499, allocations: 16.31 kB / 343.9 MB, free: 5.488 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.01502, allocations: 41.77 kB / 343.9 MB, free: 5.438 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 2.274e-06/0.01502, allocations: 0 / 343.9 MB, free: 5.438 MB / 266.7 MB Notification: Performance of matching and sorting (n=46): time 0.00102/0.01604, allocations: 0.5175 MB / 344.4 MB, free: 4.914 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.01607, allocations: 59.41 kB / 344.5 MB, free: 4.844 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.01623, allocations: 280.3 kB / 344.7 MB, free: 4.551 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.01627, allocations: 37.7 kB / 344.8 MB, free: 4.508 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.553e-05/0.01633, allocations: 203.8 kB / 345 MB, free: 4.301 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.671e-05/0.01643, allocations: 170.5 kB / 345.1 MB, free: 4.133 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.01658, allocations: 115.9 kB / 345.3 MB, free: 4.012 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.364e-05/0.01665, allocations: 0.5079 MB / 345.8 MB, free: 3.492 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002677/0.01691, allocations: 137.2 kB / 345.9 MB, free: 3.355 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.01717, allocations: 149.7 kB / 346.1 MB, free: 3.211 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005094/0.01768, allocations: 294.3 kB / 346.3 MB, free: 2.922 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.01769, allocations: 3.938 kB / 346.3 MB, free: 2.918 MB / 266.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.000756/0.01844, allocations: 477 kB / 346.8 MB, free: 2.445 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.01846, allocations: 9.812 kB / 346.8 MB, free: 2.438 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.01847, allocations: 4 kB / 346.8 MB, free: 2.434 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.01848, allocations: 4 kB / 346.8 MB, free: 2.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000491/0.01897, allocations: 143.7 kB / 347 MB, free: 2.289 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.01898, allocations: 4 kB / 347 MB, free: 2.285 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.01916, allocations: 51.7 kB / 347 MB, free: 2.234 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.231e-05/0.01926, allocations: 63.91 kB / 347.1 MB, free: 2.172 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.0001366/0.01939, allocations: 188.4 kB / 347.3 MB, free: 1.977 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.503e-05/0.01949, allocations: 47.81 kB / 347.3 MB, free: 1.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008289/0.02032, allocations: 465.1 kB / 347.8 MB, free: 1.469 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.02032, allocations: 8 kB / 347.8 MB, free: 1.461 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.02033, allocations: 0 / 347.8 MB, free: 1.461 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.02033, allocations: 0 / 347.8 MB, free: 1.461 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003754/0.02071, allocations: 384.5 kB / 348.1 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.02071, allocations: 11.88 kB / 348.2 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004566/0.02117, allocations: 119.8 kB / 348.3 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.02117, allocations: 4 kB / 348.3 MB, free: 0.918 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.179e-05/0.02121, allocations: 19.97 kB / 348.3 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.373e-06/0.02122, allocations: 4 kB / 348.3 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.02122, allocations: 0 / 348.3 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.02229, allocations: 0.7118 MB / 349 MB, free: 168 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.21e-05/0.02232, allocations: 39.62 kB / 349.1 MB, free: 128 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.455e-05/0.02237, allocations: 19.98 kB / 349.1 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.02257, allocations: 23.98 kB / 349.1 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.02269, allocations: 56.33 kB / 349.2 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/0.0228, allocations: 63.89 kB / 349.2 MB, free: 15.96 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000121/0.02292, allocations: 197.1 kB / 349.4 MB, free: 15.77 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02292, allocations: 0 / 349.4 MB, free: 15.77 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005614/0.02348, allocations: 171.6 kB / 349.6 MB, free: 15.61 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.0007522/0.02424, allocations: 400.4 kB / 350 MB, free: 15.28 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007461/0.02498, allocations: 380.1 kB / 350.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.02498, allocations: 0 / 350.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003756/0.02536, allocations: 211.4 kB / 350.5 MB, free: 14.69 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.02573, allocations: 72.39 kB / 350.6 MB, free: 14.62 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.02692, allocations: 0.7578 MB / 351.4 MB, free: 13.83 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.084e-05/0.02701, allocations: 113.5 kB / 351.5 MB, free: 13.7 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003369/0.02735, allocations: 94.86 kB / 351.6 MB, free: 13.6 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.02754, allocations: 56.44 kB / 351.6 MB, free: 13.55 MB / 282.7 MB Notification: Performance of SimCode: time 8.22e-07/0.02754, allocations: 0 / 351.6 MB, free: 13.55 MB / 282.7 MB Notification: Performance of Templates: time 0.0134/0.04094, allocations: 8.544 MB / 360.2 MB, free: 5.078 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: 3.9407052118331194]