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.001315/0.001315, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001623/0.001623, allocations: 193.1 kB / 16.25 MB, free: 6.617 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.379/1.379, allocations: 222.9 MB / 239.9 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1488/0.1488, allocations: 3.894 MB / 294 MB, free: 3.215 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 63.91 kB / 355 MB, free: 3.953 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1035, allocations: 50.18 MB / 405.2 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.003282/0.1068, allocations: 2.062 MB / 407.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002531/0.1094, allocations: 1.507 MB / 408.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.1096, allocations: 4 kB / 408.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001823/0.1098, allocations: 35.66 kB / 408.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007006/0.1105, allocations: 219.4 kB / 409 MB, free: 13.89 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.0007481/0.1112, allocations: 311.5 kB / 409.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005625/0.1118, allocations: 0.6317 MB / 409.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.112, allocations: 94.02 kB / 410 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002494/0.1123, allocations: 259.2 kB / 410.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002681/0.1125, allocations: 279 kB / 410.5 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.096e-05/0.1126, allocations: 64 kB / 410.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004673/0.1131, allocations: 367.5 kB / 410.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.1132, allocations: 127.6 kB / 411.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001982/0.1134, allocations: 234.9 kB / 411.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006982/0.1141, allocations: 0.7133 MB / 412 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1142, allocations: 0 / 412 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1142, allocations: 0 / 412 MB, free: 10.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.1142, allocations: 0 / 412 MB, free: 10.84 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.002812/0.117, allocations: 2.458 MB / 414.5 MB, free: 8.309 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.117, allocations: 8.031 kB / 414.5 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/0.1183, allocations: 167 kB / 414.6 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006024/0.119, allocations: 367.9 kB / 415 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.912e-05/0.119, allocations: 36.92 kB / 415 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.444e-05/0.1191, allocations: 44.28 kB / 415.1 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.1203, allocations: 0.5719 MB / 415.7 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/0.1203, allocations: 4.125 kB / 415.7 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.243e-05/0.1204, allocations: 19.94 kB / 415.7 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1204, allocations: 4 kB / 415.7 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/0.1218, allocations: 0.6347 MB / 416.3 MB, free: 6.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/0.1236, allocations: 1.131 MB / 417.4 MB, free: 5.238 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/0.1249, allocations: 0.6476 MB / 418.1 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008379/0.1258, allocations: 0.4979 MB / 418.6 MB, free: 4.082 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.055e-05/0.1258, allocations: 12.31 kB / 418.6 MB, free: 4.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001147/0.127, allocations: 0.7481 MB / 419.4 MB, free: 3.273 MB / 350.1 MB Notification: Performance of pre-optimization done (n=57): time 3.015e-06/0.127, allocations: 0 / 419.4 MB, free: 3.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.002861/0.1299, allocations: 1.377 MB / 420.7 MB, free: 1.879 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.13, allocations: 134.8 kB / 420.9 MB, free: 1.723 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.1303, allocations: 254.5 kB / 421.1 MB, free: 1.461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.726e-05/0.1304, allocations: 33.7 kB / 421.1 MB, free: 1.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.853e-05/0.1305, allocations: 161 kB / 421.3 MB, free: 1.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.1306, allocations: 169.5 kB / 421.5 MB, free: 1.094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/0.1308, allocations: 134.2 kB / 421.6 MB, free: 0.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.131, allocations: 350.7 kB / 421.9 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007351/0.1317, allocations: 341 kB / 422.3 MB, free: 280 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1758/0.3075, allocations: 355.2 kB / 422.6 MB, free: 49.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002647/0.3102, allocations: 0.8239 MB / 423.4 MB, free: 49.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.3103, allocations: 0 / 423.4 MB, free: 49.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002684/0.313, allocations: 0.9228 MB / 424.4 MB, free: 49.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.749e-05/0.3131, allocations: 97.95 kB / 424.5 MB, free: 49.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.3131, allocations: 0 / 424.5 MB, free: 49.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.831e-05/0.3131, allocations: 3.688 kB / 424.5 MB, free: 49.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.3143, allocations: 129.4 kB / 424.6 MB, free: 49.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.3143, allocations: 3.219 kB / 424.6 MB, free: 49.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000585/0.3149, allocations: 71.33 kB / 424.7 MB, free: 49.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/0.315, allocations: 52.03 kB / 424.7 MB, free: 49.46 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.000456/0.3155, allocations: 294.5 kB / 425 MB, free: 49.28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.3157, allocations: 38.97 kB / 425 MB, free: 49.28 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003034/0.3187, allocations: 1.133 MB / 426.2 MB, free: 49.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.3187, allocations: 3.062 kB / 426.2 MB, free: 49.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.3187, allocations: 0 / 426.2 MB, free: 49.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.3188, allocations: 6.422 kB / 426.2 MB, free: 49.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007483/0.3195, allocations: 0.5915 MB / 426.8 MB, free: 48.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.3195, allocations: 0 / 426.8 MB, free: 48.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.3206, allocations: 113.1 kB / 426.9 MB, free: 48.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.816e-06/0.3206, allocations: 3.75 kB / 426.9 MB, free: 48.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.604e-05/0.3207, allocations: 29.06 kB / 426.9 MB, free: 48.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3207, allocations: 0 / 426.9 MB, free: 48.69 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3208, allocations: 2.875 kB / 426.9 MB, free: 48.69 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004072/0.3248, allocations: 1.667 MB / 428.6 MB, free: 48.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.6e-05/0.3249, allocations: 112.1 kB / 428.7 MB, free: 47.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/0.3251, allocations: 30.02 kB / 428.7 MB, free: 47.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005372/0.3256, allocations: 43.66 kB / 428.8 MB, free: 47.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002264/0.3259, allocations: 62.67 kB / 428.8 MB, free: 47.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/0.326, allocations: 63.48 kB / 428.9 MB, free: 47.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001833/0.3262, allocations: 169 kB / 429.1 MB, free: 47.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3262, allocations: 0 / 429.1 MB, free: 47.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008574/0.3271, allocations: 178.3 kB / 429.2 MB, free: 47.83 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.0008272/0.3279, allocations: 323.5 kB / 429.5 MB, free: 47.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00318/0.3311, allocations: 1.28 MB / 430.8 MB, free: 47.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3311, allocations: 0 / 430.8 MB, free: 47.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001555/0.3327, allocations: 0.8894 MB / 431.7 MB, free: 46.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005059/0.3332, allocations: 42.25 kB / 431.8 MB, free: 46.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/0.3358, allocations: 1.231 MB / 433 MB, free: 46.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.3361, allocations: 0.8032 MB / 433.8 MB, free: 45.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006726/0.3368, allocations: 73.09 kB / 433.9 MB, free: 45.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002461/0.337, allocations: 40.62 kB / 433.9 MB, free: 45.3 MB / 350.1 MB Notification: Performance of SimCode: time 6.52e-07/0.337, allocations: 0 / 433.9 MB, free: 45.3 MB / 350.1 MB Notification: Performance of Templates: time 0.01664/0.3537, allocations: 7.551 MB / 441.5 MB, free: 44.71 MB / 350.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)