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.0008297/0.0008297, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001132/0.001961, 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.0009015/0.0009015, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001805/0.002707, 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.064/1.064, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0958/1.16, allocations: 53.66 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.01627/0.01627, allocations: 3.154 MB / 247.1 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003033/0.0193, 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.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.513e-06/1.513e-06, allocations: 0 / 249.6 MB, free: 9.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.249e-05, allocations: 2.312 kB / 249.6 MB, free: 9.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.003367/0.003389, allocations: 2 MB / 251.6 MB, free: 7.43 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002675/0.006064, allocations: 1.53 MB / 253.1 MB, free: 5.895 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002303/0.006294, allocations: 11.88 kB / 253.1 MB, free: 5.883 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001953/0.00649, allocations: 47.47 kB / 253.2 MB, free: 5.836 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008806/0.00737, allocations: 266.8 kB / 253.4 MB, free: 5.574 MB / 250.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.0009011/0.008271, allocations: 366.8 kB / 253.8 MB, free: 5.215 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008123/0.009084, allocations: 0.6433 MB / 254.4 MB, free: 4.57 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.009258, allocations: 52.36 kB / 254.5 MB, free: 4.512 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000641/0.009899, allocations: 401 kB / 254.9 MB, free: 4.117 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003636/0.01026, allocations: 227.4 kB / 255.1 MB, free: 3.895 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.01036, allocations: 64 kB / 255.1 MB, free: 3.832 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007435/0.01111, allocations: 403.2 kB / 255.5 MB, free: 3.438 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.01122, allocations: 91.73 kB / 255.6 MB, free: 3.348 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.01137, allocations: 123.8 kB / 255.8 MB, free: 3.227 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007882/0.01216, allocations: 0.5141 MB / 256.3 MB, free: 2.711 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-05/0.01217, allocations: 3.984 kB / 256.3 MB, free: 2.707 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.01218, allocations: 0 / 256.3 MB, free: 2.707 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.057e-05/0.0122, allocations: 0 / 256.3 MB, free: 2.707 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.002239/0.01444, allocations: 1.82 MB / 258.1 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.01447, allocations: 8.031 kB / 258.1 MB, free: 0.832 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.01552, allocations: 293.7 kB / 258.4 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004178/0.01594, allocations: 249.2 kB / 258.6 MB, free: 264 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.671e-05/0.01601, allocations: 36.86 kB / 258.7 MB, free: 228 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.733e-05/0.01609, allocations: 36.38 kB / 258.7 MB, free: 192 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007903/0.01688, allocations: 444.6 kB / 259.1 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.01689, allocations: 192 / 259.1 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.245e-05/0.01693, allocations: 20.38 kB / 259.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.01694, allocations: 4.375 kB / 259.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005054/0.01745, allocations: 301.4 kB / 259.5 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.01876, allocations: 0.6189 MB / 260.1 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006019/0.01936, allocations: 390.8 kB / 260.5 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002902/0.01965, allocations: 241.5 kB / 260.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.206e-05/0.01969, allocations: 12.33 kB / 260.7 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005701/0.02026, allocations: 0.582 MB / 261.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=57): time 2.294e-06/0.02027, allocations: 0 / 261.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.001052/0.02132, allocations: 0.8184 MB / 262.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.02139, allocations: 122.8 kB / 262.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.02157, allocations: 236.9 kB / 262.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.433e-05/0.02162, allocations: 37.7 kB / 262.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.656e-05/0.02169, allocations: 141.6 kB / 262.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.02183, allocations: 186.4 kB / 262.8 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.02201, allocations: 118.1 kB / 262.9 MB, free: 11.72 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.02214, allocations: 366.7 kB / 263.3 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002709/0.02241, allocations: 195.3 kB / 263.5 MB, free: 11.15 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.02265, allocations: 208.6 kB / 263.7 MB, free: 10.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005622/0.02322, allocations: 488.7 kB / 264.2 MB, free: 10.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.02322, allocations: 0 / 264.2 MB, free: 10.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0006748/0.0239, allocations: 0.5307 MB / 264.7 MB, free: 9.867 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.243e-05/0.02398, allocations: 91.36 kB / 264.8 MB, free: 9.766 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.02398, allocations: 0 / 264.8 MB, free: 9.766 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.024, allocations: 7.938 kB / 264.8 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005775/0.02458, allocations: 147.8 kB / 264.9 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.02458, allocations: 0 / 264.9 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.02482, allocations: 67.62 kB / 265 MB, free: 9.547 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.898e-05/0.02491, allocations: 47.88 kB / 265 MB, free: 9.5 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.0002451/0.02515, allocations: 249.9 kB / 265.3 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.192e-05/0.02525, allocations: 55.91 kB / 265.3 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009279/0.02617, allocations: 0.6709 MB / 266 MB, free: 8.477 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.02618, allocations: 7.938 kB / 266 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.02619, allocations: 0 / 266 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.02619, allocations: 0 / 266 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004183/0.02661, allocations: 293.9 kB / 266.3 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.02662, allocations: 3.984 kB / 266.3 MB, free: 8.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005442/0.02716, allocations: 123.8 kB / 266.4 MB, free: 8.039 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/0.02721, allocations: 39.64 kB / 266.5 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.02721, allocations: 4 kB / 266.5 MB, free: 7.996 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.882e-05/0.02727, allocations: 27.95 kB / 266.5 MB, free: 7.969 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.02728, allocations: 7.938 kB / 266.5 MB, free: 7.961 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.02728, allocations: 0 / 266.5 MB, free: 7.961 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.02856, allocations: 0.9997 MB / 267.5 MB, free: 6.898 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.741e-05/0.02866, allocations: 35.92 kB / 267.5 MB, free: 6.863 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.02888, allocations: 35.95 kB / 267.6 MB, free: 6.828 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.02905, allocations: 59.84 kB / 267.6 MB, free: 6.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.036e-05/0.02914, allocations: 51.91 kB / 267.7 MB, free: 6.719 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.277e-05/0.02923, allocations: 82.77 kB / 267.8 MB, free: 6.637 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02923, allocations: 0 / 267.8 MB, free: 6.637 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005616/0.02979, allocations: 175.7 kB / 267.9 MB, free: 6.465 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.0009128/0.0307, allocations: 375.5 kB / 268.3 MB, free: 6.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009712/0.03167, allocations: 0.732 MB / 269 MB, free: 5.395 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.65e-05/0.03169, allocations: 7.984 kB / 269 MB, free: 5.387 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005207/0.03221, allocations: 480.3 kB / 269.5 MB, free: 4.879 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.03254, allocations: 119.1 kB / 269.6 MB, free: 4.762 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.03419, allocations: 0.904 MB / 270.5 MB, free: 3.816 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.429e-05/0.03428, allocations: 114.1 kB / 270.6 MB, free: 3.688 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003648/0.03465, allocations: 66.97 kB / 270.7 MB, free: 3.621 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004515/0.0351, allocations: 171.3 kB / 270.9 MB, free: 3.453 MB / 266.7 MB Notification: Performance of SimCode: time 1.252e-06/0.0351, allocations: 7.938 kB / 270.9 MB, free: 3.445 MB / 266.7 MB Notification: Performance of Templates: time 0.1162/0.1513, allocations: 9.103 MB / 280 MB, free: 19.52 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 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.281287847086787]