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.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.001325/0.001325, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.00164/0.00164, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 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.052/1.052, allocations: 177.2 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo): time 0.01743/0.01743, allocations: 3.161 MB / 263.4 MB, free: 9.945 MB / 250.7 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 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.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 1.823e-06/1.823e-06, allocations: 0 / 280.7 MB, free: 8.66 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.498e-05/2.68e-05, allocations: 2.312 kB / 280.7 MB, free: 8.656 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.003041/0.003068, allocations: 2.007 MB / 282.7 MB, free: 6.641 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002396/0.005464, allocations: 1.51 MB / 284.2 MB, free: 5.125 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.005658, allocations: 7.938 kB / 284.2 MB, free: 5.117 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.005845, allocations: 51.41 kB / 284.3 MB, free: 5.066 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006947/0.00654, allocations: 270.7 kB / 284.5 MB, free: 4.801 MB / 266.7 MB [/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'. Notification: Performance of NFTyping.typeClassSections: time 0.0007718/0.007312, allocations: 370.9 kB / 284.9 MB, free: 4.438 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005818/0.007893, allocations: 0.655 MB / 285.6 MB, free: 3.781 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.008047, allocations: 64.33 kB / 285.6 MB, free: 3.715 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003732/0.00842, allocations: 359.3 kB / 286 MB, free: 3.363 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002752/0.008696, allocations: 231.4 kB / 286.2 MB, free: 3.137 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.638e-05/0.008772, allocations: 60 kB / 286.3 MB, free: 3.078 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006515/0.009423, allocations: 411.2 kB / 286.7 MB, free: 2.676 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.009531, allocations: 127.6 kB / 286.8 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.009667, allocations: 167.5 kB / 286.9 MB, free: 2.387 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007261/0.01039, allocations: 0.5958 MB / 287.5 MB, free: 1.789 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.0104, allocations: 0 / 287.5 MB, free: 1.789 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.0104, allocations: 4 kB / 287.5 MB, free: 1.785 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.01041, allocations: 0 / 287.5 MB, free: 1.785 MB / 266.7 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.001635/0.01204, allocations: 1.719 MB / 289.3 MB, free: 20 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.01208, allocations: 12.03 kB / 289.3 MB, free: 8 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1812/0.1933, allocations: 213.4 kB / 289.5 MB, free: 22.53 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005329/0.1938, allocations: 245 kB / 289.7 MB, free: 22.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.257e-05/0.1939, allocations: 35.02 kB / 289.8 MB, free: 22.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.587e-05/0.194, allocations: 38.36 kB / 289.8 MB, free: 22.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008368/0.1948, allocations: 438.2 kB / 290.2 MB, free: 22.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.1948, allocations: 1.062 kB / 290.2 MB, free: 22.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/0.1949, allocations: 14.38 kB / 290.2 MB, free: 22.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.1949, allocations: 7 kB / 290.2 MB, free: 22.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004382/0.1953, allocations: 289.2 kB / 290.5 MB, free: 22.22 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.1966, allocations: 0.6217 MB / 291.1 MB, free: 22.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006127/0.1972, allocations: 376.6 kB / 291.5 MB, free: 21.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/0.1975, allocations: 230 kB / 291.7 MB, free: 21.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.186e-05/0.1975, allocations: 9.906 kB / 291.7 MB, free: 21.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005631/0.1981, allocations: 0.5766 MB / 292.3 MB, free: 21.54 MB / 266.7 MB Notification: Performance of pre-optimization done (n=57): time 3.086e-06/0.1981, allocations: 0 / 292.3 MB, free: 21.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.001021/0.1991, allocations: 0.7765 MB / 293.1 MB, free: 21.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.1992, allocations: 129.8 kB / 293.2 MB, free: 21.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.1994, allocations: 242.3 kB / 293.5 MB, free: 21.06 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.1994, allocations: 34.23 kB / 293.5 MB, free: 21.03 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.795e-05/0.1995, allocations: 149.9 kB / 293.6 MB, free: 20.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.1996, allocations: 179 kB / 293.8 MB, free: 20.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.1998, allocations: 123.6 kB / 293.9 MB, free: 20.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.365e-05/0.1999, allocations: 354.8 kB / 294.3 MB, free: 20.51 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/0.2002, allocations: 191.1 kB / 294.5 MB, free: 20.44 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.2004, allocations: 194 kB / 294.7 MB, free: 20.38 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000517/0.2009, allocations: 464.4 kB / 295.1 MB, free: 20.22 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.2009, allocations: 0 / 295.1 MB, free: 20.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0006318/0.2016, allocations: 0.5054 MB / 295.6 MB, free: 20.06 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.724e-05/0.2016, allocations: 84.62 kB / 295.7 MB, free: 20 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.2016, allocations: 0.9375 kB / 295.7 MB, free: 20 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.2017, allocations: 7.031 kB / 295.7 MB, free: 19.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004337/0.2021, allocations: 138 kB / 295.8 MB, free: 19.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.2021, allocations: 2.812 kB / 295.8 MB, free: 19.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/0.2023, allocations: 66.34 kB / 295.9 MB, free: 19.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-05/0.2024, allocations: 44.95 kB / 296 MB, free: 19.98 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: 26 (noise1.localSeed,globalSeed.seed,noise1.actualGlobalSeed,globalSeed.id_impure,noise2.localSeed,noise2.actualGlobalSeed,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.0002192/0.2026, allocations: 246.9 kB / 296.2 MB, free: 19.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.341e-05/0.2027, allocations: 55.41 kB / 296.3 MB, free: 19.8 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008417/0.2035, allocations: 0.6463 MB / 296.9 MB, free: 19.62 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.2036, allocations: 12.89 kB / 296.9 MB, free: 19.62 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.2036, allocations: 0.6875 kB / 296.9 MB, free: 19.62 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.2036, allocations: 2.109 kB / 296.9 MB, free: 19.62 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003556/0.2039, allocations: 296.4 kB / 297.2 MB, free: 19.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2039, allocations: 2.875 kB / 297.2 MB, free: 19.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003771/0.2043, allocations: 106.2 kB / 297.3 MB, free: 19.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/0.2043, allocations: 1.5 kB / 297.3 MB, free: 19.54 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.705e-05/0.2044, allocations: 26.81 kB / 297.3 MB, free: 19.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.2044, allocations: 2.688 kB / 297.3 MB, free: 19.54 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2044, allocations: 2 kB / 297.3 MB, free: 19.54 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.2056, allocations: 0.9754 MB / 298.3 MB, free: 19.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/0.2056, allocations: 39.2 kB / 298.4 MB, free: 19.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.265e-05/0.2057, allocations: 26.75 kB / 298.4 MB, free: 19.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.2059, allocations: 40.42 kB / 298.4 MB, free: 19.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.206, allocations: 67.12 kB / 298.5 MB, free: 19.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.001e-05/0.2061, allocations: 48.44 kB / 298.5 MB, free: 19.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.649e-05/0.2062, allocations: 78.31 kB / 298.6 MB, free: 19.21 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2062, allocations: 0 / 298.6 MB, free: 19.21 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004898/0.2067, allocations: 173.9 kB / 298.8 MB, free: 19.2 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: 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.0007571/0.2074, allocations: 360.4 kB / 299.1 MB, free: 19.12 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008185/0.2083, allocations: 0.7071 MB / 299.8 MB, free: 18.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.2083, allocations: 1.938 kB / 299.8 MB, free: 18.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00042/0.2087, allocations: 471.8 kB / 300.3 MB, free: 18.65 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.2089, allocations: 78.25 kB / 300.4 MB, free: 18.65 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.2101, allocations: 0.9271 MB / 301.3 MB, free: 18.21 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.084e-05/0.2102, allocations: 110 kB / 301.4 MB, free: 18.14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002386/0.2104, allocations: 72.25 kB / 301.5 MB, free: 18.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003009/0.2107, allocations: 175.8 kB / 301.7 MB, free: 18.06 MB / 266.7 MB Notification: Performance of SimCode: time 2.185e-06/0.2107, allocations: 0 / 301.7 MB, free: 18.06 MB / 266.7 MB Notification: Performance of Templates: time 0.01134/0.222, allocations: 9.075 MB / 310.7 MB, free: 10.7 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.402888849377632]