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.001285/0.001285, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.001445/0.001445, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.016/1.016, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.01623/0.01623, allocations: 3.162 MB / 264.2 MB, free: 9.91 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.114e-06/2.114e-06, allocations: 0 / 334.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.709e-05/2.921e-05, allocations: 4.703 kB / 334.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.002743/0.002772, allocations: 1.992 MB / 336.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002315/0.005087, allocations: 1.623 MB / 338.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.005233, allocations: 3.938 kB / 338.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.005402, allocations: 43.48 kB / 338.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006853/0.006088, allocations: 270.7 kB / 338.6 MB, free: 11.81 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.0007334/0.006821, allocations: 398.7 kB / 339 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005004/0.007322, allocations: 0.6004 MB / 339.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.007494, allocations: 75.84 kB / 339.7 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003319/0.007826, allocations: 319.4 kB / 340 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002539/0.008079, allocations: 227.4 kB / 340.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.967e-05/0.008159, allocations: 63.98 kB / 340.3 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006579/0.008817, allocations: 463 kB / 340.7 MB, free: 9.691 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.008929, allocations: 131.6 kB / 340.9 MB, free: 9.562 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.009063, allocations: 151.5 kB / 341 MB, free: 9.414 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007797/0.009842, allocations: 0.6424 MB / 341.6 MB, free: 8.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.009845, allocations: 4 kB / 341.7 MB, free: 8.766 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.009846, allocations: 0 / 341.7 MB, free: 8.766 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.009852, allocations: 0 / 341.7 MB, free: 8.766 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.001045/0.0109, allocations: 0.7471 MB / 342.4 MB, free: 7.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.01093, allocations: 8.031 kB / 342.4 MB, free: 7.973 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.01195, allocations: 218.3 kB / 342.6 MB, free: 7.762 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003573/0.0123, allocations: 296 kB / 342.9 MB, free: 7.441 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.177e-05/0.01236, allocations: 37.03 kB / 342.9 MB, free: 7.402 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.41e-05/0.01244, allocations: 40.36 kB / 343 MB, free: 7.363 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006427/0.01308, allocations: 322.3 kB / 343.3 MB, free: 7.043 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.0131, allocations: 192 / 343.3 MB, free: 7.043 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.562e-05/0.01314, allocations: 12.38 kB / 343.3 MB, free: 7.031 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.01315, allocations: 8.375 kB / 343.3 MB, free: 7.023 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004626/0.01361, allocations: 198.9 kB / 343.5 MB, free: 6.828 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.01513, allocations: 0.8931 MB / 344.4 MB, free: 5.902 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007338/0.01587, allocations: 296.3 kB / 344.7 MB, free: 5.602 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002411/0.01611, allocations: 116.3 kB / 344.8 MB, free: 5.484 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.908e-05/0.01616, allocations: 8.375 kB / 344.8 MB, free: 5.477 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.01619, allocations: 41.77 kB / 344.9 MB, free: 5.426 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 2.444e-06/0.01619, allocations: 0 / 344.9 MB, free: 5.426 MB / 266.7 MB Notification: Performance of matching and sorting (n=46): time 0.00107/0.01726, allocations: 445.9 kB / 345.3 MB, free: 4.984 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.0173, allocations: 59.41 kB / 345.4 MB, free: 4.914 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.0175, allocations: 272.2 kB / 345.6 MB, free: 4.629 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.245e-05/0.01754, allocations: 37.7 kB / 345.7 MB, free: 4.586 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.001e-05/0.01763, allocations: 215.8 kB / 345.9 MB, free: 4.367 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.01776, allocations: 170.5 kB / 346 MB, free: 4.199 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/0.01797, allocations: 111.9 kB / 346.1 MB, free: 4.082 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.01808, allocations: 0.5195 MB / 346.7 MB, free: 3.551 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/0.01833, allocations: 93.23 kB / 346.8 MB, free: 3.461 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.01856, allocations: 105.8 kB / 346.9 MB, free: 3.359 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004881/0.01905, allocations: 242.3 kB / 347.1 MB, free: 3.117 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.01906, allocations: 0 / 347.1 MB, free: 3.117 MB / 266.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0007972/0.01985, allocations: 420.8 kB / 347.5 MB, free: 2.699 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.01987, allocations: 4 kB / 347.5 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.01988, allocations: 0 / 347.5 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.01989, allocations: 4 kB / 347.5 MB, free: 2.691 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006135/0.02051, allocations: 135.8 kB / 347.6 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.02052, allocations: 11.92 kB / 347.7 MB, free: 2.547 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.02076, allocations: 51.7 kB / 347.7 MB, free: 2.496 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.02087, allocations: 67.89 kB / 347.8 MB, free: 2.43 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,noise1.actualGlobalSeed,globalSeed.id_impure,noise2.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.0001572/0.02103, allocations: 180.5 kB / 347.9 MB, free: 2.242 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.02113, allocations: 47.75 kB / 348 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009024/0.02203, allocations: 417.1 kB / 348.4 MB, free: 1.781 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.02204, allocations: 8 kB / 348.4 MB, free: 1.773 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.02204, allocations: 0 / 348.4 MB, free: 1.773 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.02205, allocations: 4 kB / 348.4 MB, free: 1.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004745/0.02252, allocations: 345.1 kB / 348.7 MB, free: 1.406 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.02253, allocations: 0 / 348.7 MB, free: 1.406 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005872/0.02312, allocations: 119.8 kB / 348.9 MB, free: 1.289 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.02312, allocations: 0 / 348.9 MB, free: 1.289 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.915e-05/0.02318, allocations: 27.91 kB / 348.9 MB, free: 1.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.02319, allocations: 0 / 348.9 MB, free: 1.262 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.02319, allocations: 4 kB / 348.9 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.02438, allocations: 0.6336 MB / 349.5 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.977e-05/0.02442, allocations: 35.69 kB / 349.6 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.066e-05/0.02449, allocations: 15.94 kB / 349.6 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002759/0.02477, allocations: 27.97 kB / 349.6 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.02493, allocations: 56.39 kB / 349.7 MB, free: 484 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.962e-05/0.02503, allocations: 63.12 kB / 349.7 MB, free: 424 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001088/0.02513, allocations: 185.1 kB / 349.9 MB, free: 240 kB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02513, allocations: 0 / 349.9 MB, free: 240 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006205/0.02575, allocations: 179.6 kB / 350.1 MB, free: 60 kB / 266.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.001002/0.02676, allocations: 393.8 kB / 350.5 MB, free: 15.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006164/0.02737, allocations: 320.1 kB / 350.8 MB, free: 15.42 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.02737, allocations: 0 / 350.8 MB, free: 15.42 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002346/0.02761, allocations: 175.4 kB / 350.9 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.02792, allocations: 76.44 kB / 351 MB, free: 15.17 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009598/0.02888, allocations: 0.7188 MB / 351.7 MB, free: 14.42 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.945e-05/0.02896, allocations: 113.4 kB / 351.9 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002626/0.02922, allocations: 86.86 kB / 351.9 MB, free: 14.2 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002444/0.02946, allocations: 158.1 kB / 352.1 MB, free: 14.04 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.02946, allocations: 0 / 352.1 MB, free: 14.04 MB / 282.7 MB Notification: Performance of Templates: time 0.01202/0.04148, allocations: 8.859 MB / 361 MB, free: 5.266 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.164477703627199]