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.0008438/0.0008438, allocations: 93.06 kB / 19.65 MB, free: 272 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.0009627/0.0009627, allocations: 169 kB / 23.02 MB, free: 1.539 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.9805/0.9805, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.01536/0.01536, allocations: 3.151 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.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.563e-06/1.563e-06, allocations: 0 / 333.4 MB, free: 1.113 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.37e-05, allocations: 6.312 kB / 333.4 MB, free: 1.105 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.002482/0.002506, allocations: 1.982 MB / 335.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.004535, allocations: 1.511 MB / 336.9 MB, free: 13.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.004689, allocations: 7.938 kB / 336.9 MB, free: 13.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001723/0.004861, allocations: 51.41 kB / 337 MB, free: 13.54 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007027/0.005564, allocations: 262.8 kB / 337.2 MB, free: 13.28 MB / 314.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.0006676/0.006232, allocations: 374.8 kB / 337.6 MB, free: 12.91 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005469/0.006779, allocations: 0.655 MB / 338.3 MB, free: 12.25 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.00692, allocations: 62.38 kB / 338.3 MB, free: 12.19 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000347/0.007267, allocations: 355.3 kB / 338.7 MB, free: 11.84 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.007516, allocations: 227.4 kB / 338.9 MB, free: 11.62 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.571e-05/0.007591, allocations: 64 kB / 339 MB, free: 11.56 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005421/0.008133, allocations: 383.2 kB / 339.3 MB, free: 11.18 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.008257, allocations: 139.5 kB / 339.5 MB, free: 11.05 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.008396, allocations: 167.6 kB / 339.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007207/0.009116, allocations: 0.5957 MB / 340.2 MB, free: 10.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.009118, allocations: 0 / 340.2 MB, free: 10.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.009119, allocations: 0 / 340.2 MB, free: 10.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.009125, allocations: 4 kB / 340.2 MB, free: 10.28 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001718/0.01084, allocations: 1.857 MB / 342.1 MB, free: 8.367 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.01088, allocations: 8.031 kB / 342.1 MB, free: 8.359 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007691/0.01165, allocations: 208.3 kB / 342.3 MB, free: 8.156 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004353/0.01208, allocations: 332.5 kB / 342.6 MB, free: 7.801 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.273e-05/0.01213, allocations: 36.88 kB / 342.7 MB, free: 7.766 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.106e-05/0.0122, allocations: 40.33 kB / 342.7 MB, free: 7.727 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006491/0.01285, allocations: 492.7 kB / 343.2 MB, free: 7.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.01286, allocations: 192 / 343.2 MB, free: 7.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.563e-05/0.01289, allocations: 16.36 kB / 343.2 MB, free: 7.215 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.0129, allocations: 8.375 kB / 343.2 MB, free: 7.207 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005192/0.01342, allocations: 394.4 kB / 343.6 MB, free: 6.809 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.01456, allocations: 0.8999 MB / 344.5 MB, free: 5.871 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000566/0.01513, allocations: 407.5 kB / 344.9 MB, free: 5.449 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/0.01543, allocations: 292.3 kB / 345.2 MB, free: 5.148 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.889e-05/0.01547, allocations: 12.33 kB / 345.2 MB, free: 5.137 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005031/0.01597, allocations: 0.6391 MB / 345.8 MB, free: 4.438 MB / 314.7 MB Notification: Performance of pre-optimization done (n=57): time 1.703e-06/0.01597, allocations: 4 kB / 345.8 MB, free: 4.434 MB / 314.7 MB Notification: Performance of matching and sorting (n=57): time 0.001215/0.01719, allocations: 1.035 MB / 346.9 MB, free: 3.359 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.01724, allocations: 126.8 kB / 347 MB, free: 3.211 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002506/0.01749, allocations: 300.2 kB / 347.3 MB, free: 2.898 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.01753, allocations: 37.7 kB / 347.3 MB, free: 2.855 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.357e-05/0.01761, allocations: 196 kB / 347.5 MB, free: 2.656 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.01772, allocations: 186.4 kB / 347.7 MB, free: 2.473 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.01787, allocations: 131.8 kB / 347.8 MB, free: 2.336 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.01799, allocations: 0.5195 MB / 348.3 MB, free: 1.805 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/0.01828, allocations: 252.4 kB / 348.6 MB, free: 1.547 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/0.01855, allocations: 252.6 kB / 348.8 MB, free: 1.289 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006642/0.01921, allocations: 0.5098 MB / 349.3 MB, free: 0.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01922, allocations: 4 kB / 349.3 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0007414/0.01996, allocations: 0.6981 MB / 350 MB, free: 20 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.524e-05/0.02002, allocations: 91.3 kB / 350.1 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.02003, allocations: 0 / 350.1 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.02004, allocations: 4 kB / 350.1 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/0.02042, allocations: 131.8 kB / 350.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.02042, allocations: 7.938 kB / 350.3 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.02058, allocations: 59.64 kB / 350.3 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-05/0.02065, allocations: 51.92 kB / 350.4 MB, free: 15.67 MB / 330.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.0001949/0.02084, allocations: 285.8 kB / 350.7 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.684e-05/0.02093, allocations: 71.7 kB / 350.7 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009692/0.0219, allocations: 0.8604 MB / 351.6 MB, free: 14.4 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.0219, allocations: 4 kB / 351.6 MB, free: 14.4 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.02191, allocations: 0 / 351.6 MB, free: 14.4 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.02191, allocations: 3.984 kB / 351.6 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/0.02225, allocations: 384.6 kB / 352 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.02225, allocations: 0 / 352 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003444/0.0226, allocations: 99.84 kB / 352.1 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.0226, allocations: 11.92 kB / 352.1 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-05/0.02265, allocations: 35.86 kB / 352.1 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.02265, allocations: 0 / 352.1 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.02265, allocations: 0 / 352.1 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/0.02424, allocations: 1.241 MB / 353.4 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.247e-05/0.02427, allocations: 39.64 kB / 353.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.994e-05/0.02434, allocations: 35.92 kB / 353.4 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.02449, allocations: 31.97 kB / 353.5 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.02462, allocations: 67.88 kB / 353.5 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.256e-05/0.02468, allocations: 55.92 kB / 353.6 MB, free: 12.31 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001052/0.02479, allocations: 205.1 kB / 353.8 MB, free: 12.11 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02479, allocations: 0 / 353.8 MB, free: 12.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003665/0.02515, allocations: 175.7 kB / 354 MB, free: 11.94 MB / 330.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.0005327/0.02569, allocations: 343.1 kB / 354.3 MB, free: 11.64 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008418/0.02653, allocations: 0.8251 MB / 355.1 MB, free: 10.76 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.02653, allocations: 0 / 355.1 MB, free: 10.76 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004589/0.02699, allocations: 0.534 MB / 355.7 MB, free: 10.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.02724, allocations: 82.98 kB / 355.7 MB, free: 10.11 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.02836, allocations: 0.9955 MB / 356.7 MB, free: 9.066 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.917e-05/0.02843, allocations: 110.1 kB / 356.8 MB, free: 8.934 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002097/0.02864, allocations: 66.95 kB / 356.9 MB, free: 8.867 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.02877, allocations: 48.47 kB / 357 MB, free: 8.82 MB / 330.7 MB Notification: Performance of SimCode: time 1.253e-06/0.02877, allocations: 0 / 357 MB, free: 8.82 MB / 330.7 MB Notification: Performance of Templates: time 0.01106/0.03983, allocations: 8.455 MB / 365.4 MB, free: 456 kB / 330.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.6484650443308055]