Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.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.001312/0.001312, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001006/0.001006, allocations: 173 kB / 23.49 MB, free: 1.059 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.003/1.003, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.01628/0.01628, allocations: 3.158 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.TimeBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations") translateModel(AdvancedNoise.Examples.TimeBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 333.5 MB, free: 16.35 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.433e-05, allocations: 2.312 kB / 333.5 MB, free: 16.35 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.002459/0.002483, allocations: 1.956 MB / 335.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.004552, allocations: 1.507 MB / 336.9 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001563/0.004709, allocations: 7.938 kB / 336.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.004883, allocations: 55.41 kB / 337 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006349/0.005518, allocations: 278.7 kB / 337.3 MB, free: 12.53 MB / 266.7 MB [/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'. Notification: Performance of NFTyping.typeClassSections: time 0.0006665/0.006185, allocations: 366.8 kB / 337.6 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004777/0.006662, allocations: 0.6511 MB / 338.3 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.006814, allocations: 58.39 kB / 338.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003173/0.007131, allocations: 355.3 kB / 338.7 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.007344, allocations: 227.5 kB / 338.9 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.623e-05/0.007411, allocations: 68 kB / 339 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005013/0.007912, allocations: 395.2 kB / 339.4 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.25e-05/0.008004, allocations: 127.6 kB / 339.5 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.008135, allocations: 171.6 kB / 339.7 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006069/0.008742, allocations: 0.5918 MB / 340.2 MB, free: 9.547 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.008746, allocations: 0 / 340.2 MB, free: 9.547 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.008747, allocations: 0 / 340.2 MB, free: 9.547 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.008752, allocations: 0 / 340.2 MB, free: 9.547 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.00164/0.01039, allocations: 1.861 MB / 342.1 MB, free: 7.629 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.01043, allocations: 8.031 kB / 342.1 MB, free: 7.621 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.01146, allocations: 211.6 kB / 342.3 MB, free: 7.418 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/0.01195, allocations: 332.5 kB / 342.6 MB, free: 7.062 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.892e-05/0.012, allocations: 36.81 kB / 342.7 MB, free: 7.027 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.034e-05/0.01207, allocations: 44.33 kB / 342.7 MB, free: 6.984 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007609/0.01283, allocations: 484.7 kB / 343.2 MB, free: 6.492 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.01284, allocations: 192 / 343.2 MB, free: 6.492 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.305e-05/0.01288, allocations: 16.38 kB / 343.2 MB, free: 6.477 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.01289, allocations: 4.375 kB / 343.2 MB, free: 6.473 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006053/0.0135, allocations: 402.3 kB / 343.6 MB, free: 6.066 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.01478, allocations: 0.8884 MB / 344.5 MB, free: 5.145 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006591/0.01544, allocations: 411.4 kB / 344.9 MB, free: 4.719 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/0.01579, allocations: 300.3 kB / 345.2 MB, free: 4.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.976e-05/0.01583, allocations: 8.328 kB / 345.2 MB, free: 4.402 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00055/0.01638, allocations: 0.6238 MB / 345.8 MB, free: 3.715 MB / 266.7 MB Notification: Performance of pre-optimization done (n=57): time 2.485e-06/0.01638, allocations: 4 kB / 345.8 MB, free: 3.711 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.00134/0.01772, allocations: 1.043 MB / 346.9 MB, free: 2.625 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.01777, allocations: 130.8 kB / 347 MB, free: 2.473 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.01796, allocations: 300.2 kB / 347.3 MB, free: 2.164 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.018, allocations: 45.7 kB / 347.3 MB, free: 2.113 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.642e-05/0.01807, allocations: 196 kB / 347.5 MB, free: 1.918 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.01817, allocations: 186.4 kB / 347.7 MB, free: 1.734 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/0.01834, allocations: 127.8 kB / 347.8 MB, free: 1.602 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.913e-05/0.01841, allocations: 0.5157 MB / 348.4 MB, free: 1.074 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/0.01874, allocations: 248.4 kB / 348.6 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/0.01906, allocations: 248.6 kB / 348.8 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006062/0.01966, allocations: 0.5176 MB / 349.4 MB, free: 20 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.01967, allocations: 0 / 349.4 MB, free: 20 kB / 266.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001072/0.02074, allocations: 0.6981 MB / 350.1 MB, free: 15.29 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.899e-05/0.02082, allocations: 95.3 kB / 350.1 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.02082, allocations: 0 / 350.1 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.02084, allocations: 0 / 350.1 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000516/0.02136, allocations: 127.8 kB / 350.3 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.02136, allocations: 0 / 350.3 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/0.0216, allocations: 71.53 kB / 350.3 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.84e-05/0.02169, allocations: 55.92 kB / 350.4 MB, free: 14.93 MB / 282.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: 26 (globalSeed.seed,noise2.actualGlobalSeed,noise2.localSeed,globalSeed.id_impure,noise1.actualGlobalSeed,noise1.localSeed,noise2.r,noise2.bufferStartTime,noise2.buffer[2],noise2.buffer[1],noise2.state[4],noise2.state[3],noise2.state[2],noise2.state[1],noise1.r,noise1.bufferStartTime,noise1.buffer[2],noise1.buffer[1],noise1.state[4],noise1.state[3],noise1.state[2],noise1.state[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 2 * 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.000261/0.02195, allocations: 285.8 kB / 350.7 MB, free: 14.63 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.02207, allocations: 75.7 kB / 350.7 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001506/0.02358, allocations: 0.8564 MB / 351.6 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.02358, allocations: 4 kB / 351.6 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.02359, allocations: 4 kB / 351.6 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.0236, allocations: 7.984 kB / 351.6 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004792/0.02408, allocations: 380.5 kB / 352 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.02408, allocations: 0 / 352 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000473/0.02455, allocations: 99.84 kB / 352.1 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.034e-06/0.02456, allocations: 7.984 kB / 352.1 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.383e-05/0.02461, allocations: 31.91 kB / 352.1 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.02462, allocations: 0 / 352.1 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.02462, allocations: 4 kB / 352.1 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.02637, allocations: 1.241 MB / 353.4 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.02641, allocations: 39.64 kB / 353.4 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.26e-05/0.0265, allocations: 35.86 kB / 353.4 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.02673, allocations: 43.97 kB / 353.5 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.02689, allocations: 59.89 kB / 353.5 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.494e-05/0.02697, allocations: 55.91 kB / 353.6 MB, free: 11.57 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002599/0.02723, allocations: 201.1 kB / 353.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02723, allocations: 0 / 353.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005223/0.02775, allocations: 171.7 kB / 354 MB, free: 11.2 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: 20 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,noise1.state[1],noise1.state[2],noise1.state[3],noise1.state[4],noise1.buffer[1],noise1.buffer[2],noise1.bufferStartTime,noise1.r,noise2.state[1],noise2.state[2],noise2.state[3],noise2.state[4],noise2.buffer[1],noise2.buffer[2],noise2.bufferStartTime,noise2.r) * Number of discrete states: 20 (noise2.buffer[2],noise2.buffer[1],noise2.r,noise2.bufferStartTime,noise2.state[4],noise2.state[3],noise2.state[2],noise2.state[1],$whenCondition2,$whenCondition1,noise1.buffer[2],noise1.buffer[1],noise1.r,noise1.bufferStartTime,noise1.state[4],noise1.state[3],noise1.state[2],noise1.state[1],$whenCondition4,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 2 * 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 Backend phase and start with SimCode phase: time 0.000697/0.02845, allocations: 349.3 kB / 354.3 MB, free: 10.91 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001147/0.0296, allocations: 0.8287 MB / 355.1 MB, free: 10.02 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.0296, allocations: 0 / 355.1 MB, free: 10.02 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006273/0.03023, allocations: 0.5303 MB / 355.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.03058, allocations: 84.39 kB / 355.7 MB, free: 9.367 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.03203, allocations: 0.9817 MB / 356.7 MB, free: 8.34 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.066e-05/0.03211, allocations: 114.1 kB / 356.8 MB, free: 8.207 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000303/0.03241, allocations: 70.94 kB / 356.9 MB, free: 8.141 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.03258, allocations: 48.47 kB / 357 MB, free: 8.094 MB / 282.7 MB Notification: Performance of SimCode: time 1.412e-06/0.03258, allocations: 0 / 357 MB, free: 8.094 MB / 282.7 MB Notification: Performance of Templates: time 0.0121/0.04468, allocations: 8.458 MB / 365.4 MB, free: 15.72 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.makefile [Timeout 660] (rm -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.sim & ./AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations -abortSlowSimulation -alarm=240 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.681247869040817]