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/AdvancedNoise 1.1.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo) Running command: translateModel(AdvancedNoise.Examples.TimeBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations") translateModel(AdvancedNoise.Examples.TimeBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02105/0.02105, allocations: 3.907 MB / 19.71 MB, free: 2.012 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009467/0.0009467, allocations: 184.5 kB / 21.34 MB, free: 396 kB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.205/1.205, allocations: 222.9 MB / 245.8 MB, free: 6.34 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000978/0.000978, allocations: 108.1 kB / 296.7 MB, free: 6.895 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009567/0.0009567, allocations: 47.92 kB / 357.7 MB, free: 9.945 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1937, allocations: 50.19 MB / 407.8 MB, free: 28.47 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.002437/0.1961, allocations: 2.063 MB / 409.9 MB, free: 26.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.198, allocations: 1.553 MB / 411.5 MB, free: 24.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.1982, allocations: 7.938 kB / 411.5 MB, free: 24.85 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.1983, allocations: 31.66 kB / 411.5 MB, free: 24.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004685/0.1988, allocations: 219.4 kB / 411.7 MB, free: 24.6 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0004559/0.1993, allocations: 295.4 kB / 412 MB, free: 24.31 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002998/0.1996, allocations: 0.5654 MB / 412.6 MB, free: 23.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.1997, allocations: 98.02 kB / 412.7 MB, free: 23.65 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.1999, allocations: 215.2 kB / 412.9 MB, free: 23.44 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.2001, allocations: 239 kB / 413.1 MB, free: 23.2 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.725e-05/0.2002, allocations: 28 kB / 413.1 MB, free: 23.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003695/0.2005, allocations: 319.5 kB / 413.4 MB, free: 22.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.721e-05/0.2006, allocations: 95.58 kB / 413.5 MB, free: 22.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.2008, allocations: 206.9 kB / 413.7 MB, free: 22.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004866/0.2013, allocations: 0.6878 MB / 414.4 MB, free: 21.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2013, allocations: 0 / 414.4 MB, free: 21.88 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.2013, allocations: 0 / 414.4 MB, free: 21.88 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.2013, allocations: 0 / 414.4 MB, free: 21.88 MB / 298.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.002079/0.2034, allocations: 2.458 MB / 416.9 MB, free: 19.35 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.2034, allocations: 12.03 kB / 416.9 MB, free: 19.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.2045, allocations: 160.3 kB / 417.1 MB, free: 19.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005348/0.2051, allocations: 371.9 kB / 417.4 MB, free: 18.78 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.957e-05/0.2051, allocations: 36.94 kB / 417.5 MB, free: 18.74 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.187e-05/0.2052, allocations: 44.28 kB / 417.5 MB, free: 18.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.2062, allocations: 0.5679 MB / 418.1 MB, free: 18.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.2063, allocations: 192 / 418.1 MB, free: 18.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.478e-05/0.2063, allocations: 19.94 kB / 418.1 MB, free: 18.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2063, allocations: 4 kB / 418.1 MB, free: 18.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.2076, allocations: 0.6386 MB / 418.7 MB, free: 17.46 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.2091, allocations: 1.143 MB / 419.9 MB, free: 16.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.2103, allocations: 0.6832 MB / 420.5 MB, free: 15.58 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007203/0.2111, allocations: 0.5056 MB / 421.1 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.689e-05/0.2111, allocations: 20.3 kB / 421.1 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009114/0.212, allocations: 0.748 MB / 421.8 MB, free: 14.26 MB / 298.7 MB Notification: Performance of pre-optimization done (n=58): time 2.234e-06/0.212, allocations: 4 kB / 421.8 MB, free: 14.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=58): time 0.002398/0.2145, allocations: 1.392 MB / 423.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.2145, allocations: 130.8 kB / 423.3 MB, free: 12.69 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.2147, allocations: 254.5 kB / 423.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.853e-05/0.2147, allocations: 37.7 kB / 423.6 MB, free: 12.39 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.449e-05/0.2148, allocations: 157 kB / 423.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.245e-05/0.2149, allocations: 169.5 kB / 424 MB, free: 12.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.2151, allocations: 130.2 kB / 424.1 MB, free: 11.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.204e-05/0.2152, allocations: 350.8 kB / 424.4 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006794/0.2158, allocations: 349 kB / 424.8 MB, free: 11.24 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006716/0.2165, allocations: 361.3 kB / 425.1 MB, free: 10.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/0.2179, allocations: 0.8314 MB / 425.9 MB, free: 10.03 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2179, allocations: 0 / 425.9 MB, free: 10.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00156/0.2194, allocations: 0.929 MB / 426.9 MB, free: 9.078 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.403e-05/0.2195, allocations: 99.3 kB / 427 MB, free: 8.969 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2195, allocations: 0 / 427 MB, free: 8.969 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.2196, allocations: 0 / 427 MB, free: 8.969 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006652/0.2202, allocations: 135.8 kB / 427.1 MB, free: 8.836 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.2202, allocations: 8 kB / 427.1 MB, free: 8.828 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003336/0.2206, allocations: 71.48 kB / 427.2 MB, free: 8.758 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.064e-05/0.2207, allocations: 47.88 kB / 427.2 MB, free: 8.711 MB / 298.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 (60): * Single equations (assignments): 58 * 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.000231/0.2209, allocations: 295.2 kB / 427.5 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.813e-05/0.221, allocations: 43.53 kB / 427.6 MB, free: 8.359 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/0.2229, allocations: 1.143 MB / 428.7 MB, free: 7.191 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.2229, allocations: 4 kB / 428.7 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.2229, allocations: 0 / 428.7 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2229, allocations: 0 / 428.7 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004288/0.2233, allocations: 0.6104 MB / 429.3 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2233, allocations: 4 kB / 429.3 MB, free: 6.523 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006329/0.224, allocations: 107.8 kB / 429.4 MB, free: 6.418 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.224, allocations: 0 / 429.4 MB, free: 6.418 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.842e-05/0.2241, allocations: 27.97 kB / 429.5 MB, free: 6.391 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.2241, allocations: 4 kB / 429.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2241, allocations: 0 / 429.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008548/0.2326, allocations: 7.33 MB / 436.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.819e-05/0.2327, allocations: 112.5 kB / 436.9 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.954e-05/0.2328, allocations: 35.98 kB / 436.9 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003401/0.2332, allocations: 35.95 kB / 437 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.2333, allocations: 63.91 kB / 437 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.645e-05/0.2334, allocations: 63.84 kB / 437.1 MB, free: 14.4 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001619/0.2336, allocations: 174 kB / 437.3 MB, free: 14.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2336, allocations: 0 / 437.3 MB, free: 14.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006135/0.2342, allocations: 223.9 kB / 437.5 MB, free: 14.01 MB / 314.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 (42): * Single equations (assignments): 40 * 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.0005753/0.2348, allocations: 326.6 kB / 437.8 MB, free: 13.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002012/0.2368, allocations: 1.24 MB / 439 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2369, allocations: 0 / 439 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001206/0.2381, allocations: 0.9013 MB / 439.9 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.2384, allocations: 46.84 kB / 440 MB, free: 11.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.2407, allocations: 1.876 MB / 441.9 MB, free: 9.559 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.2411, allocations: 0.8202 MB / 442.7 MB, free: 8.711 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004408/0.2415, allocations: 74.95 kB / 442.8 MB, free: 8.633 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.2417, allocations: 43.41 kB / 442.8 MB, free: 8.594 MB / 314.7 MB Notification: Performance of SimCode: time 4.01e-07/0.2417, allocations: 3.938 kB / 442.8 MB, free: 8.59 MB / 314.7 MB Notification: Performance of Templates: time 0.01296/0.2547, allocations: 9.22 MB / 452 MB, free: 15.44 MB / 330.7 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.makefile (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=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.pipe 2>&1)