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.0008024/0.0008024, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009929/0.001795, 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.0007145/0.0007145, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009252/0.00164, 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 0.9852/0.9852, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1023/1.088, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.01578/0.01578, allocations: 3.152 MB / 247.3 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00308/0.01886, allocations: 1.2 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.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.953e-06/1.953e-06, allocations: 0 / 249.8 MB, free: 9.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.197e-05/2.392e-05, allocations: 2.312 kB / 249.8 MB, free: 9.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.002412/0.002436, allocations: 2.015 MB / 251.8 MB, free: 7.273 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.004543, allocations: 1.534 MB / 253.3 MB, free: 5.734 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002048/0.004748, allocations: 7.938 kB / 253.3 MB, free: 5.727 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.004878, allocations: 55.41 kB / 253.4 MB, free: 5.672 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006049/0.005483, allocations: 258.8 kB / 253.6 MB, free: 5.418 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.0007436/0.006227, allocations: 366.8 kB / 254 MB, free: 5.059 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006522/0.006879, allocations: 0.6394 MB / 254.6 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.007025, allocations: 60.34 kB / 254.7 MB, free: 4.355 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004598/0.007485, allocations: 393 kB / 255.1 MB, free: 3.969 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/0.007754, allocations: 227.4 kB / 255.3 MB, free: 3.746 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.865e-05/0.007823, allocations: 64 kB / 255.4 MB, free: 3.684 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006783/0.008501, allocations: 407.2 kB / 255.8 MB, free: 3.285 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.008612, allocations: 91.73 kB / 255.9 MB, free: 3.195 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.008729, allocations: 123.8 kB / 256 MB, free: 3.074 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006802/0.009409, allocations: 0.5218 MB / 256.5 MB, free: 2.551 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.179e-05/0.009421, allocations: 0 / 256.5 MB, free: 2.551 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.009423, allocations: 0 / 256.5 MB, free: 2.551 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.009432, allocations: 0 / 256.5 MB, free: 2.551 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.001758/0.01119, allocations: 1.82 MB / 258.3 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.01123, allocations: 8.031 kB / 258.3 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008455/0.01208, allocations: 293.7 kB / 258.6 MB, free: 380 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.01241, allocations: 249.2 kB / 258.9 MB, free: 100 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.588e-05/0.01246, allocations: 32.88 kB / 258.9 MB, free: 68 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.046e-05/0.01252, allocations: 40.38 kB / 258.9 MB, free: 28 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005555/0.01308, allocations: 448.6 kB / 259.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.01308, allocations: 192 / 259.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.124e-05/0.01312, allocations: 12.38 kB / 259.4 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.01313, allocations: 8.375 kB / 259.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003358/0.01346, allocations: 297.5 kB / 259.7 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009943/0.01446, allocations: 0.6189 MB / 260.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004524/0.01491, allocations: 386.9 kB / 260.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.01511, allocations: 241.5 kB / 260.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.475e-05/0.01515, allocations: 8.328 kB / 260.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004192/0.01557, allocations: 0.582 MB / 261.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of pre-optimization done (n=57): time 1.904e-06/0.01557, allocations: 0 / 261.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.0007583/0.01633, allocations: 0.8146 MB / 262.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.01645, allocations: 332.9 kB / 262.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.01659, allocations: 236.9 kB / 262.9 MB, free: 11.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.01663, allocations: 37.7 kB / 262.9 MB, free: 11.78 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.663e-05/0.01669, allocations: 141.6 kB / 263 MB, free: 11.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.0168, allocations: 182.4 kB / 263.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.01693, allocations: 126.1 kB / 263.3 MB, free: 11.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.529e-05/0.01702, allocations: 358.7 kB / 263.7 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.01721, allocations: 199.3 kB / 263.9 MB, free: 10.76 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.01738, allocations: 200.6 kB / 264.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003961/0.01778, allocations: 492.7 kB / 264.6 MB, free: 10.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.01778, allocations: 0 / 264.6 MB, free: 10.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.000486/0.01827, allocations: 0.5307 MB / 265.1 MB, free: 9.484 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.809e-05/0.01833, allocations: 99.23 kB / 265.2 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.01834, allocations: 4 kB / 265.2 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.01835, allocations: 3.938 kB / 265.2 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003983/0.01875, allocations: 147.8 kB / 265.3 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.01876, allocations: 0 / 265.3 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.01891, allocations: 63.64 kB / 265.4 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-05/0.01897, allocations: 51.92 kB / 265.5 MB, free: 9.109 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.0001822/0.01915, allocations: 245.9 kB / 265.7 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.006e-05/0.01922, allocations: 59.95 kB / 265.8 MB, free: 8.789 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006507/0.01987, allocations: 0.6709 MB / 266.4 MB, free: 8.082 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.01988, allocations: 11.92 kB / 266.4 MB, free: 8.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.01988, allocations: 0 / 266.4 MB, free: 8.07 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.01989, allocations: 0 / 266.4 MB, free: 8.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/0.02019, allocations: 293.9 kB / 266.7 MB, free: 7.766 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.02019, allocations: 4 kB / 266.7 MB, free: 7.762 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003571/0.02055, allocations: 123.8 kB / 266.9 MB, free: 7.641 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.265e-05/0.02058, allocations: 35.64 kB / 266.9 MB, free: 7.605 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.02059, allocations: 4 kB / 266.9 MB, free: 7.602 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.059e-05/0.02063, allocations: 19.98 kB / 266.9 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.02063, allocations: 7.938 kB / 266.9 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.02064, allocations: 0 / 266.9 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009467/0.02158, allocations: 1.015 MB / 267.9 MB, free: 6.5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/0.02165, allocations: 27.98 kB / 268 MB, free: 6.473 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.0218, allocations: 39.97 kB / 268 MB, free: 6.434 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.02192, allocations: 63.83 kB / 268.1 MB, free: 6.371 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.899e-05/0.02198, allocations: 47.92 kB / 268.1 MB, free: 6.324 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.884e-05/0.02205, allocations: 82.7 kB / 268.2 MB, free: 6.238 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02205, allocations: 0 / 268.2 MB, free: 6.238 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000388/0.02243, allocations: 171.7 kB / 268.4 MB, free: 6.07 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.0006664/0.0231, allocations: 387.3 kB / 268.7 MB, free: 5.773 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006767/0.02378, allocations: 0.7249 MB / 269.5 MB, free: 4.992 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.336e-05/0.02379, allocations: 7.984 kB / 269.5 MB, free: 4.984 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003942/0.02418, allocations: 0.4968 MB / 270 MB, free: 4.449 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.02448, allocations: 249.2 kB / 270.2 MB, free: 4.172 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.02566, allocations: 0.9234 MB / 271.1 MB, free: 3.207 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.854e-05/0.02573, allocations: 114.1 kB / 271.2 MB, free: 3.078 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002263/0.02596, allocations: 66.95 kB / 271.3 MB, free: 3.012 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002944/0.02625, allocations: 171.3 kB / 271.5 MB, free: 2.844 MB / 266.7 MB Notification: Performance of SimCode: time 1.333e-06/0.02625, allocations: 0 / 271.5 MB, free: 2.844 MB / 266.7 MB Notification: Performance of Templates: time 0.1498/0.1761, allocations: 9.019 MB / 280.5 MB, free: 18.19 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.543094485066831]