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/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.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/AdvancedNoise 1.1.0-master/package.mo): time 0.05962/0.05963, allocations: 3.9 MB / 18.85 MB, free: 2.523 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.002002/0.002002, allocations: 173.1 kB / 20.47 MB, free: 1.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.017/2.017, allocations: 223.2 MB / 245.1 MB, free: 7.203 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.001091/0.001091, allocations: 95.5 kB / 297.1 MB, free: 6.859 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004706/0.0004707, allocations: 8 kB / 358.7 MB, free: 9.211 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3134, allocations: 51.17 MB / 409.9 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.002226/0.3157, allocations: 1.678 MB / 411.5 MB, free: 26.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003074/0.3188, allocations: 1.551 MB / 413.1 MB, free: 24.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.319, allocations: 7.938 kB / 413.1 MB, free: 24.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001717/0.3191, allocations: 35.7 kB / 413.1 MB, free: 24.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007496/0.3199, allocations: 173.1 kB / 413.3 MB, free: 24.25 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.0009123/0.3208, allocations: 297.5 kB / 413.6 MB, free: 23.97 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004729/0.3213, allocations: 327.4 kB / 413.9 MB, free: 23.65 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.3215, allocations: 85.97 kB / 414 MB, free: 23.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.3217, allocations: 167.4 kB / 414.2 MB, free: 23.4 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/0.322, allocations: 219.2 kB / 414.4 MB, free: 23.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.394e-05/0.3221, allocations: 20 kB / 414.4 MB, free: 23.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007354/0.3229, allocations: 337.8 kB / 414.7 MB, free: 22.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.323, allocations: 91.69 kB / 414.8 MB, free: 22.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.2e-05/0.3231, allocations: 77.52 kB / 414.9 MB, free: 22.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008087/0.3239, allocations: 0.5439 MB / 415.4 MB, free: 22.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.3239, allocations: 0 / 415.4 MB, free: 22.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3239, allocations: 0 / 415.4 MB, free: 22.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.3239, allocations: 4 kB / 415.4 MB, free: 22.12 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.002084/0.326, allocations: 0.6378 MB / 416.1 MB, free: 21.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/0.3261, allocations: 8.031 kB / 416.1 MB, free: 21.42 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002996/0.3291, allocations: 107.4 kB / 416.2 MB, free: 21.31 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/0.3308, allocations: 362 kB / 416.5 MB, free: 20.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.331, allocations: 36.59 kB / 416.6 MB, free: 20.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002544/0.3312, allocations: 47.86 kB / 416.6 MB, free: 20.83 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002535/0.3338, allocations: 473.8 kB / 417.1 MB, free: 20.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.3339, allocations: 3.984 kB / 417.1 MB, free: 20.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.334, allocations: 12 kB / 417.1 MB, free: 20.35 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.334, allocations: 11.98 kB / 417.1 MB, free: 20.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003425/0.3375, allocations: 0.5335 MB / 417.7 MB, free: 19.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004642/0.3421, allocations: 1.182 MB / 418.8 MB, free: 18.56 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003814/0.346, allocations: 0.5549 MB / 419.4 MB, free: 18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001255/0.3462, allocations: 12.42 kB / 419.4 MB, free: 17.99 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.3462, allocations: 39 kB / 419.4 MB, free: 17.94 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 5.059e-06/0.3463, allocations: 0 / 419.4 MB, free: 17.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.006187/0.3525, allocations: 0.8578 MB / 420.3 MB, free: 17.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.3526, allocations: 55.84 kB / 420.4 MB, free: 17.01 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004296/0.353, allocations: 229 kB / 420.6 MB, free: 16.78 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001369/0.3532, allocations: 33.7 kB / 420.6 MB, free: 16.74 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.3533, allocations: 164.9 kB / 420.8 MB, free: 16.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002514/0.3536, allocations: 157.6 kB / 420.9 MB, free: 16.42 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.535e-05/0.3537, allocations: 15.94 kB / 420.9 MB, free: 16.4 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.3539, allocations: 350.8 kB / 421.3 MB, free: 16.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001924/0.3558, allocations: 269 kB / 421.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001879/0.3577, allocations: 276.9 kB / 421.8 MB, free: 15.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001963/0.3597, allocations: 266.1 kB / 422.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.3597, allocations: 0 / 422.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.004452/0.3642, allocations: 0.6898 MB / 422.8 MB, free: 14.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.3643, allocations: 7.125 kB / 422.8 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.3643, allocations: 0 / 422.8 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/0.3643, allocations: 4 kB / 422.8 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002397/0.3668, allocations: 151.8 kB / 422.9 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.771e-05/0.3668, allocations: 4 kB / 422.9 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.3679, allocations: 59.56 kB / 423 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/0.368, allocations: 31.91 kB / 423 MB, free: 14.32 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: 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.0004147/0.3685, allocations: 154.3 kB / 423.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/0.3687, allocations: 39.56 kB / 423.2 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005258/0.3739, allocations: 0.8461 MB / 424.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001603/0.3741, allocations: 8 kB / 424.1 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.3742, allocations: 0 / 424.1 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/0.3742, allocations: 3.984 kB / 424.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001785/0.376, allocations: 0.6144 MB / 424.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.012e-05/0.3761, allocations: 0 / 424.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002367/0.3784, allocations: 123.8 kB / 424.8 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.259e-05/0.3785, allocations: 4 kB / 424.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001314/0.3786, allocations: 19.97 kB / 424.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.858e-06/0.3787, allocations: 4 kB / 424.8 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3787, allocations: 0 / 424.8 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006812/0.3855, allocations: 1.205 MB / 426 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.3857, allocations: 120.5 kB / 426.2 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/0.3859, allocations: 16 kB / 426.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.387, allocations: 35.97 kB / 426.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003362/0.3873, allocations: 60.45 kB / 426.3 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001291/0.3875, allocations: 19.98 kB / 426.3 MB, free: 10.95 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002852/0.3878, allocations: 160.5 kB / 426.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.3878, allocations: 0 / 426.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001226/0.3891, allocations: 171.8 kB / 426.6 MB, free: 10.63 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: 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.001414/0.3905, allocations: 357.3 kB / 427 MB, free: 10.33 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.004256/0.3948, allocations: 0.6634 MB / 427.6 MB, free: 9.664 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.3948, allocations: 4 kB / 427.6 MB, free: 9.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002336/0.3972, allocations: 481.8 kB / 428.1 MB, free: 9.164 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005252/0.3977, allocations: 30.86 kB / 428.1 MB, free: 9.137 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00408/0.4018, allocations: 1.114 MB / 429.2 MB, free: 7.992 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.4023, allocations: 0.8241 MB / 430.1 MB, free: 7.141 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.001382/0.4037, allocations: 90.86 kB / 430.1 MB, free: 7.051 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006212/0.4044, allocations: 59.38 kB / 430.2 MB, free: 6.996 MB / 298.7 MB Notification: Performance of SimCode: time 1.573e-06/0.4044, allocations: 0 / 430.2 MB, free: 6.996 MB / 298.7 MB Notification: Performance of Templates: time 0.02302/0.4274, allocations: 6.776 MB / 437 MB, free: 260 kB / 298.7 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.makefile (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)