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.0006725/0.0006725, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008822/0.001555, allocations: 440 kB / 10.41 MB, free: 284 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.0006902/0.0006902, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008856/0.001576, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.109/1.109, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1134/1.223, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.0369/0.0369, allocations: 3.152 MB / 247.3 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004581/0.04148, allocations: 1.208 MB / 248.5 MB, free: 10.59 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 9.52e-07/9.52e-07, allocations: 0 / 249.8 MB, free: 9.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.904e-05/1.999e-05, allocations: 6.312 kB / 249.8 MB, free: 9.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.002405/0.002425, allocations: 2.043 MB / 251.8 MB, free: 7.246 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002254/0.004679, allocations: 1.677 MB / 253.5 MB, free: 5.562 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.004809, allocations: 3.938 kB / 253.5 MB, free: 5.559 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.946e-05/0.004898, allocations: 47.47 kB / 253.6 MB, free: 5.512 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004214/0.00532, allocations: 254.8 kB / 253.8 MB, free: 5.262 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.0006676/0.005987, allocations: 410.5 kB / 254.2 MB, free: 4.859 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004405/0.006428, allocations: 0.5888 MB / 254.8 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.006544, allocations: 73.05 kB / 254.9 MB, free: 4.199 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002916/0.006836, allocations: 359.9 kB / 255.2 MB, free: 3.848 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.007019, allocations: 219.5 kB / 255.4 MB, free: 3.633 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.581e-05/0.007074, allocations: 60 kB / 255.5 MB, free: 3.574 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005525/0.007627, allocations: 487 kB / 256 MB, free: 3.098 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.712e-05/0.007714, allocations: 95.75 kB / 256.1 MB, free: 3.004 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.947e-05/0.007803, allocations: 111.7 kB / 256.2 MB, free: 2.895 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005061/0.00831, allocations: 0.5568 MB / 256.7 MB, free: 2.336 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.008316, allocations: 0 / 256.7 MB, free: 2.336 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.008317, allocations: 0 / 256.7 MB, free: 2.336 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.008324, allocations: 3.938 kB / 256.7 MB, free: 2.332 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.0008086/0.009133, allocations: 0.708 MB / 257.4 MB, free: 1.594 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.757e-05/0.00916, allocations: 12.03 kB / 257.4 MB, free: 1.582 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006853/0.009846, allocations: 294.2 kB / 257.7 MB, free: 1.277 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.01009, allocations: 241.3 kB / 258 MB, free: 1.012 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.01013, allocations: 33.03 kB / 258 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.924e-05/0.01019, allocations: 44.31 kB / 258 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004145/0.01061, allocations: 322.3 kB / 258.4 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.01062, allocations: 192 / 258.4 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.083e-05/0.01065, allocations: 16.36 kB / 258.4 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.01065, allocations: 8.375 kB / 258.4 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002474/0.0109, allocations: 167 kB / 258.5 MB, free: 440 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009351/0.01184, allocations: 0.6696 MB / 259.2 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004161/0.01225, allocations: 271.4 kB / 259.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.01238, allocations: 101.6 kB / 259.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.01242, allocations: 16.3 kB / 259.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.01245, allocations: 38.94 kB / 259.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 2.475e-06/0.01245, allocations: 3.984 kB / 259.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=46): time 0.0004846/0.01294, allocations: 331.6 kB / 260 MB, free: 14.97 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.01297, allocations: 63.39 kB / 260 MB, free: 14.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.01309, allocations: 221 kB / 260.2 MB, free: 14.67 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.01312, allocations: 33.7 kB / 260.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.551e-05/0.01318, allocations: 145.6 kB / 260.4 MB, free: 14.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.878e-05/0.01326, allocations: 170.5 kB / 260.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.01338, allocations: 110.2 kB / 260.7 MB, free: 14.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.619e-05/0.01347, allocations: 342.8 kB / 261 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.0136, allocations: 89.25 kB / 261.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.01374, allocations: 85.86 kB / 261.2 MB, free: 13.69 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.01402, allocations: 248.4 kB / 261.4 MB, free: 13.44 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.01402, allocations: 0 / 261.4 MB, free: 13.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003465/0.01437, allocations: 297.2 kB / 261.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.01438, allocations: 4 kB / 261.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.01438, allocations: 0 / 261.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.0144, allocations: 11.94 kB / 261.7 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004819/0.01488, allocations: 171.8 kB / 261.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.01489, allocations: 4 kB / 261.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.01502, allocations: 51.7 kB / 262 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.307e-05/0.0151, allocations: 59.84 kB / 262 MB, free: 12.85 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.0001256/0.01522, allocations: 140.6 kB / 262.2 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.656e-05/0.01528, allocations: 31.92 kB / 262.2 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004474/0.01573, allocations: 342.1 kB / 262.5 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.01573, allocations: 4 kB / 262.5 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.01573, allocations: 0 / 262.5 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.01574, allocations: 3.984 kB / 262.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.01602, allocations: 289.9 kB / 262.8 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01602, allocations: 4 kB / 262.8 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003641/0.01638, allocations: 143.8 kB / 263 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.643e-05/0.01641, allocations: 39.62 kB / 263 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.01642, allocations: 7.938 kB / 263 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.01644, allocations: 15.98 kB / 263 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.01645, allocations: 0 / 263 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.01645, allocations: 3.984 kB / 263 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005856/0.01703, allocations: 0.4965 MB / 263.5 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.01707, allocations: 15.94 kB / 263.5 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.01721, allocations: 31.97 kB / 263.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.876e-05/0.0173, allocations: 52.41 kB / 263.6 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.988e-05/0.01736, allocations: 59.83 kB / 263.7 MB, free: 11.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.956e-05/0.01741, allocations: 70.78 kB / 263.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01741, allocations: 0 / 263.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003377/0.01775, allocations: 171.6 kB / 263.9 MB, free: 10.9 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.0006739/0.01842, allocations: 453 kB / 264.4 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003808/0.0188, allocations: 290 kB / 264.6 MB, free: 10.28 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/0.01881, allocations: 4 kB / 264.6 MB, free: 10.28 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002175/0.01903, allocations: 193.6 kB / 264.8 MB, free: 10.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.01931, allocations: 193.4 kB / 265 MB, free: 9.879 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.02064, allocations: 0.6943 MB / 265.7 MB, free: 9.152 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.192e-05/0.02073, allocations: 109.6 kB / 265.8 MB, free: 9.023 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003152/0.02104, allocations: 90.86 kB / 265.9 MB, free: 8.938 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.02129, allocations: 127.3 kB / 266 MB, free: 8.812 MB / 266.7 MB Notification: Performance of SimCode: time 1.282e-06/0.02129, allocations: 0 / 266 MB, free: 8.812 MB / 266.7 MB Notification: Performance of Templates: time 0.01236/0.03365, allocations: 8.731 MB / 274.8 MB, free: 136 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.215917837806046]