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.0008646/0.0008646, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001002/0.001002, allocations: 169 kB / 23.27 MB, free: 1.223 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.05/1.05, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.02079/0.02079, allocations: 3.156 MB / 263.4 MB, free: 9.914 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.643e-06/1.643e-06, allocations: 0 / 333.9 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.235e-05/3.399e-05, allocations: 2.312 kB / 333.9 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.002804/0.002838, allocations: 1.951 MB / 335.9 MB, free: 14.85 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002334/0.005172, allocations: 1.487 MB / 337.3 MB, free: 13.36 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001929/0.005365, allocations: 3.938 kB / 337.3 MB, free: 13.36 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.005531, allocations: 51.41 kB / 337.4 MB, free: 13.3 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006923/0.006223, allocations: 278.7 kB / 337.7 MB, free: 13.03 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.0007242/0.006947, allocations: 370.8 kB / 338 MB, free: 12.67 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006167/0.007564, allocations: 0.6511 MB / 338.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.007703, allocations: 62.38 kB / 338.7 MB, free: 11.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003949/0.008098, allocations: 355.3 kB / 339.1 MB, free: 11.61 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000263/0.008361, allocations: 231.4 kB / 339.3 MB, free: 11.38 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.268e-05/0.008443, allocations: 64 kB / 339.4 MB, free: 11.32 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006218/0.009065, allocations: 391.2 kB / 339.8 MB, free: 10.93 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.009168, allocations: 123.6 kB / 339.9 MB, free: 10.81 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.009299, allocations: 163.6 kB / 340 MB, free: 10.65 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007657/0.01006, allocations: 0.5957 MB / 340.6 MB, free: 10.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.01007, allocations: 0 / 340.6 MB, free: 10.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.01007, allocations: 0 / 340.6 MB, free: 10.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.01007, allocations: 4 kB / 340.6 MB, free: 10.05 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.0016/0.01167, allocations: 1.891 MB / 342.5 MB, free: 8.102 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.01171, allocations: 8.031 kB / 342.5 MB, free: 8.094 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007146/0.01242, allocations: 212.3 kB / 342.7 MB, free: 7.887 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.01274, allocations: 308 kB / 343 MB, free: 7.555 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.427e-05/0.01279, allocations: 32.88 kB / 343.1 MB, free: 7.523 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.839e-05/0.01285, allocations: 52.3 kB / 343.1 MB, free: 7.473 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005338/0.01338, allocations: 424.7 kB / 343.5 MB, free: 7.043 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.01339, allocations: 4.188 kB / 343.6 MB, free: 7.039 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.01342, allocations: 16.36 kB / 343.6 MB, free: 7.023 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.01343, allocations: 8.375 kB / 343.6 MB, free: 7.016 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003437/0.01377, allocations: 317.3 kB / 343.9 MB, free: 6.691 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.0151, allocations: 0.8537 MB / 344.7 MB, free: 5.809 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004303/0.01553, allocations: 355.4 kB / 345.1 MB, free: 5.438 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.01573, allocations: 244.3 kB / 345.3 MB, free: 5.184 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.002e-05/0.01577, allocations: 12.33 kB / 345.3 MB, free: 5.172 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004092/0.01618, allocations: 0.5731 MB / 345.9 MB, free: 4.535 MB / 314.7 MB Notification: Performance of pre-optimization done (n=57): time 2.043e-06/0.01618, allocations: 4 kB / 345.9 MB, free: 4.531 MB / 314.7 MB Notification: Performance of matching and sorting (n=57): time 0.0008874/0.01707, allocations: 0.8983 MB / 346.8 MB, free: 3.594 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.01712, allocations: 126.8 kB / 346.9 MB, free: 3.445 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.01728, allocations: 296.1 kB / 347.2 MB, free: 3.137 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.01732, allocations: 37.7 kB / 347.3 MB, free: 3.094 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.881e-05/0.01739, allocations: 203.9 kB / 347.5 MB, free: 2.887 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.0175, allocations: 186.4 kB / 347.6 MB, free: 2.703 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.01764, allocations: 127.7 kB / 347.8 MB, free: 2.566 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.01777, allocations: 0.5273 MB / 348.3 MB, free: 2.027 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.01798, allocations: 200.5 kB / 348.5 MB, free: 1.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.01816, allocations: 204.6 kB / 348.7 MB, free: 1.609 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003829/0.01854, allocations: 458 kB / 349.1 MB, free: 1.133 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.01855, allocations: 4 kB / 349.1 MB, free: 1.129 MB / 314.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0005769/0.01912, allocations: 0.616 MB / 349.8 MB, free: 500 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.311e-05/0.01918, allocations: 87.36 kB / 349.8 MB, free: 400 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.01918, allocations: 3.938 kB / 349.8 MB, free: 396 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.01919, allocations: 0 / 349.8 MB, free: 396 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003378/0.01953, allocations: 131.8 kB / 350 MB, free: 264 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.01954, allocations: 0 / 350 MB, free: 264 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.01969, allocations: 67.58 kB / 350 MB, free: 196 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.723e-05/0.01974, allocations: 47.92 kB / 350.1 MB, free: 148 kB / 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: 26 (noise1.localSeed,globalSeed.seed,noise1.actualGlobalSeed,globalSeed.id_impure,noise2.localSeed,noise2.actualGlobalSeed,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.0001984/0.01994, allocations: 293.8 kB / 350.4 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.055e-05/0.02002, allocations: 67.77 kB / 350.4 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009856/0.02101, allocations: 0.7626 MB / 351.2 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.02101, allocations: 4 kB / 351.2 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.02101, allocations: 0 / 351.2 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.02102, allocations: 0 / 351.2 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003015/0.02132, allocations: 341.2 kB / 351.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.02132, allocations: 0 / 351.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003099/0.02163, allocations: 99.84 kB / 351.6 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.02164, allocations: 4 kB / 351.6 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.935e-05/0.02168, allocations: 39.89 kB / 351.7 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.02168, allocations: 0 / 351.7 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.02168, allocations: 7.938 kB / 351.7 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.02273, allocations: 1.085 MB / 352.8 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.688e-05/0.02277, allocations: 43.64 kB / 352.8 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.39e-05/0.02284, allocations: 27.98 kB / 352.8 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.02299, allocations: 31.97 kB / 352.9 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.02311, allocations: 67.83 kB / 352.9 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.596e-05/0.02317, allocations: 55.91 kB / 353 MB, free: 13.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.657e-05/0.02326, allocations: 189.1 kB / 353.2 MB, free: 12.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02326, allocations: 0 / 353.2 MB, free: 12.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004102/0.02367, allocations: 179.7 kB / 353.4 MB, free: 12.73 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.0005414/0.02421, allocations: 352.3 kB / 353.7 MB, free: 12.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006736/0.02489, allocations: 0.7351 MB / 354.4 MB, free: 11.64 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.02489, allocations: 0 / 354.4 MB, free: 11.64 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003513/0.02524, allocations: 490.8 kB / 354.9 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.02549, allocations: 80.45 kB / 355 MB, free: 11.04 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009572/0.02645, allocations: 0.937 MB / 355.9 MB, free: 10.06 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.331e-05/0.02651, allocations: 110.1 kB / 356 MB, free: 9.934 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000209/0.02672, allocations: 70.94 kB / 356.1 MB, free: 9.863 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002997/0.02702, allocations: 198.1 kB / 356.3 MB, free: 9.668 MB / 330.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02702, allocations: 0 / 356.3 MB, free: 9.668 MB / 330.7 MB Notification: Performance of Templates: time 0.01148/0.0385, allocations: 9.249 MB / 365.5 MB, free: 0.5195 MB / 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.8327654199674726]