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.0221/0.0221, allocations: 3.906 MB / 19.16 MB, free: 2.625 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.0008398/0.0008396, allocations: 180.5 kB / 20.8 MB, free: 0.9844 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 222.9 MB / 245.2 MB, free: 5.336 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.0008005/0.0008006, allocations: 90.25 kB / 296.7 MB, free: 6.871 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003239/0.0003241, allocations: 8 kB / 358.2 MB, free: 9.391 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2468, allocations: 50.76 MB / 408.9 MB, free: 28.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.003351/0.2502, allocations: 2.064 MB / 411 MB, free: 26.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00281/0.2531, allocations: 1.554 MB / 412.6 MB, free: 24.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/0.2533, allocations: 11.88 kB / 412.6 MB, free: 24.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.2535, allocations: 31.66 kB / 412.6 MB, free: 24.76 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006314/0.2542, allocations: 215.4 kB / 412.8 MB, free: 24.55 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.0006777/0.2549, allocations: 303.4 kB / 413.1 MB, free: 24.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003783/0.2553, allocations: 0.5653 MB / 413.7 MB, free: 23.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/0.2554, allocations: 86.02 kB / 413.8 MB, free: 23.6 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/0.2556, allocations: 211.2 kB / 414 MB, free: 23.39 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.2559, allocations: 247 kB / 414.2 MB, free: 23.15 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.097e-05/0.2559, allocations: 24 kB / 414.2 MB, free: 23.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004544/0.2564, allocations: 323.5 kB / 414.5 MB, free: 22.81 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.819e-05/0.2565, allocations: 95.58 kB / 414.6 MB, free: 22.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.2567, allocations: 194.9 kB / 414.8 MB, free: 22.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005575/0.2572, allocations: 0.6798 MB / 415.5 MB, free: 21.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2572, allocations: 0 / 415.5 MB, free: 21.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2573, allocations: 0 / 415.5 MB, free: 21.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.2573, allocations: 0 / 415.5 MB, free: 21.84 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.002185/0.2595, allocations: 2.458 MB / 418 MB, free: 19.31 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.2595, allocations: 8.031 kB / 418 MB, free: 19.3 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/0.2607, allocations: 164.2 kB / 418.1 MB, free: 19.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005784/0.2613, allocations: 375.9 kB / 418.5 MB, free: 18.74 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.083e-05/0.2614, allocations: 36.92 kB / 418.5 MB, free: 18.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.497e-05/0.2615, allocations: 40.28 kB / 418.6 MB, free: 18.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.2626, allocations: 0.5719 MB / 419.2 MB, free: 18.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.2626, allocations: 192 / 419.2 MB, free: 18.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.911e-05/0.2627, allocations: 11.94 kB / 419.2 MB, free: 18.08 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.2627, allocations: 12 kB / 419.2 MB, free: 18.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.264, allocations: 0.6308 MB / 419.8 MB, free: 17.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.2656, allocations: 1.147 MB / 421 MB, free: 16.24 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.2669, allocations: 0.6871 MB / 421.6 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007341/0.2676, allocations: 0.5135 MB / 422.2 MB, free: 15.03 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-05/0.2677, allocations: 4.328 kB / 422.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009945/0.2687, allocations: 0.7598 MB / 422.9 MB, free: 14.22 MB / 298.7 MB Notification: Performance of pre-optimization done (n=58): time 4.328e-06/0.2687, allocations: 0 / 422.9 MB, free: 14.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=58): time 0.002648/0.2714, allocations: 1.38 MB / 424.3 MB, free: 12.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/0.2714, allocations: 142.8 kB / 424.4 MB, free: 12.65 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.2717, allocations: 250.5 kB / 424.7 MB, free: 12.4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/0.2717, allocations: 37.7 kB / 424.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.968e-05/0.2718, allocations: 153.1 kB / 424.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.2719, allocations: 177.5 kB / 425 MB, free: 12.03 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001758/0.2721, allocations: 122.2 kB / 425.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.736e-05/0.2722, allocations: 354.8 kB / 425.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006459/0.2728, allocations: 349 kB / 425.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006504/0.2735, allocations: 353.3 kB / 426.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.2749, allocations: 0.8314 MB / 427 MB, free: 10 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2749, allocations: 0 / 427 MB, free: 10 MB / 298.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00154/0.2764, allocations: 0.9368 MB / 428 MB, free: 9.043 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.74e-05/0.2765, allocations: 91.38 kB / 428.1 MB, free: 8.941 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.2765, allocations: 3.938 kB / 428.1 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.2766, allocations: 4 kB / 428.1 MB, free: 8.934 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006716/0.2772, allocations: 135.8 kB / 428.2 MB, free: 8.801 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.2773, allocations: 0 / 428.2 MB, free: 8.801 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003526/0.2776, allocations: 71.48 kB / 428.3 MB, free: 8.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.2777, allocations: 51.92 kB / 428.3 MB, free: 8.68 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.0003195/0.2781, allocations: 303.2 kB / 428.6 MB, free: 8.363 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.271e-05/0.2781, allocations: 43.53 kB / 428.6 MB, free: 8.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001942/0.2801, allocations: 1.127 MB / 429.8 MB, free: 7.168 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.2801, allocations: 8 kB / 429.8 MB, free: 7.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2801, allocations: 0 / 429.8 MB, free: 7.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.2801, allocations: 7.984 kB / 429.8 MB, free: 7.152 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005505/0.2807, allocations: 0.6065 MB / 430.4 MB, free: 6.496 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2807, allocations: 0 / 430.4 MB, free: 6.496 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006444/0.2814, allocations: 107.8 kB / 430.5 MB, free: 6.391 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.2814, allocations: 4 kB / 430.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.674e-05/0.2814, allocations: 31.98 kB / 430.5 MB, free: 6.355 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.2814, allocations: 0 / 430.5 MB, free: 6.355 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.2815, allocations: 3.984 kB / 430.5 MB, free: 6.352 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002599/0.2841, allocations: 1.681 MB / 432.2 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.71e-05/0.2841, allocations: 116.5 kB / 432.3 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.266e-05/0.2842, allocations: 31.98 kB / 432.4 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00034/0.2846, allocations: 39.95 kB / 432.4 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.2848, allocations: 59.91 kB / 432.5 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.044e-05/0.2849, allocations: 55.92 kB / 432.5 MB, free: 4.324 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001299/0.285, allocations: 174 kB / 432.7 MB, free: 4.148 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.285, allocations: 4.188 kB / 432.7 MB, free: 4.145 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005277/0.2855, allocations: 171.8 kB / 432.9 MB, free: 3.977 MB / 298.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.0006894/0.2862, allocations: 319 kB / 433.2 MB, free: 3.703 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001844/0.2881, allocations: 1.24 MB / 434.4 MB, free: 2.441 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.2881, allocations: 0 / 434.4 MB, free: 2.441 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009651/0.2891, allocations: 0.9052 MB / 435.3 MB, free: 1.512 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.2894, allocations: 48.36 kB / 435.4 MB, free: 1.465 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.291, allocations: 1.228 MB / 436.6 MB, free: 212 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.2914, allocations: 0.8085 MB / 437.4 MB, free: 15.37 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000412/0.2918, allocations: 74.94 kB / 437.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.2919, allocations: 43.41 kB / 437.5 MB, free: 15.26 MB / 314.7 MB Notification: Performance of SimCode: time 6.82e-07/0.2919, allocations: 0 / 437.5 MB, free: 15.26 MB / 314.7 MB Notification: Performance of Templates: time 0.01246/0.3044, allocations: 7.288 MB / 444.8 MB, free: 8.023 MB / 314.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)