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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02629/0.02629, allocations: 3.935 MB / 308.4 MB, free: 3.07 MB / 238.1 MB " [Timeout remaining time 180] 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.TimeBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations") translateModel(AdvancedNoise.Examples.TimeBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 71.89 kB / 429.4 MB, free: 1.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3058, allocations: 52.91 MB / 482.3 MB, free: 26.98 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.002809/0.3086, allocations: 2.022 MB / 484.3 MB, free: 25.55 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002321/0.3109, allocations: 1.546 MB / 485.8 MB, free: 24.53 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.311, allocations: 3.562 kB / 485.9 MB, free: 24.53 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001769/0.3112, allocations: 53.34 kB / 485.9 MB, free: 24.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006467/0.3118, allocations: 255.5 kB / 486.2 MB, free: 24.34 MB / 366.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.0006641/0.3125, allocations: 351.7 kB / 486.5 MB, free: 24.15 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004867/0.313, allocations: 0.621 MB / 487.1 MB, free: 23.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.3131, allocations: 66.19 kB / 487.2 MB, free: 23.81 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002174/0.3134, allocations: 259 kB / 487.4 MB, free: 23.69 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002709/0.3136, allocations: 283.3 kB / 487.7 MB, free: 23.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.762e-05/0.3137, allocations: 63.81 kB / 487.8 MB, free: 23.55 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005093/0.3142, allocations: 363.9 kB / 488.1 MB, free: 23.45 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.3143, allocations: 120.3 kB / 488.2 MB, free: 23.37 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.3145, allocations: 233.6 kB / 488.5 MB, free: 23.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008591/0.3154, allocations: 0.7267 MB / 489.2 MB, free: 22.9 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3154, allocations: 0 / 489.2 MB, free: 22.9 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3154, allocations: 4 kB / 489.2 MB, free: 22.9 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.3154, allocations: 0.7969 kB / 489.2 MB, free: 22.9 MB / 366.1 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.002817/0.3182, allocations: 2.491 MB / 491.7 MB, free: 21.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.3183, allocations: 14.22 kB / 491.7 MB, free: 21.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/0.3197, allocations: 165.9 kB / 491.9 MB, free: 21.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007307/0.3204, allocations: 376.4 kB / 492.2 MB, free: 21.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.076e-05/0.3205, allocations: 32.66 kB / 492.3 MB, free: 21.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.3206, allocations: 39.91 kB / 492.3 MB, free: 21.28 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.3219, allocations: 0.5735 MB / 492.9 MB, free: 21.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.3219, allocations: 192 / 492.9 MB, free: 21.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.53e-05/0.322, allocations: 18.36 kB / 492.9 MB, free: 21.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.322, allocations: 6.219 kB / 492.9 MB, free: 21.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.3235, allocations: 0.6331 MB / 493.5 MB, free: 20.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001984/0.3254, allocations: 1.135 MB / 494.7 MB, free: 20.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.3268, allocations: 0.5215 MB / 495.2 MB, free: 20.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008466/0.3276, allocations: 391.5 kB / 495.6 MB, free: 19.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.283e-05/0.3277, allocations: 9.594 kB / 495.6 MB, free: 19.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001276/0.3289, allocations: 0.7505 MB / 496.3 MB, free: 19.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=57): time 2.565e-06/0.3289, allocations: 0 / 496.3 MB, free: 19.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=57): time 0.00318/0.3321, allocations: 1.386 MB / 497.7 MB, free: 18.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.652e-05/0.3322, allocations: 132.8 kB / 497.9 MB, free: 18.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003138/0.3325, allocations: 257.6 kB / 498.1 MB, free: 18.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.942e-05/0.3326, allocations: 37.8 kB / 498.1 MB, free: 18.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.005e-05/0.3327, allocations: 155.1 kB / 498.3 MB, free: 18.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.3328, allocations: 180 kB / 498.5 MB, free: 18.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002472/0.3331, allocations: 123.9 kB / 498.6 MB, free: 18.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.3332, allocations: 348.4 kB / 498.9 MB, free: 18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008235/0.334, allocations: 350.8 kB / 499.3 MB, free: 17.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008159/0.3348, allocations: 355.7 kB / 499.6 MB, free: 17.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/0.3366, allocations: 0.8278 MB / 0.4887 GB, free: 17.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.3366, allocations: 0 / 0.4887 GB, free: 17.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002132/0.3387, allocations: 0.9284 MB / 0.4896 GB, free: 17.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.975e-05/0.3388, allocations: 97.45 kB / 0.4897 GB, free: 16.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.3388, allocations: 1.469 kB / 0.4897 GB, free: 16.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.3389, allocations: 1.469 kB / 0.4897 GB, free: 16.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008015/0.3397, allocations: 130.9 kB / 0.4899 GB, free: 16.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.3397, allocations: 1.594 kB / 0.4899 GB, free: 16.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004916/0.3402, allocations: 73.8 kB / 0.4899 GB, free: 16.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/0.3403, allocations: 49.17 kB / 0.49 GB, free: 16.89 MB / 366.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: 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 (59): * Single equations (assignments): 57 * 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.0005353/0.3409, allocations: 296.9 kB / 0.4903 GB, free: 16.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.341, allocations: 42.98 kB / 0.4903 GB, free: 16.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002814/0.3438, allocations: 1.141 MB / 0.4914 GB, free: 16.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.3438, allocations: 3.219 kB / 0.4914 GB, free: 16.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.3438, allocations: 1.812 kB / 0.4914 GB, free: 16.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.3438, allocations: 1.406 kB / 0.4914 GB, free: 16.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.345, allocations: 0.597 MB / 0.492 GB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.345, allocations: 1.781 kB / 0.492 GB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007742/0.3457, allocations: 101.4 kB / 0.4921 GB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.3457, allocations: 6.656 kB / 0.4921 GB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.867e-05/0.3458, allocations: 32.12 kB / 0.4921 GB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.3458, allocations: 1.188 kB / 0.4921 GB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3458, allocations: 5.016 kB / 0.4921 GB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003848/0.3497, allocations: 1.664 MB / 0.4938 GB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001803/0.3499, allocations: 121.5 kB / 0.4939 GB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/0.35, allocations: 28.31 kB / 0.4939 GB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004303/0.3505, allocations: 42.47 kB / 0.4939 GB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003156/0.3508, allocations: 60.8 kB / 0.494 GB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002081/0.351, allocations: 51.31 kB / 0.4941 GB, free: 15.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003035/0.3513, allocations: 175.4 kB / 0.4942 GB, free: 14.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3513, allocations: 0 / 0.4942 GB, free: 14.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001113/0.3524, allocations: 171.5 kB / 0.4944 GB, free: 14.87 MB / 366.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: 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 (41): * Single equations (assignments): 39 * 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.0009681/0.3534, allocations: 324.8 kB / 0.4947 GB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002381/0.3558, allocations: 1.021 MB / 0.4957 GB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3558, allocations: 0 / 0.4957 GB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001161/0.3569, allocations: 0.6355 MB / 0.4963 GB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.3573, allocations: 50.31 kB / 0.4964 GB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.3599, allocations: 1.097 MB / 0.4974 GB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.3602, allocations: 0.8048 MB / 0.4982 GB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003956/0.3606, allocations: 77.12 kB / 0.4983 GB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.3608, allocations: 45.22 kB / 0.4983 GB, free: 12.69 MB / 366.1 MB Notification: Performance of SimCode: time 1.703e-06/0.3608, allocations: 0 / 0.4983 GB, free: 12.69 MB / 366.1 MB Notification: Performance of Templates: time 0.01573/0.3766, allocations: 8.077 MB / 0.5062 GB, free: 7.348 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.535175540484488]