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.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.000776/0.000776, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008476/0.001624, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001069/0.001069, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001536/0.002606, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.048/1.048, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09263/1.141, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.2.0-master/package.mo): time 0.02588/0.02588, allocations: 3.155 MB / 247.1 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004173/0.03005, allocations: 1.196 MB / 248.3 MB, free: 10.7 MB / 250.7 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.2.0-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.SignalBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations") translateModel(AdvancedNoise.Examples.SignalBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.033e-06/2.033e-06, allocations: 0 / 249.6 MB, free: 9.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.321e-05, allocations: 2.312 kB / 249.6 MB, free: 9.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.002422/0.002445, allocations: 2.031 MB / 251.6 MB, free: 7.391 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002471/0.004916, allocations: 1.67 MB / 253.3 MB, free: 5.715 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.005075, allocations: 4 kB / 253.3 MB, free: 5.711 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.005202, allocations: 51.41 kB / 253.3 MB, free: 5.66 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006119/0.005814, allocations: 254.9 kB / 253.6 MB, free: 5.41 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.2.0-master/Generators/QuickXorshift64star/package.mo:6:13-93:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise1.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise1.generator.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.2.0-master/Sources/SignalBasedNoise.mo:248:3-259:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise1.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise1.convertRealToIntegers'. [/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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.2.0-master/Generators/QuickXorshift64star/package.mo:6:13-93:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise2.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise2.generator.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.2.0-master/Sources/SignalBasedNoise.mo:248:3-259:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise2.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise2.convertRealToIntegers'. Notification: Performance of NFTyping.typeClassSections: time 0.0008724/0.006687, allocations: 414.5 kB / 254 MB, free: 5.004 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006301/0.007317, allocations: 0.5849 MB / 254.6 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.007503, allocations: 70.47 kB / 254.6 MB, free: 4.344 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004514/0.007954, allocations: 356 kB / 255 MB, free: 3.996 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.008159, allocations: 219.4 kB / 255.2 MB, free: 3.781 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.007e-05/0.008219, allocations: 60 kB / 255.3 MB, free: 3.723 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007351/0.008954, allocations: 491 kB / 255.7 MB, free: 3.242 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.975e-05/0.009054, allocations: 91.8 kB / 255.8 MB, free: 3.152 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.803e-05/0.009152, allocations: 111.8 kB / 255.9 MB, free: 3.043 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006353/0.009787, allocations: 0.5606 MB / 256.5 MB, free: 2.48 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.412e-05/0.009801, allocations: 0 / 256.5 MB, free: 2.48 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.009802, allocations: 0 / 256.5 MB, free: 2.48 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.009815, allocations: 0 / 256.5 MB, free: 2.48 MB / 250.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.0009015/0.01072, allocations: 0.7119 MB / 257.2 MB, free: 1.738 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.01075, allocations: 8.031 kB / 257.2 MB, free: 1.73 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006719/0.01142, allocations: 294.2 kB / 257.5 MB, free: 1.426 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004564/0.01188, allocations: 241.3 kB / 257.7 MB, free: 1.164 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.765e-05/0.01192, allocations: 37.03 kB / 257.8 MB, free: 1.129 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.754e-05/0.01198, allocations: 44.31 kB / 257.8 MB, free: 1.086 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004221/0.0124, allocations: 318.3 kB / 258.1 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.01241, allocations: 192 / 258.1 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.835e-05/0.01244, allocations: 12.38 kB / 258.1 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.01245, allocations: 12.38 kB / 258.2 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002568/0.01271, allocations: 171 kB / 258.3 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009881/0.01369, allocations: 0.6734 MB / 259 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004981/0.01419, allocations: 275 kB / 259.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.01433, allocations: 98.31 kB / 259.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.175e-05/0.01439, allocations: 19.92 kB / 259.4 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.01442, allocations: 42.56 kB / 259.4 MB, free: 15.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 2.825e-06/0.01442, allocations: 0 / 259.4 MB, free: 15.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=46): time 0.0005134/0.01494, allocations: 330.1 kB / 259.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.01497, allocations: 59.41 kB / 259.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.01509, allocations: 225 kB / 260 MB, free: 14.81 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/0.01513, allocations: 33.7 kB / 260.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.907e-05/0.01519, allocations: 141.6 kB / 260.2 MB, free: 14.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.036e-05/0.01528, allocations: 170.5 kB / 260.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.0154, allocations: 110.2 kB / 260.5 MB, free: 14.35 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.01551, allocations: 342.8 kB / 260.8 MB, free: 14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.01563, allocations: 81.27 kB / 260.9 MB, free: 13.92 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.01575, allocations: 101.8 kB / 261 MB, free: 13.83 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.01601, allocations: 238.2 kB / 261.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01601, allocations: 0 / 261.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003337/0.01634, allocations: 305.2 kB / 261.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.01636, allocations: 4 kB / 261.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.01636, allocations: 0 / 261.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.01638, allocations: 4 kB / 261.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000416/0.01679, allocations: 179.7 kB / 261.7 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.01679, allocations: 0 / 261.7 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.01692, allocations: 51.72 kB / 261.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-05/0.017, allocations: 63.89 kB / 261.8 MB, free: 12.99 MB / 266.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 (globalSeed.seed,noise1.actualGlobalSeed,globalSeed.id_impure,noise2.actualGlobalSeed,noise2.localSeed,noise1.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * 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.0001187/0.01712, allocations: 132.5 kB / 261.9 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.544e-05/0.01717, allocations: 35.91 kB / 262 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004596/0.01763, allocations: 334.1 kB / 262.3 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.01764, allocations: 8 kB / 262.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.01764, allocations: 0 / 262.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.01765, allocations: 3.984 kB / 262.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003067/0.01795, allocations: 289.9 kB / 262.6 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.01796, allocations: 0 / 262.6 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003896/0.01835, allocations: 143.8 kB / 262.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.037e-05/0.01838, allocations: 47.58 kB / 262.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.01838, allocations: 3.938 kB / 262.8 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-05/0.01842, allocations: 23.97 kB / 262.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.01842, allocations: 4 kB / 262.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01842, allocations: 0 / 262.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000585/0.01901, allocations: 0.4927 MB / 263.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.219e-05/0.01905, allocations: 15.92 kB / 263.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.01919, allocations: 23.98 kB / 263.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.514e-05/0.01929, allocations: 56.39 kB / 263.4 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.81e-05/0.01935, allocations: 66.95 kB / 263.5 MB, free: 11.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.705e-05/0.01941, allocations: 78.77 kB / 263.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01941, allocations: 0 / 263.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004358/0.01985, allocations: 175.5 kB / 263.7 MB, free: 11.04 MB / 266.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: 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007808/0.02063, allocations: 436.6 kB / 264.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003742/0.021, allocations: 281.3 kB / 264.4 MB, free: 10.44 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.261e-05/0.02101, allocations: 4 kB / 264.4 MB, free: 10.43 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.02121, allocations: 164.6 kB / 264.6 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.02146, allocations: 96.3 kB / 264.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009513/0.02242, allocations: 0.6983 MB / 265.4 MB, free: 9.449 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.536e-05/0.02248, allocations: 105.6 kB / 265.5 MB, free: 9.324 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002436/0.02272, allocations: 94.8 kB / 265.6 MB, free: 9.234 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.02294, allocations: 123.3 kB / 265.7 MB, free: 9.113 MB / 266.7 MB Notification: Performance of SimCode: time 9.52e-07/0.02295, allocations: 0 / 265.7 MB, free: 9.113 MB / 266.7 MB Notification: Performance of Templates: time 0.01029/0.03323, allocations: 8.72 MB / 274.4 MB, free: 460 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.makefile [Timeout 660] (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=240 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.033208705484867]