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.00093/0.00093, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.0009086/0.0009086, allocations: 169 kB / 23.27 MB, free: 1.227 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.16/1.16, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.01755/0.01755, allocations: 3.149 MB / 263.4 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.234e-06/2.234e-06, allocations: 0 / 333.9 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.674e-05/2.897e-05, allocations: 2.312 kB / 333.9 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.00307/0.003099, allocations: 1.998 MB / 335.9 MB, free: 14.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003095/0.006194, allocations: 1.623 MB / 337.5 MB, free: 13.21 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002001/0.006394, allocations: 7.938 kB / 337.5 MB, free: 13.21 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002393/0.006634, allocations: 35.53 kB / 337.6 MB, free: 13.17 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008712/0.007505, allocations: 278.7 kB / 337.8 MB, free: 12.9 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.000989/0.008494, allocations: 402.6 kB / 338.2 MB, free: 12.5 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005691/0.009063, allocations: 0.6082 MB / 338.8 MB, free: 11.89 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.009225, allocations: 63.86 kB / 338.9 MB, free: 11.84 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003343/0.009559, allocations: 323.4 kB / 339.2 MB, free: 11.52 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.00978, allocations: 223.4 kB / 339.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.139e-05/0.009852, allocations: 60 kB / 339.5 MB, free: 11.24 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007031/0.01055, allocations: 471 kB / 339.9 MB, free: 10.78 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.01069, allocations: 135.6 kB / 340.1 MB, free: 10.65 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.01081, allocations: 155.5 kB / 340.2 MB, free: 10.5 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008432/0.01165, allocations: 0.6308 MB / 340.9 MB, free: 9.863 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.01166, allocations: 0 / 340.9 MB, free: 9.863 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01166, allocations: 0 / 340.9 MB, free: 9.863 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.01166, allocations: 0 / 340.9 MB, free: 9.863 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.0009732/0.01264, allocations: 0.7549 MB / 341.6 MB, free: 9.066 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.01269, allocations: 12.03 kB / 341.6 MB, free: 9.055 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007049/0.01339, allocations: 212.3 kB / 341.8 MB, free: 8.848 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.01372, allocations: 296 kB / 342.1 MB, free: 8.527 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.457e-05/0.01377, allocations: 37.03 kB / 342.2 MB, free: 8.488 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.306e-05/0.01383, allocations: 40.36 kB / 342.2 MB, free: 8.449 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005097/0.01434, allocations: 314.4 kB / 342.5 MB, free: 8.137 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.01435, allocations: 192 / 342.5 MB, free: 8.137 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/0.01438, allocations: 16.38 kB / 342.5 MB, free: 8.121 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.0144, allocations: 12.36 kB / 342.5 MB, free: 8.109 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003024/0.0147, allocations: 198.9 kB / 342.7 MB, free: 7.914 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.01591, allocations: 0.8891 MB / 343.6 MB, free: 6.992 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009949/0.0169, allocations: 300.3 kB / 343.9 MB, free: 6.688 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.01706, allocations: 120.3 kB / 344 MB, free: 6.566 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.641e-05/0.0171, allocations: 16.31 kB / 344 MB, free: 6.551 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.01713, allocations: 41.77 kB / 344.1 MB, free: 6.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 1.934e-06/0.01713, allocations: 0 / 344.1 MB, free: 6.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.0007172/0.01785, allocations: 442 kB / 344.5 MB, free: 6.062 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.01789, allocations: 55.41 kB / 344.6 MB, free: 5.996 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.01808, allocations: 276.2 kB / 344.8 MB, free: 5.707 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.01811, allocations: 45.64 kB / 344.9 MB, free: 5.656 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.01822, allocations: 207.8 kB / 345.1 MB, free: 5.449 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.01834, allocations: 174.5 kB / 345.3 MB, free: 5.277 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.01848, allocations: 115.9 kB / 345.4 MB, free: 5.156 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.01865, allocations: 0.5156 MB / 345.9 MB, free: 4.629 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.01881, allocations: 89.23 kB / 346 MB, free: 4.543 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.01896, allocations: 109.8 kB / 346.1 MB, free: 4.438 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003345/0.0193, allocations: 242.3 kB / 346.3 MB, free: 4.195 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.0193, allocations: 0 / 346.3 MB, free: 4.195 MB / 314.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0005424/0.01984, allocations: 413 kB / 346.7 MB, free: 3.785 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.01986, allocations: 4 kB / 346.7 MB, free: 3.781 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.01987, allocations: 0 / 346.7 MB, free: 3.781 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.01989, allocations: 4 kB / 346.7 MB, free: 3.777 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003729/0.02026, allocations: 147.7 kB / 346.9 MB, free: 3.633 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.02027, allocations: 0 / 346.9 MB, free: 3.633 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.02041, allocations: 55.7 kB / 346.9 MB, free: 3.578 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.361e-05/0.02049, allocations: 69.7 kB / 347 MB, free: 3.512 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,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.0001505/0.02064, allocations: 180.5 kB / 347.2 MB, free: 3.324 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.845e-05/0.02072, allocations: 47.73 kB / 347.2 MB, free: 3.277 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006413/0.02136, allocations: 417 kB / 347.6 MB, free: 2.863 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.02137, allocations: 8 kB / 347.6 MB, free: 2.855 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.02137, allocations: 0 / 347.6 MB, free: 2.855 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.02138, allocations: 0 / 347.6 MB, free: 2.855 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003551/0.02173, allocations: 333.3 kB / 348 MB, free: 2.504 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.02173, allocations: 0 / 348 MB, free: 2.504 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003486/0.02208, allocations: 115.8 kB / 348.1 MB, free: 2.391 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.02209, allocations: 4 kB / 348.1 MB, free: 2.387 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.664e-05/0.02213, allocations: 27.84 kB / 348.1 MB, free: 2.359 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.02213, allocations: 8 kB / 348.1 MB, free: 2.352 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.02213, allocations: 0 / 348.1 MB, free: 2.352 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008042/0.02294, allocations: 0.6414 MB / 348.8 MB, free: 1.691 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.526e-05/0.02297, allocations: 39.62 kB / 348.8 MB, free: 1.652 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.174e-05/0.02301, allocations: 15.94 kB / 348.8 MB, free: 1.637 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.02316, allocations: 23.97 kB / 348.8 MB, free: 1.613 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.02327, allocations: 52.41 kB / 348.9 MB, free: 1.562 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.147e-05/0.02334, allocations: 63.89 kB / 348.9 MB, free: 1.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.746e-05/0.02344, allocations: 189.1 kB / 349.1 MB, free: 1.312 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02344, allocations: 0 / 349.1 MB, free: 1.312 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004483/0.02389, allocations: 171.6 kB / 349.3 MB, free: 1.145 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.0006949/0.02458, allocations: 394 kB / 349.7 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004591/0.02504, allocations: 316.1 kB / 350 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.02505, allocations: 0 / 350 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002317/0.02528, allocations: 183.4 kB / 350.2 MB, free: 340 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.02557, allocations: 75.53 kB / 350.2 MB, free: 268 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.0269, allocations: 0.7328 MB / 351 MB, free: 15.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.843e-05/0.02698, allocations: 109.6 kB / 351.1 MB, free: 15.37 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000247/0.02722, allocations: 90.88 kB / 351.2 MB, free: 15.29 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/0.02746, allocations: 142.1 kB / 351.3 MB, free: 15.14 MB / 330.7 MB Notification: Performance of SimCode: time 6.72e-07/0.02746, allocations: 0 / 351.3 MB, free: 15.14 MB / 330.7 MB Notification: Performance of Templates: time 0.01193/0.03939, allocations: 8.733 MB / 360 MB, free: 6.465 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: 4.42454596189782]