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.00115/0.001149, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001469/0.001469, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1446/0.1446, allocations: 3.872 MB / 295 MB, free: 3.984 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003108/0.0003108, allocations: 8 kB / 356.6 MB, free: 3.598 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1018, allocations: 51.18 MB / 407.8 MB, free: 384 kB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.002278/0.1041, allocations: 1.65 MB / 409.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002753/0.1069, allocations: 1.414 MB / 410.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.1071, allocations: 7.938 kB / 410.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.1072, allocations: 31.66 kB / 410.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000725/0.108, allocations: 183.4 kB / 411.1 MB, free: 13.07 MB / 350.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.0006007/0.1086, allocations: 267.5 kB / 411.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005494/0.1092, allocations: 0.5185 MB / 411.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.1093, allocations: 81.42 kB / 411.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002438/0.1096, allocations: 203.3 kB / 412.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003193/0.1099, allocations: 239.1 kB / 412.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.519e-05/0.11, allocations: 20 kB / 412.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004805/0.1105, allocations: 307.5 kB / 412.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.619e-05/0.1106, allocations: 79.66 kB / 412.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.542e-05/0.1107, allocations: 93.5 kB / 412.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005314/0.1112, allocations: 0.5226 MB / 413.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1113, allocations: 3.938 kB / 413.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1113, allocations: 0 / 413.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1113, allocations: 0 / 413.4 MB, free: 10.75 MB / 350.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.00298/0.1143, allocations: 2.379 MB / 415.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.1143, allocations: 8.031 kB / 415.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.1156, allocations: 163.3 kB / 415.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000664/0.1162, allocations: 362.8 kB / 416.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.414e-05/0.1163, allocations: 36.56 kB / 416.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.654e-05/0.1164, allocations: 43.91 kB / 416.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.1176, allocations: 0.5908 MB / 417 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1177, allocations: 0 / 417 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.136e-05/0.1177, allocations: 16 kB / 417 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.1178, allocations: 8 kB / 417 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/0.1192, allocations: 0.6503 MB / 417.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001895/0.1211, allocations: 1.162 MB / 418.8 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/0.1226, allocations: 0.7107 MB / 419.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008819/0.1235, allocations: 0.5213 MB / 420 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.104e-05/0.1236, allocations: 4.328 kB / 420 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001143/0.1247, allocations: 0.7753 MB / 420.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.875e-06/0.1247, allocations: 0 / 420.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=58): time 0.002807/0.1275, allocations: 1.42 MB / 422.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.152e-05/0.1276, allocations: 134.8 kB / 422.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.1279, allocations: 254.5 kB / 422.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.732e-05/0.128, allocations: 33.7 kB / 422.6 MB, free: 1.211 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.1281, allocations: 157 kB / 422.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.1282, allocations: 177.4 kB / 423 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.1283, allocations: 12 kB / 423 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1284, allocations: 346.8 kB / 423.3 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008031/0.1292, allocations: 365 kB / 423.7 MB, free: 168 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2025/0.3318, allocations: 377.4 kB / 424 MB, free: 47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.333, allocations: 447 kB / 424.5 MB, free: 46.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.333, allocations: 1.219 kB / 424.5 MB, free: 46.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001961/0.3349, allocations: 0.9546 MB / 425.4 MB, free: 46.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.3351, allocations: 98.62 kB / 425.5 MB, free: 46.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.3351, allocations: 0 / 425.5 MB, free: 46.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.843e-05/0.3351, allocations: 3.062 kB / 425.5 MB, free: 46.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007249/0.3358, allocations: 143.8 kB / 425.7 MB, free: 46.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.3359, allocations: 1.891 kB / 425.7 MB, free: 46.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003634/0.3362, allocations: 83.59 kB / 425.8 MB, free: 46.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.711e-05/0.3363, allocations: 50.56 kB / 425.8 MB, free: 46.77 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 ($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.0003129/0.3367, allocations: 286.9 kB / 426.1 MB, free: 46.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.141e-05/0.3367, allocations: 40.5 kB / 426.1 MB, free: 46.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002002/0.3387, allocations: 1.167 MB / 427.3 MB, free: 46.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.3388, allocations: 3.312 kB / 427.3 MB, free: 46.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3388, allocations: 3.719 kB / 427.3 MB, free: 46.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.3388, allocations: 4.047 kB / 427.3 MB, free: 46.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005801/0.3394, allocations: 0.6076 MB / 427.9 MB, free: 46.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.3394, allocations: 0.5625 kB / 427.9 MB, free: 46.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000674/0.3401, allocations: 112.6 kB / 428 MB, free: 46.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3401, allocations: 0 / 428 MB, free: 46.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.407e-05/0.3402, allocations: 29.38 kB / 428.1 MB, free: 46.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-06/0.3402, allocations: 3.844 kB / 428.1 MB, free: 46.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.3402, allocations: 0 / 428.1 MB, free: 46.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00276/0.3429, allocations: 1.71 MB / 429.8 MB, free: 46.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.413e-05/0.343, allocations: 122.2 kB / 429.9 MB, free: 46.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.877e-05/0.3431, allocations: 30.3 kB / 429.9 MB, free: 46.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/0.3435, allocations: 49.72 kB / 430 MB, free: 46.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.3436, allocations: 58.67 kB / 430 MB, free: 46.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.992e-05/0.3437, allocations: 52.11 kB / 430.1 MB, free: 46.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.3439, allocations: 173.3 kB / 430.2 MB, free: 45.97 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3439, allocations: 6.781 kB / 430.3 MB, free: 45.97 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005245/0.3444, allocations: 170.6 kB / 430.4 MB, free: 45.96 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 (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.0006757/0.3451, allocations: 333.6 kB / 430.7 MB, free: 45.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002044/0.3471, allocations: 1.267 MB / 432 MB, free: 45.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3471, allocations: 0 / 432 MB, free: 45.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.3482, allocations: 0.9102 MB / 432.9 MB, free: 45.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.3486, allocations: 45.92 kB / 433 MB, free: 45.22 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.3503, allocations: 1.22 MB / 434.2 MB, free: 44.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.3505, allocations: 0.8074 MB / 435 MB, free: 43.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004149/0.3509, allocations: 76.02 kB / 435.1 MB, free: 43.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.3511, allocations: 40.81 kB / 435.1 MB, free: 43.82 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3511, allocations: 0 / 435.1 MB, free: 43.82 MB / 350.1 MB Notification: Performance of Templates: time 0.01046/0.3615, allocations: 7.103 MB / 442.2 MB, free: 43.2 MB / 350.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: