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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) 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=20000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations") translateModel(AdvancedNoise.Examples.TimeBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 107.2 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 189.2 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.199/1.199, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02265/0.02265, allocations: 3.908 MB / 294.6 MB, free: 11.27 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 59.91 kB / 355.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1974, allocations: 50.18 MB / 405.8 MB, free: 32.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.002345/0.1998, allocations: 2.07 MB / 407.9 MB, free: 30.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.2016, allocations: 1.488 MB / 409.4 MB, free: 28.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.2017, allocations: 11.81 kB / 409.4 MB, free: 28.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.2019, allocations: 39.66 kB / 409.4 MB, free: 28.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005347/0.2024, allocations: 215.4 kB / 409.6 MB, free: 28.45 MB / 302.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.000482/0.2029, allocations: 314 kB / 409.9 MB, free: 28.15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003566/0.2033, allocations: 0.6317 MB / 410.6 MB, free: 27.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.2034, allocations: 94.02 kB / 410.6 MB, free: 27.42 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.2036, allocations: 259.2 kB / 410.9 MB, free: 27.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/0.2038, allocations: 283 kB / 411.2 MB, free: 26.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.454e-05/0.2039, allocations: 64 kB / 411.2 MB, free: 26.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000354/0.2043, allocations: 367.5 kB / 411.6 MB, free: 26.47 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.643e-05/0.2044, allocations: 127.6 kB / 411.7 MB, free: 26.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.2045, allocations: 230.9 kB / 411.9 MB, free: 26.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003978/0.2049, allocations: 0.5439 MB / 412.5 MB, free: 25.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2049, allocations: 0 / 412.5 MB, free: 25.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2049, allocations: 0 / 412.5 MB, free: 25.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.2049, allocations: 4 kB / 412.5 MB, free: 25.57 MB / 302.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.002042/0.207, allocations: 2.454 MB / 414.9 MB, free: 23.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.207, allocations: 8.031 kB / 415 MB, free: 23.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.2082, allocations: 164.2 kB / 415.1 MB, free: 22.88 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005078/0.2087, allocations: 367.9 kB / 415.5 MB, free: 22.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.458e-05/0.2088, allocations: 36.94 kB / 415.5 MB, free: 22.44 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.001e-05/0.2089, allocations: 40.28 kB / 415.6 MB, free: 22.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009965/0.2099, allocations: 0.5758 MB / 416.1 MB, free: 21.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.2099, allocations: 192 / 416.1 MB, free: 21.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.918e-05/0.2099, allocations: 15.94 kB / 416.1 MB, free: 21.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.21, allocations: 11.98 kB / 416.2 MB, free: 21.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.2112, allocations: 0.6269 MB / 416.8 MB, free: 21.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00153/0.2127, allocations: 1.139 MB / 417.9 MB, free: 19.97 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.2138, allocations: 0.6438 MB / 418.6 MB, free: 19.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000697/0.2145, allocations: 0.5018 MB / 419.1 MB, free: 18.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.275e-05/0.2145, allocations: 4.328 kB / 419.1 MB, free: 18.81 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008865/0.2154, allocations: 0.7558 MB / 419.8 MB, free: 18.01 MB / 302.1 MB Notification: Performance of pre-optimization done (n=57): time 1.873e-06/0.2154, allocations: 4 kB / 419.8 MB, free: 18.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=57): time 0.002328/0.2178, allocations: 1.365 MB / 421.2 MB, free: 16.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.2178, allocations: 138.8 kB / 421.3 MB, free: 16.46 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.218, allocations: 254.5 kB / 421.6 MB, free: 16.2 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.456e-05/0.2181, allocations: 37.7 kB / 421.6 MB, free: 16.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.778e-05/0.2181, allocations: 149.1 kB / 421.8 MB, free: 16.01 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.553e-05/0.2182, allocations: 181.4 kB / 421.9 MB, free: 15.83 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/0.2184, allocations: 118.2 kB / 422.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.727e-05/0.2185, allocations: 346.8 kB / 422.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006592/0.2191, allocations: 353 kB / 422.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006507/0.2198, allocations: 357.3 kB / 423.1 MB, free: 14.67 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.2211, allocations: 0.8274 MB / 423.9 MB, free: 13.81 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.2211, allocations: 0 / 423.9 MB, free: 13.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001518/0.2226, allocations: 0.9212 MB / 424.8 MB, free: 12.87 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.747e-05/0.2227, allocations: 95.36 kB / 424.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2227, allocations: 0 / 424.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.2227, allocations: 8 kB / 424.9 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006933/0.2234, allocations: 131.8 kB / 425.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.2234, allocations: 8 kB / 425.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003577/0.2238, allocations: 67.48 kB / 425.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.499e-05/0.2239, allocations: 47.94 kB / 425.2 MB, free: 12.51 MB / 302.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.0002297/0.2241, allocations: 295.3 kB / 425.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.776e-05/0.2242, allocations: 43.53 kB / 425.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001838/0.2261, allocations: 1.135 MB / 426.7 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.2261, allocations: 7.984 kB / 426.7 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2261, allocations: 0 / 426.7 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.2261, allocations: 0 / 426.7 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000438/0.2265, allocations: 0.6027 MB / 427.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2265, allocations: 4 kB / 427.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006732/0.2272, allocations: 103.8 kB / 427.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.2272, allocations: 4 kB / 427.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-05/0.2273, allocations: 27.92 kB / 427.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2273, allocations: 4 kB / 427.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2273, allocations: 0 / 427.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002802/0.2301, allocations: 1.665 MB / 429.1 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.089e-05/0.2302, allocations: 124.5 kB / 429.2 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.757e-05/0.2303, allocations: 31.98 kB / 429.2 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003618/0.2306, allocations: 35.97 kB / 429.3 MB, free: 8.293 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.2308, allocations: 59.91 kB / 429.3 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.528e-05/0.2309, allocations: 47.94 kB / 429.4 MB, free: 8.188 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001048/0.231, allocations: 182 kB / 429.5 MB, free: 8.004 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.231, allocations: 0 / 429.5 MB, free: 8.004 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004475/0.2315, allocations: 163.9 kB / 429.7 MB, free: 7.844 MB / 302.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.0005513/0.232, allocations: 324.3 kB / 430 MB, free: 7.566 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001882/0.2339, allocations: 1.279 MB / 431.3 MB, free: 6.266 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2339, allocations: 0 / 431.3 MB, free: 6.266 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009432/0.2349, allocations: 0.8934 MB / 432.2 MB, free: 5.348 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.2352, allocations: 56.3 kB / 432.2 MB, free: 5.293 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.2367, allocations: 1.264 MB / 433.5 MB, free: 3.996 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001753/0.2369, allocations: 0.8082 MB / 434.3 MB, free: 3.164 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.2371, allocations: 55.39 kB / 434.4 MB, free: 3.109 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2371, allocations: 0 / 434.4 MB, free: 3.109 MB / 302.1 MB Notification: Performance of Templates: time 0.009439/0.2466, allocations: 8.217 MB / 442.6 MB, free: 10.93 MB / 318.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.makefile (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)