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.004366/0.004366, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001107/0.001107, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02419/0.02419, allocations: 3.91 MB / 294.4 MB, free: 10.98 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 63.91 kB / 406.9 MB, free: 28.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07438/0.07553, allocations: 50.18 MB / 457.1 MB, free: 9.988 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.002766/0.07833, allocations: 1.98 MB / 459.1 MB, free: 7.992 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002369/0.08072, allocations: 1.507 MB / 460.6 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001827/0.08092, allocations: 7.938 kB / 460.6 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001714/0.0811, allocations: 55.39 kB / 460.6 MB, free: 6.418 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007172/0.08184, allocations: 258.9 kB / 460.9 MB, free: 6.164 MB / 334.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.0007556/0.08261, allocations: 347.2 kB / 461.2 MB, free: 5.824 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005734/0.08319, allocations: 0.6279 MB / 461.9 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.08337, allocations: 97.95 kB / 462 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002924/0.08367, allocations: 255.2 kB / 462.2 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003083/0.08399, allocations: 275.1 kB / 462.5 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.0841, allocations: 64 kB / 462.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005308/0.08464, allocations: 347.5 kB / 462.9 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.08477, allocations: 135.6 kB / 463 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002087/0.08499, allocations: 234.9 kB / 463.2 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007458/0.08574, allocations: 0.7163 MB / 464 MB, free: 3.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.08576, allocations: 4 kB / 464 MB, free: 3.086 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.08576, allocations: 0 / 464 MB, free: 3.086 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.08578, allocations: 0 / 464 MB, free: 3.086 MB / 334.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.002702/0.08849, allocations: 2.492 MB / 466.5 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.08853, allocations: 15.97 kB / 466.5 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.08975, allocations: 160.5 kB / 466.6 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006385/0.0904, allocations: 384.1 kB / 467 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.68e-05/0.09047, allocations: 32.94 kB / 467 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.574e-05/0.09056, allocations: 36.38 kB / 467.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.09175, allocations: 0.5718 MB / 467.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.09177, allocations: 4.188 kB / 467.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.104e-05/0.09183, allocations: 15.94 kB / 467.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.09184, allocations: 12 kB / 467.7 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001455/0.0933, allocations: 0.6229 MB / 468.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.09509, allocations: 1.143 MB / 469.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.09634, allocations: 0.6438 MB / 470.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008748/0.09722, allocations: 0.5056 MB / 470.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.882e-05/0.09728, allocations: 12.31 kB / 470.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001086/0.09838, allocations: 0.7481 MB / 471.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=57): time 1.753e-06/0.09839, allocations: 0 / 471.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.002712/0.1011, allocations: 1.381 MB / 472.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/0.1012, allocations: 134.8 kB / 472.9 MB, free: 9.922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/0.1014, allocations: 250.6 kB / 473.1 MB, free: 9.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.598e-05/0.1015, allocations: 37.7 kB / 473.1 MB, free: 9.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.647e-05/0.1016, allocations: 161.1 kB / 473.3 MB, free: 9.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.1017, allocations: 174.5 kB / 473.5 MB, free: 9.293 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.1019, allocations: 134.2 kB / 473.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.102, allocations: 346.8 kB / 473.9 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007634/0.1028, allocations: 341 kB / 474.3 MB, free: 8.477 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000766/0.1036, allocations: 361.3 kB / 474.6 MB, free: 8.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001557/0.1052, allocations: 0.8235 MB / 475.4 MB, free: 7.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1052, allocations: 0 / 475.4 MB, free: 7.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00181/0.107, allocations: 0.9254 MB / 476.4 MB, free: 6.328 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.975e-05/0.1071, allocations: 91.38 kB / 476.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1071, allocations: 0 / 476.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1071, allocations: 7.984 kB / 476.5 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006982/0.1078, allocations: 131.8 kB / 476.6 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.1078, allocations: 3.984 kB / 476.6 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/0.1082, allocations: 67.64 kB / 476.7 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-05/0.1083, allocations: 55.86 kB / 476.7 MB, free: 5.965 MB / 350.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.0002996/0.1086, allocations: 299.7 kB / 477 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.936e-05/0.1087, allocations: 43.77 kB / 477.1 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/0.1109, allocations: 1.131 MB / 478.2 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.1109, allocations: 4 kB / 478.2 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1109, allocations: 0 / 478.2 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.1109, allocations: 7.984 kB / 478.2 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005783/0.1115, allocations: 0.5912 MB / 478.8 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1115, allocations: 0 / 478.8 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006916/0.1122, allocations: 111.8 kB / 478.9 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.1122, allocations: 0 / 478.9 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-05/0.1123, allocations: 31.97 kB / 478.9 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.1123, allocations: 0 / 478.9 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1123, allocations: 0 / 478.9 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003041/0.1154, allocations: 1.669 MB / 480.6 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.673e-05/0.1155, allocations: 116.8 kB / 480.7 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.1156, allocations: 31.98 kB / 480.7 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003609/0.1159, allocations: 39.95 kB / 480.8 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.1161, allocations: 59.92 kB / 480.8 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.825e-05/0.1162, allocations: 55.91 kB / 480.9 MB, free: 1.641 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001494/0.1164, allocations: 174 kB / 481.1 MB, free: 1.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1164, allocations: 7.938 kB / 481.1 MB, free: 1.465 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005198/0.1169, allocations: 167.8 kB / 481.2 MB, free: 1.301 MB / 350.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.000619/0.1175, allocations: 330.4 kB / 481.6 MB, free: 1.016 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002165/0.1197, allocations: 1.228 MB / 482.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1197, allocations: 0 / 482.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00125/0.121, allocations: 0.9011 MB / 483.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.1213, allocations: 42.53 kB / 483.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.1232, allocations: 1.101 MB / 484.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.1236, allocations: 0.8004 MB / 485.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003583/0.124, allocations: 78.88 kB / 485.7 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.1241, allocations: 47.41 kB / 485.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1242, allocations: 0 / 485.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of Templates: time 0.01295/0.1371, allocations: 7.917 MB / 493.7 MB, free: 4.844 MB / 366.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)