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.001784/0.001784, allocations: 93.47 kB / 19.44 MB, free: 340 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.002033/0.002033, allocations: 169.2 kB / 22.76 MB, free: 1.668 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.626/1.626, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.03272/0.03272, allocations: 3.145 MB / 262.7 MB, free: 10.09 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.863e-06/1.863e-06, allocations: 0 / 332.7 MB, free: 16.38 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.563e-05/4.749e-05, allocations: 2.312 kB / 332.7 MB, free: 16.38 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.00402/0.004067, allocations: 1.945 MB / 334.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003459/0.007527, allocations: 1.487 MB / 336.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003283/0.007855, allocations: 3.938 kB / 336.2 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.008142, allocations: 55.41 kB / 336.2 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001119/0.009261, allocations: 282.7 kB / 336.5 MB, free: 12.59 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.001092/0.01035, allocations: 362.9 kB / 336.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009011/0.01125, allocations: 0.6472 MB / 337.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002318/0.01149, allocations: 58.38 kB / 337.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006957/0.01218, allocations: 359.3 kB / 337.9 MB, free: 11.17 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004444/0.01263, allocations: 231.4 kB / 338.1 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000222/0.01285, allocations: 64 kB / 338.2 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008801/0.01373, allocations: 391.2 kB / 338.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.01392, allocations: 131.6 kB / 338.7 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002801/0.0142, allocations: 159.6 kB / 338.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.01548, allocations: 0.7947 MB / 339.7 MB, free: 9.418 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.01549, allocations: 4 kB / 339.7 MB, free: 9.414 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.01549, allocations: 0 / 339.7 MB, free: 9.414 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.865e-05/0.01551, allocations: 0 / 339.7 MB, free: 9.414 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.003063/0.01857, allocations: 1.841 MB / 341.5 MB, free: 7.516 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.01861, allocations: 8.031 kB / 341.5 MB, free: 7.508 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001808/0.02042, allocations: 212.4 kB / 341.7 MB, free: 7.301 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008682/0.02129, allocations: 307.9 kB / 342 MB, free: 6.973 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.154e-05/0.02137, allocations: 32.88 kB / 342 MB, free: 6.941 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.02149, allocations: 44.31 kB / 342.1 MB, free: 6.898 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.02296, allocations: 0.5709 MB / 342.7 MB, free: 6.309 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.02298, allocations: 8.188 kB / 342.7 MB, free: 6.301 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.021e-05/0.02305, allocations: 16.38 kB / 342.7 MB, free: 6.285 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.02306, allocations: 4.375 kB / 342.7 MB, free: 6.281 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.02445, allocations: 0.6378 MB / 343.3 MB, free: 5.629 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001849/0.0263, allocations: 1.051 MB / 344.4 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.02741, allocations: 0.5658 MB / 344.9 MB, free: 3.953 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007027/0.02811, allocations: 448.2 kB / 345.4 MB, free: 3.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.851e-05/0.02816, allocations: 4.328 kB / 345.4 MB, free: 3.496 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001123/0.02928, allocations: 0.7605 MB / 346.1 MB, free: 2.672 MB / 266.7 MB Notification: Performance of pre-optimization done (n=57): time 3.287e-06/0.02928, allocations: 0 / 346.1 MB, free: 2.672 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.00417/0.03346, allocations: 1.367 MB / 347.5 MB, free: 1.262 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.03352, allocations: 122.8 kB / 347.6 MB, free: 1.117 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003946/0.03391, allocations: 352.3 kB / 348 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.397e-05/0.03398, allocations: 37.7 kB / 348 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.03411, allocations: 219.8 kB / 348.2 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/0.0343, allocations: 206.4 kB / 348.4 MB, free: 300 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003575/0.03466, allocations: 159.8 kB / 348.6 MB, free: 132 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000409/0.03507, allocations: 0.543 MB / 349.1 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/0.03647, allocations: 372.4 kB / 349.5 MB, free: 15.2 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/0.03784, allocations: 376.5 kB / 349.9 MB, free: 14.82 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002621/0.04046, allocations: 0.748 MB / 350.6 MB, free: 14.04 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.04047, allocations: 4 kB / 350.6 MB, free: 14.04 MB / 282.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003262/0.04373, allocations: 0.9207 MB / 351.5 MB, free: 13.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001467/0.04388, allocations: 87.31 kB / 351.6 MB, free: 12.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.04389, allocations: 0 / 351.6 MB, free: 12.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.04391, allocations: 4 kB / 351.6 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.04507, allocations: 131.8 kB / 351.8 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.04509, allocations: 0 / 351.8 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006022/0.04569, allocations: 71.59 kB / 351.8 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001752/0.04587, allocations: 51.94 kB / 351.9 MB, free: 12.73 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.0005902/0.04646, allocations: 313.7 kB / 352.2 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002639/0.04672, allocations: 75.7 kB / 352.3 MB, free: 12.33 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003803/0.05052, allocations: 1.059 MB / 353.3 MB, free: 11.24 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.05053, allocations: 8 kB / 353.3 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.05054, allocations: 4 kB / 353.3 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.05055, allocations: 3.938 kB / 353.3 MB, free: 11.22 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.05163, allocations: 460.5 kB / 353.8 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.05164, allocations: 0 / 353.8 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/0.05281, allocations: 99.84 kB / 353.9 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-05/0.05283, allocations: 8 kB / 353.9 MB, free: 10.63 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/0.05295, allocations: 35.89 kB / 353.9 MB, free: 10.6 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/0.05296, allocations: 7.938 kB / 353.9 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.05296, allocations: 0 / 353.9 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005823/0.05879, allocations: 1.616 MB / 355.5 MB, free: 8.914 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.05889, allocations: 43.64 kB / 355.6 MB, free: 8.871 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/0.05906, allocations: 35.92 kB / 355.6 MB, free: 8.836 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005329/0.0596, allocations: 39.95 kB / 355.7 MB, free: 8.797 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003169/0.05991, allocations: 63.91 kB / 355.7 MB, free: 8.734 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001893/0.0601, allocations: 59.84 kB / 355.8 MB, free: 8.676 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003576/0.06046, allocations: 221.1 kB / 356 MB, free: 8.461 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.06046, allocations: 0 / 356 MB, free: 8.461 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009241/0.06138, allocations: 171.8 kB / 356.2 MB, free: 8.293 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.001303/0.06269, allocations: 345.1 kB / 356.5 MB, free: 8.004 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002913/0.0656, allocations: 1.114 MB / 357.6 MB, free: 6.828 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.0656, allocations: 0 / 357.6 MB, free: 6.828 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001424/0.06703, allocations: 0.7178 MB / 358.3 MB, free: 6.066 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004774/0.06751, allocations: 82.42 kB / 358.4 MB, free: 5.988 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002389/0.0699, allocations: 1.106 MB / 359.5 MB, free: 4.836 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.07016, allocations: 203.9 kB / 359.7 MB, free: 4.617 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003877/0.07054, allocations: 66.95 kB / 359.8 MB, free: 4.555 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.07075, allocations: 52.47 kB / 359.8 MB, free: 4.504 MB / 282.7 MB Notification: Performance of SimCode: time 1.402e-06/0.07075, allocations: 0 / 359.8 MB, free: 4.504 MB / 282.7 MB Notification: Performance of Templates: time 0.0191/0.08986, allocations: 8.419 MB / 368.3 MB, free: 12.17 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: 5.470155284041539]