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.001384/0.001384, allocations: 88.72 kB / 19.44 MB, free: 356 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.001524/0.001524, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.509/1.509, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.02859/0.02859, allocations: 3.159 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.513e-06/1.513e-06, allocations: 0 / 332.7 MB, free: 16.39 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.681e-05, allocations: 6.25 kB / 332.7 MB, free: 16.38 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.00239/0.002417, allocations: 1.946 MB / 334.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.004626, allocations: 1.6 MB / 336.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.004732, allocations: 7.938 kB / 336.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001597/0.004892, allocations: 43.42 kB / 336.3 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006185/0.005511, allocations: 266.8 kB / 336.6 MB, free: 12.5 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.000688/0.006199, allocations: 402.7 kB / 337 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003596/0.006558, allocations: 0.6004 MB / 337.6 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.006706, allocations: 71.84 kB / 337.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002484/0.006955, allocations: 315.4 kB / 338 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002321/0.007187, allocations: 235.3 kB / 338.2 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.861e-05/0.007256, allocations: 60 kB / 338.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005925/0.007848, allocations: 479 kB / 338.7 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.007952, allocations: 135.6 kB / 338.9 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.008086, allocations: 159.5 kB / 339 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000725/0.008811, allocations: 0.8219 MB / 339.8 MB, free: 9.258 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.008817, allocations: 4 kB / 339.8 MB, free: 9.254 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.008818, allocations: 0 / 339.8 MB, free: 9.254 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.008825, allocations: 3.938 kB / 339.8 MB, free: 9.25 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.001132/0.009957, allocations: 0.6433 MB / 340.5 MB, free: 8.574 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.009993, allocations: 12.03 kB / 340.5 MB, free: 8.562 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/0.01129, allocations: 209 kB / 340.7 MB, free: 8.359 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000627/0.01191, allocations: 309.2 kB / 341 MB, free: 8.027 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.107e-05/0.01196, allocations: 37.03 kB / 341 MB, free: 7.992 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.572e-05/0.01206, allocations: 44.3 kB / 341.1 MB, free: 7.949 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009696/0.01303, allocations: 474.3 kB / 341.5 MB, free: 7.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.01304, allocations: 192 / 341.5 MB, free: 7.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.32e-05/0.0131, allocations: 12.38 kB / 341.6 MB, free: 7.469 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.0131, allocations: 8.375 kB / 341.6 MB, free: 7.461 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.01432, allocations: 0.5216 MB / 342.1 MB, free: 6.938 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001765/0.01609, allocations: 0.9949 MB / 343.1 MB, free: 5.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.01736, allocations: 491.7 kB / 343.6 MB, free: 5.422 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006343/0.01799, allocations: 269.4 kB / 343.8 MB, free: 5.156 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.786e-05/0.01805, allocations: 12.38 kB / 343.8 MB, free: 5.145 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.01808, allocations: 34.94 kB / 343.9 MB, free: 5.102 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 2.014e-06/0.01808, allocations: 0 / 343.9 MB, free: 5.102 MB / 266.7 MB Notification: Performance of matching and sorting (n=46): time 0.002154/0.02023, allocations: 0.8454 MB / 344.7 MB, free: 4.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.02027, allocations: 55.41 kB / 344.8 MB, free: 4.184 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.02045, allocations: 233.9 kB / 345 MB, free: 3.945 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.424e-05/0.02049, allocations: 41.7 kB / 345 MB, free: 3.898 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.041e-05/0.02056, allocations: 161.1 kB / 345.2 MB, free: 3.734 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.02067, allocations: 166.5 kB / 345.4 MB, free: 3.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/0.02084, allocations: 110.3 kB / 345.5 MB, free: 3.453 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.831e-05/0.02093, allocations: 342.8 kB / 345.8 MB, free: 3.109 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006202/0.02155, allocations: 261.1 kB / 346.1 MB, free: 2.855 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006246/0.02218, allocations: 277.7 kB / 346.3 MB, free: 2.582 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.02336, allocations: 0.4994 MB / 346.8 MB, free: 2.078 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.02336, allocations: 3.938 kB / 346.8 MB, free: 2.074 MB / 266.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001604/0.02497, allocations: 0.7 MB / 347.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.02499, allocations: 8 kB / 347.5 MB, free: 1.359 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.025, allocations: 0 / 347.5 MB, free: 1.359 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.716e-05/0.02503, allocations: 4 kB / 347.5 MB, free: 1.355 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007523/0.02578, allocations: 143.8 kB / 347.7 MB, free: 1.215 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.93e-05/0.0258, allocations: 0 / 347.7 MB, free: 1.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003586/0.02616, allocations: 55.64 kB / 347.7 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.02626, allocations: 71.83 kB / 347.8 MB, free: 1.09 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.0001953/0.02646, allocations: 174.7 kB / 348 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.02658, allocations: 43.8 kB / 348 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/0.02823, allocations: 0.6727 MB / 348.7 MB, free: 192 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.02824, allocations: 8 kB / 348.7 MB, free: 184 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.02825, allocations: 0 / 348.7 MB, free: 184 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.02825, allocations: 4 kB / 348.7 MB, free: 180 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006439/0.0289, allocations: 417.2 kB / 349.1 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.0289, allocations: 3.938 kB / 349.1 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000851/0.02975, allocations: 119.8 kB / 349.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.02976, allocations: 4 kB / 349.2 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.973e-05/0.02982, allocations: 15.98 kB / 349.3 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.02983, allocations: 4 kB / 349.3 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.02983, allocations: 0 / 349.3 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002779/0.03261, allocations: 1.059 MB / 350.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.953e-05/0.03267, allocations: 39.56 kB / 350.4 MB, free: 14.48 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.558e-05/0.03274, allocations: 16 kB / 350.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.03314, allocations: 27.95 kB / 350.4 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/0.03332, allocations: 56.41 kB / 350.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001291/0.03345, allocations: 64.52 kB / 350.5 MB, free: 14.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002103/0.03366, allocations: 165.2 kB / 350.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03366, allocations: 0 / 350.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007263/0.03438, allocations: 171.6 kB / 350.8 MB, free: 13.99 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.00109/0.03547, allocations: 387.2 kB / 351.2 MB, free: 13.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001755/0.03723, allocations: 0.5772 MB / 351.8 MB, free: 13.1 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.03723, allocations: 0 / 351.8 MB, free: 13.1 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008336/0.03806, allocations: 310.6 kB / 352.1 MB, free: 12.8 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.03851, allocations: 80.33 kB / 352.2 MB, free: 12.72 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.04049, allocations: 0.8729 MB / 353.1 MB, free: 11.81 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.04073, allocations: 194.1 kB / 353.2 MB, free: 11.61 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004284/0.04116, allocations: 90.86 kB / 353.3 MB, free: 11.51 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/0.0414, allocations: 64.44 kB / 353.4 MB, free: 11.45 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.0414, allocations: 0 / 353.4 MB, free: 11.45 MB / 282.7 MB Notification: Performance of Templates: time 0.0157/0.0571, allocations: 7.714 MB / 361.1 MB, free: 3.801 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=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.436856782995164]