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.001002/0.001002, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001087/0.001087, allocations: 194.4 kB / 16.14 MB, free: 6.703 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.263/1.263, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1289/0.1289, allocations: 3.877 MB / 293.8 MB, free: 3.312 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 59.91 kB / 354.8 MB, free: 4.098 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1101, allocations: 50.18 MB / 405 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.003419/0.1136, allocations: 2.062 MB / 407 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002545/0.1162, allocations: 1.562 MB / 408.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.1163, allocations: 7.938 kB / 408.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001766/0.1165, allocations: 35.66 kB / 408.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006079/0.1171, allocations: 211.3 kB / 408.8 MB, free: 13.97 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.000581/0.1177, allocations: 295.5 kB / 409.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004572/0.1182, allocations: 0.5614 MB / 409.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.1184, allocations: 100.2 kB / 409.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002328/0.1186, allocations: 211.2 kB / 410 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/0.1189, allocations: 251 kB / 410.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.155e-05/0.119, allocations: 28 kB / 410.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004856/0.1194, allocations: 319.5 kB / 410.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.1196, allocations: 95.58 kB / 410.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000206/0.1198, allocations: 191 kB / 410.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007002/0.1205, allocations: 0.6976 MB / 411.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1205, allocations: 4 kB / 411.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.1205, allocations: 0 / 411.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.1205, allocations: 0 / 411.6 MB, free: 11.25 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.002986/0.1235, allocations: 2.447 MB / 414 MB, free: 8.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.1236, allocations: 8.031 kB / 414 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/0.1249, allocations: 172.3 kB / 414.2 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006495/0.1256, allocations: 367.9 kB / 414.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.658e-05/0.1257, allocations: 32.94 kB / 414.6 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.742e-05/0.1258, allocations: 44.28 kB / 414.6 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.1269, allocations: 0.568 MB / 415.2 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.127, allocations: 192 / 415.2 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.391e-05/0.127, allocations: 19.92 kB / 415.2 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.127, allocations: 4 kB / 415.2 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/0.1285, allocations: 0.6346 MB / 415.8 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001852/0.1304, allocations: 1.139 MB / 417 MB, free: 5.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.1318, allocations: 0.6909 MB / 417.7 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008576/0.1327, allocations: 0.5096 MB / 418.2 MB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.281e-05/0.1327, allocations: 16.31 kB / 418.2 MB, free: 4.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001093/0.1338, allocations: 0.7481 MB / 418.9 MB, free: 3.629 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.114e-06/0.1339, allocations: 0 / 418.9 MB, free: 3.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=58): time 0.002785/0.1366, allocations: 1.388 MB / 420.3 MB, free: 2.223 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.201e-05/0.1367, allocations: 138.8 kB / 420.5 MB, free: 2.062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.137, allocations: 258.5 kB / 420.7 MB, free: 1.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.147e-05/0.137, allocations: 45.64 kB / 420.8 MB, free: 1.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.74e-05/0.1371, allocations: 153 kB / 420.9 MB, free: 1.594 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.1373, allocations: 173.5 kB / 421.1 MB, free: 1.422 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.1375, allocations: 126.2 kB / 421.2 MB, free: 1.293 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1376, allocations: 350.8 kB / 421.6 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007603/0.1384, allocations: 349 kB / 421.9 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007432/0.1391, allocations: 357.3 kB / 422.2 MB, free: 264 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.198/0.3371, allocations: 0.8276 MB / 423.1 MB, free: 49.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.3371, allocations: 0.75 kB / 423.1 MB, free: 49.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001887/0.339, allocations: 0.9348 MB / 424 MB, free: 49.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.622e-05/0.3391, allocations: 89.55 kB / 424.1 MB, free: 49.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.3391, allocations: 2.969 kB / 424.1 MB, free: 49.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/0.3392, allocations: 0 / 424.1 MB, free: 49.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007676/0.34, allocations: 142.7 kB / 424.2 MB, free: 49.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.34, allocations: 3.281 kB / 424.2 MB, free: 49.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003851/0.3404, allocations: 61.91 kB / 424.3 MB, free: 49.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.976e-05/0.3405, allocations: 47.95 kB / 424.3 MB, free: 49.39 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 (60): * Single equations (assignments): 58 * 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.0003443/0.3408, allocations: 295.5 kB / 424.6 MB, free: 49.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.381e-05/0.3409, allocations: 43.53 kB / 424.7 MB, free: 49.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001963/0.3429, allocations: 1.145 MB / 425.8 MB, free: 49.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3429, allocations: 3.844 kB / 425.8 MB, free: 49.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3429, allocations: 0 / 425.8 MB, free: 49.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3429, allocations: 4.438 kB / 425.8 MB, free: 49.06 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004517/0.3434, allocations: 0.6037 MB / 426.4 MB, free: 48.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3434, allocations: 3.375 kB / 426.4 MB, free: 48.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000679/0.3441, allocations: 113.6 kB / 426.5 MB, free: 48.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3441, allocations: 0 / 426.5 MB, free: 48.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.039e-05/0.3442, allocations: 28.09 kB / 426.6 MB, free: 48.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3442, allocations: 3.312 kB / 426.6 MB, free: 48.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3442, allocations: 0 / 426.6 MB, free: 48.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002675/0.3469, allocations: 1.678 MB / 428.3 MB, free: 48.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.241e-05/0.3469, allocations: 121.1 kB / 428.4 MB, free: 48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.347, allocations: 27.33 kB / 428.4 MB, free: 47.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/0.3474, allocations: 40.42 kB / 428.4 MB, free: 47.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/0.3476, allocations: 67.88 kB / 428.5 MB, free: 47.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.86e-05/0.3477, allocations: 50.16 kB / 428.6 MB, free: 47.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001457/0.3478, allocations: 172.6 kB / 428.7 MB, free: 47.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3478, allocations: 0 / 428.7 MB, free: 47.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005247/0.3484, allocations: 174.2 kB / 428.9 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 (42): * Single equations (assignments): 40 * 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.0006317/0.349, allocations: 328.9 kB / 429.2 MB, free: 47.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002052/0.3511, allocations: 1.241 MB / 430.5 MB, free: 47.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3511, allocations: 0 / 430.5 MB, free: 47.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.3522, allocations: 0.8951 MB / 431.4 MB, free: 46.72 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.3526, allocations: 46.22 kB / 431.4 MB, free: 46.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.3544, allocations: 1.24 MB / 432.6 MB, free: 46.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.3547, allocations: 0.81 MB / 433.4 MB, free: 45.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003945/0.3551, allocations: 68.83 kB / 433.5 MB, free: 45.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.3553, allocations: 39.58 kB / 433.6 MB, free: 45.3 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3553, allocations: 0 / 433.6 MB, free: 45.3 MB / 350.1 MB Notification: Performance of Templates: time 0.01055/0.3658, allocations: 7.349 MB / 440.9 MB, free: 44.7 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)