Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/AdvancedNoise 1.1.0-master/package.mo", uses=false) Using package AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AdvancedNoise.Examples.SignalBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations") translateModel(AdvancedNoise.Examples.SignalBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1983/0.1983, allocations: 3.864 MB / 294.9 MB, free: 3.961 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003605, allocations: 8 kB / 356.5 MB, free: 3.602 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1316, allocations: 51.18 MB / 407.7 MB, free: 388 kB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.002147/0.1338, allocations: 1.685 MB / 409.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002598/0.1365, allocations: 1.566 MB / 411 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001649/0.1366, allocations: 4 kB / 411 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.1368, allocations: 27.67 kB / 411 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006402/0.1375, allocations: 191.4 kB / 411.2 MB, free: 12.89 MB / 350.1 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.0007135/0.1382, allocations: 283.3 kB / 411.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004238/0.1386, allocations: 327.4 kB / 411.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.1388, allocations: 78.14 kB / 411.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.139, allocations: 171.4 kB / 412 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002555/0.1392, allocations: 219.2 kB / 412.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.859e-05/0.1393, allocations: 20 kB / 412.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006248/0.1399, allocations: 331.4 kB / 412.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.1401, allocations: 91.69 kB / 412.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.249e-05/0.1402, allocations: 77.5 kB / 412.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006318/0.1408, allocations: 0.5499 MB / 413.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.1408, allocations: 0 / 413.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1408, allocations: 4 kB / 413.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.1408, allocations: 0 / 413.3 MB, free: 10.77 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001136/0.142, allocations: 0.6262 MB / 413.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.142, allocations: 8.031 kB / 413.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.1431, allocations: 115.4 kB / 414 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006819/0.1438, allocations: 350 kB / 414.4 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.39e-05/0.1439, allocations: 36.66 kB / 414.4 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.293e-05/0.144, allocations: 39.91 kB / 414.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.145, allocations: 481.7 kB / 414.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.145, allocations: 0 / 414.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.064e-05/0.1451, allocations: 12 kB / 414.9 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.1451, allocations: 8 kB / 415 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.1464, allocations: 0.5373 MB / 415.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002073/0.1485, allocations: 1.198 MB / 416.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/0.1499, allocations: 0.5394 MB / 417.2 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.984e-05/0.15, allocations: 24.38 kB / 417.3 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.15, allocations: 35 kB / 417.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.783e-06/0.15, allocations: 0 / 417.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002303/0.1523, allocations: 0.85 MB / 418.1 MB, free: 5.754 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/0.1524, allocations: 63.77 kB / 418.2 MB, free: 5.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002988/0.1527, allocations: 229 kB / 418.4 MB, free: 5.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.981e-05/0.1528, allocations: 37.7 kB / 418.5 MB, free: 5.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.1529, allocations: 156.9 kB / 418.6 MB, free: 5.242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000187/0.1531, allocations: 165.6 kB / 418.8 MB, free: 5.078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.1532, allocations: 11.94 kB / 418.8 MB, free: 5.066 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.1534, allocations: 354.7 kB / 419.1 MB, free: 4.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007029/0.1541, allocations: 265 kB / 419.4 MB, free: 4.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007027/0.1548, allocations: 276.9 kB / 419.7 MB, free: 4.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000742/0.1555, allocations: 274.1 kB / 419.9 MB, free: 3.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1556, allocations: 0 / 419.9 MB, free: 3.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001582/0.1571, allocations: 0.6743 MB / 420.6 MB, free: 3.234 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.1572, allocations: 7.953 kB / 420.6 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.1572, allocations: 0 / 420.6 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.1572, allocations: 8 kB / 420.6 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007903/0.158, allocations: 151.7 kB / 420.8 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.158, allocations: 4 kB / 420.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000376/0.1584, allocations: 71.5 kB / 420.8 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-05/0.1585, allocations: 23.97 kB / 420.9 MB, free: 2.973 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (noise1.localSeed,noise2.localSeed,noise1.actualGlobalSeed,globalSeed.id_impure,noise2.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002408/0.1587, allocations: 165.7 kB / 421 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.562e-05/0.1588, allocations: 27.62 kB / 421.1 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002072/0.1609, allocations: 0.8422 MB / 421.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.4e-05/0.161, allocations: 11.98 kB / 421.9 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.161, allocations: 0 / 421.9 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.161, allocations: 7.984 kB / 421.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008431/0.1618, allocations: 0.6183 MB / 422.5 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.188e-06/0.1619, allocations: 0 / 422.5 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007344/0.1626, allocations: 123.8 kB / 422.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/0.1626, allocations: 4 kB / 422.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-05/0.1627, allocations: 19.97 kB / 422.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.1627, allocations: 4 kB / 422.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1627, allocations: 0 / 422.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2271/0.3898, allocations: 1.188 MB / 423.9 MB, free: 47.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.39, allocations: 119.5 kB / 424 MB, free: 47.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002452/0.3902, allocations: 11.56 kB / 424 MB, free: 47.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004589/0.3907, allocations: 39.39 kB / 424 MB, free: 47.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002195/0.3909, allocations: 56.56 kB / 424.1 MB, free: 47.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.909e-05/0.391, allocations: 26.33 kB / 424.1 MB, free: 47.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000212/0.3912, allocations: 159.4 kB / 424.3 MB, free: 47 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3913, allocations: 1.656 kB / 424.3 MB, free: 47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009336/0.3922, allocations: 170.8 kB / 424.4 MB, free: 47 MB / 350.1 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: 10 ($cse4[1],$cse4[2],$cse6[1],$cse6[2],$cse8[1],$cse8[2],$cse10[1],$cse10[2],noise1.localSeed,noise2.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 47 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001036/0.3932, allocations: 356.1 kB / 424.8 MB, free: 46.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001692/0.3949, allocations: 0.6682 MB / 425.5 MB, free: 46.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.395, allocations: 0 / 425.5 MB, free: 46.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007715/0.3957, allocations: 487.5 kB / 425.9 MB, free: 46.78 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.396, allocations: 23.56 kB / 426 MB, free: 46.78 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.3976, allocations: 1.108 MB / 427.1 MB, free: 46.31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.3979, allocations: 0.8258 MB / 427.9 MB, free: 45.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004648/0.3983, allocations: 91.77 kB / 428 MB, free: 45.6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.3985, allocations: 55.17 kB / 428 MB, free: 45.59 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3985, allocations: 0 / 428 MB, free: 45.59 MB / 350.1 MB Notification: Performance of Templates: time 0.01098/0.4095, allocations: 6.791 MB / 434.8 MB, free: 45.06 MB / 350.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.makefile Environment - environmentSimulation: (rm -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.sim & ./AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations -abortSlowSimulation -alarm=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.pipe 2>&1) Environment - environmentSimulation: