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.001303/0.001303, allocations: 113.4 kB / 17.13 MB, free: 5.914 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.001288/0.001288, allocations: 192.6 kB / 20.08 MB, free: 2.98 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.355/1.355, allocations: 225.6 MB / 248.5 MB, free: 3.594 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.02522/0.02522, allocations: 3.934 MB / 307.3 MB, free: 3.164 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.001932/0.001932, allocations: 67.88 kB / 427.2 MB, free: 2.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2574, allocations: 52.91 MB / 480.1 MB, free: 26.5 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.002519/0.2599, allocations: 2.014 MB / 482.1 MB, free: 25.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.2619, allocations: 1.523 MB / 483.7 MB, free: 24.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.262, allocations: 2.875 kB / 483.7 MB, free: 24.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.2621, allocations: 56.31 kB / 483.7 MB, free: 24.01 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006083/0.2628, allocations: 257 kB / 484 MB, free: 23.87 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.0005452/0.2633, allocations: 337.3 kB / 484.3 MB, free: 23.69 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004051/0.2637, allocations: 0.6329 MB / 484.9 MB, free: 23.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.2638, allocations: 62.09 kB / 485 MB, free: 23.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.264, allocations: 255.8 kB / 485.3 MB, free: 23.22 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.2643, allocations: 287.2 kB / 485.5 MB, free: 23.08 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.436e-05/0.2644, allocations: 65.94 kB / 485.6 MB, free: 23.08 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004291/0.2648, allocations: 365 kB / 486 MB, free: 22.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.2649, allocations: 118.2 kB / 486.1 MB, free: 22.9 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.265, allocations: 238.8 kB / 486.3 MB, free: 22.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006229/0.2657, allocations: 0.7207 MB / 487 MB, free: 22.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2657, allocations: 0 / 487 MB, free: 22.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2657, allocations: 0 / 487 MB, free: 22.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.2657, allocations: 0 / 487 MB, free: 22.43 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.002564/0.2683, allocations: 2.494 MB / 489.5 MB, free: 21.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.2683, allocations: 9.641 kB / 489.5 MB, free: 21.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/0.2696, allocations: 164.7 kB / 489.7 MB, free: 21.15 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006225/0.2702, allocations: 379.3 kB / 490.1 MB, free: 20.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.944e-05/0.2702, allocations: 33.09 kB / 490.1 MB, free: 20.83 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.681e-05/0.2703, allocations: 40.31 kB / 490.1 MB, free: 20.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.2716, allocations: 0.5663 MB / 490.7 MB, free: 20.63 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.2716, allocations: 0.7031 kB / 490.7 MB, free: 20.63 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.246e-05/0.2716, allocations: 20.56 kB / 490.7 MB, free: 20.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.2717, allocations: 7.031 kB / 490.7 MB, free: 20.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.2731, allocations: 0.6293 MB / 491.4 MB, free: 20.42 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001922/0.2751, allocations: 1.131 MB / 492.5 MB, free: 19.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.2763, allocations: 0.5295 MB / 493 MB, free: 19.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008136/0.2772, allocations: 391.2 kB / 493.4 MB, free: 19.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.472e-05/0.2772, allocations: 10.48 kB / 493.4 MB, free: 19.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001144/0.2784, allocations: 0.7498 MB / 494.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=57): time 2.685e-06/0.2784, allocations: 0 / 494.2 MB, free: 19.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=57): time 0.002899/0.2813, allocations: 1.386 MB / 495.5 MB, free: 18.53 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/0.2813, allocations: 137.2 kB / 495.7 MB, free: 18.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.2816, allocations: 253.2 kB / 495.9 MB, free: 18.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.855e-05/0.2816, allocations: 38.42 kB / 496 MB, free: 18.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.814e-05/0.2817, allocations: 151.1 kB / 496.1 MB, free: 18.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.2818, allocations: 183.2 kB / 496.3 MB, free: 17.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002251/0.282, allocations: 128.2 kB / 496.4 MB, free: 17.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.793e-05/0.2821, allocations: 352.4 kB / 496.8 MB, free: 17.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007858/0.2829, allocations: 342.7 kB / 497.1 MB, free: 17.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008189/0.2837, allocations: 360.3 kB / 497.4 MB, free: 17.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/0.2852, allocations: 0.8241 MB / 498.3 MB, free: 16.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.2852, allocations: 4 kB / 498.3 MB, free: 16.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001858/0.2871, allocations: 0.92 MB / 499.2 MB, free: 16.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.964e-05/0.2872, allocations: 97.14 kB / 499.3 MB, free: 16.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.2872, allocations: 1.312 kB / 499.3 MB, free: 16.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.2872, allocations: 6.406 kB / 499.3 MB, free: 16.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007467/0.2879, allocations: 129.5 kB / 499.4 MB, free: 16.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.2879, allocations: 3.188 kB / 499.4 MB, free: 16.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003796/0.2883, allocations: 68.84 kB / 499.5 MB, free: 16.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.2884, allocations: 49.08 kB / 499.5 MB, free: 16.44 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.0002984/0.2887, allocations: 296.8 kB / 499.8 MB, free: 16.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.332e-05/0.2888, allocations: 44.64 kB / 499.9 MB, free: 16.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002256/0.2911, allocations: 1.135 MB / 0.4893 GB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.2911, allocations: 5.359 kB / 0.4893 GB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2911, allocations: 4 kB / 0.4893 GB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.2911, allocations: 2.062 kB / 0.4893 GB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006106/0.2917, allocations: 0.6021 MB / 0.4899 GB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2917, allocations: 0 / 0.4899 GB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007213/0.2924, allocations: 106.2 kB / 0.49 GB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.2924, allocations: 2.312 kB / 0.49 GB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.021e-05/0.2925, allocations: 27.17 kB / 0.49 GB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.2925, allocations: 1.531 kB / 0.49 GB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2925, allocations: 4.656 kB / 0.49 GB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003105/0.2956, allocations: 1.665 MB / 0.4916 GB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.519e-05/0.2957, allocations: 125.3 kB / 0.4917 GB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.2958, allocations: 28.44 kB / 0.4918 GB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003688/0.2961, allocations: 38.09 kB / 0.4918 GB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001818/0.2963, allocations: 60.42 kB / 0.4919 GB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.2964, allocations: 54.88 kB / 0.4919 GB, free: 14.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001459/0.2966, allocations: 179.3 kB / 0.4921 GB, free: 14.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2966, allocations: 0 / 0.4921 GB, free: 14.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005405/0.2971, allocations: 172 kB / 0.4923 GB, free: 14.4 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.0007117/0.2978, allocations: 314.9 kB / 0.4926 GB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001956/0.2998, allocations: 1.017 MB / 0.4935 GB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.2998, allocations: 0 / 0.4935 GB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.3008, allocations: 0.6371 MB / 0.4942 GB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.3011, allocations: 57.55 kB / 0.4942 GB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.3029, allocations: 1.139 MB / 0.4953 GB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.3032, allocations: 0.8077 MB / 0.4961 GB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/0.3034, allocations: 52.33 kB / 0.4962 GB, free: 12.22 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3034, allocations: 0 / 0.4962 GB, free: 12.22 MB / 366.1 MB Notification: Performance of Templates: time 0.01034/0.3137, allocations: 8.306 MB / 0.5043 GB, free: 7.766 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: 8.265410844935104] Failed to read output from testmodel.py, exit status != 0: 0.3208765790332109 0.33018354599999994 0.06190903199999994 Calling exit ...