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/AdvancedNoise 1.1.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/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/AdvancedNoise 1.1.0-master/package.mo): time 0.02655/0.02655, allocations: 3.903 MB / 18.87 MB, free: 2.93 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008102/0.0008102, allocations: 172.5 kB / 20.49 MB, free: 1.535 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 223.3 MB / 245.3 MB, free: 5.363 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007851/0.000785, allocations: 99.77 kB / 297.2 MB, free: 6.559 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.000342, allocations: 12 kB / 358.9 MB, free: 8.898 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2287, allocations: 51.17 MB / 410 MB, free: 27.61 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.001608/0.2303, allocations: 1.643 MB / 411.7 MB, free: 25.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00228/0.2326, allocations: 1.41 MB / 413.1 MB, free: 24.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002879/0.2329, allocations: 7.938 kB / 413.1 MB, free: 24.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001892/0.2331, allocations: 39.59 kB / 413.1 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006962/0.2339, allocations: 181.7 kB / 413.3 MB, free: 24.32 MB / 298.7 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.0007216/0.2346, allocations: 265.3 kB / 413.6 MB, free: 24.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004729/0.2351, allocations: 0.5224 MB / 414.1 MB, free: 23.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/0.2353, allocations: 77.31 kB / 414.2 MB, free: 23.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003362/0.2356, allocations: 215.2 kB / 414.4 MB, free: 23.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002973/0.236, allocations: 227.2 kB / 414.6 MB, free: 23.03 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.727e-05/0.2361, allocations: 27.94 kB / 414.6 MB, free: 23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004662/0.2365, allocations: 306.3 kB / 414.9 MB, free: 22.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.166e-05/0.2366, allocations: 79.66 kB / 415 MB, free: 22.63 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.398e-05/0.2367, allocations: 89.52 kB / 415.1 MB, free: 22.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005253/0.2372, allocations: 0.5205 MB / 415.6 MB, free: 22.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2372, allocations: 0 / 415.6 MB, free: 22.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2373, allocations: 3.938 kB / 415.6 MB, free: 22.01 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.635e-05/0.2373, allocations: 4 kB / 415.6 MB, free: 22.01 MB / 298.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.002286/0.2396, allocations: 2.376 MB / 418 MB, free: 19.56 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.2396, allocations: 8.031 kB / 418 MB, free: 19.55 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/0.2409, allocations: 168.2 kB / 418.2 MB, free: 19.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006391/0.2415, allocations: 362.7 kB / 418.5 MB, free: 19 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.597e-05/0.2416, allocations: 36.56 kB / 418.6 MB, free: 18.96 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.2417, allocations: 43.91 kB / 418.6 MB, free: 18.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.2429, allocations: 0.583 MB / 419.2 MB, free: 18.33 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.2429, allocations: 0 / 419.2 MB, free: 18.33 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.535e-05/0.243, allocations: 12 kB / 419.2 MB, free: 18.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.243, allocations: 11.94 kB / 419.2 MB, free: 18.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/0.2445, allocations: 0.662 MB / 419.9 MB, free: 17.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.2464, allocations: 1.155 MB / 421 MB, free: 16.44 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/0.2479, allocations: 0.7107 MB / 421.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008143/0.2487, allocations: 0.5135 MB / 422.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.569e-05/0.2488, allocations: 12.31 kB / 422.3 MB, free: 15.19 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.2498, allocations: 0.7676 MB / 423 MB, free: 14.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=58): time 2.595e-06/0.2498, allocations: 0 / 423 MB, free: 14.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=58): time 0.002649/0.2525, allocations: 1.42 MB / 424.4 MB, free: 12.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.2526, allocations: 134.8 kB / 424.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.2528, allocations: 258.5 kB / 424.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.835e-05/0.2528, allocations: 33.7 kB / 424.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.275e-05/0.2529, allocations: 149.1 kB / 425 MB, free: 12.33 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.253, allocations: 181.4 kB / 425.2 MB, free: 12.15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.253, allocations: 16 kB / 425.2 MB, free: 12.13 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.463e-05/0.2531, allocations: 346.8 kB / 425.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007355/0.2539, allocations: 369 kB / 425.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007397/0.2546, allocations: 369.3 kB / 426.3 MB, free: 11.06 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008032/0.2554, allocations: 446.3 kB / 426.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.2554, allocations: 4 kB / 426.7 MB, free: 10.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001732/0.2572, allocations: 0.9564 MB / 427.7 MB, free: 9.637 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.113e-05/0.2573, allocations: 95.31 kB / 427.8 MB, free: 9.531 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.2573, allocations: 7.984 kB / 427.8 MB, free: 9.523 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.2573, allocations: 4 kB / 427.8 MB, free: 9.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007412/0.2581, allocations: 139.8 kB / 427.9 MB, free: 9.383 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.2581, allocations: 3.953 kB / 427.9 MB, free: 9.379 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004159/0.2585, allocations: 79.5 kB / 428 MB, free: 9.301 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.289e-05/0.2586, allocations: 59.8 kB / 428 MB, free: 9.242 MB / 298.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 ($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,noise1.localSeed,noise1.actualGlobalSeed,globalSeed.id_impure,noise2.localSeed,noise2.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003008/0.2589, allocations: 283.4 kB / 428.3 MB, free: 8.945 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.239e-05/0.259, allocations: 43.53 kB / 428.4 MB, free: 8.902 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002081/0.2611, allocations: 1.166 MB / 429.5 MB, free: 7.711 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.2611, allocations: 8 kB / 429.5 MB, free: 7.703 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2611, allocations: 0 / 429.5 MB, free: 7.703 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.2611, allocations: 7.938 kB / 429.5 MB, free: 7.695 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005043/0.2616, allocations: 0.595 MB / 430.1 MB, free: 7.051 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.2617, allocations: 4 kB / 430.1 MB, free: 7.047 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007323/0.2624, allocations: 119.8 kB / 430.3 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.2624, allocations: 7.984 kB / 430.3 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-05/0.2625, allocations: 27.94 kB / 430.3 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.2625, allocations: 0 / 430.3 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2625, allocations: 0 / 430.3 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002933/0.2654, allocations: 1.704 MB / 432 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.555e-05/0.2655, allocations: 112.6 kB / 432.1 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.2656, allocations: 31.98 kB / 432.1 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004077/0.266, allocations: 60 kB / 432.2 MB, free: 4.938 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.2662, allocations: 55.84 kB / 432.3 MB, free: 4.883 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.709e-05/0.2663, allocations: 63.91 kB / 432.3 MB, free: 4.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001235/0.2664, allocations: 166 kB / 432.5 MB, free: 4.656 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-07/0.2664, allocations: 0 / 432.5 MB, free: 4.656 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005345/0.267, allocations: 175.8 kB / 432.6 MB, free: 4.484 MB / 298.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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006548/0.2676, allocations: 323.1 kB / 433 MB, free: 4.207 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002/0.2696, allocations: 1.267 MB / 434.2 MB, free: 2.918 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2697, allocations: 0 / 434.2 MB, free: 2.918 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.2707, allocations: 0.9052 MB / 435.1 MB, free: 1.988 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.271, allocations: 55.22 kB / 435.2 MB, free: 1.938 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.2727, allocations: 1.213 MB / 436.4 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.273, allocations: 0.8085 MB / 437.2 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004685/0.2735, allocations: 66.97 kB / 437.3 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/0.2737, allocations: 47.39 kB / 437.3 MB, free: 15.75 MB / 314.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2737, allocations: 0 / 437.3 MB, free: 15.75 MB / 314.7 MB Notification: Performance of Templates: time 0.01321/0.2869, allocations: 7.084 MB / 444.4 MB, free: 8.711 MB / 314.7 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)