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.00105/0.00105, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006334/0.006334, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.489/1.489, allocations: 223.3 MB / 240.3 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1759/0.1759, allocations: 3.889 MB / 295.3 MB, free: 4.016 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.000335, allocations: 8 kB / 357.2 MB, free: 3.199 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1195, allocations: 51.19 MB / 408.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.002519/0.122, allocations: 1.703 MB / 410.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00284/0.1249, allocations: 1.538 MB / 411.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.1251, allocations: 4 kB / 411.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.1252, allocations: 35.66 kB / 411.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007025/0.1259, allocations: 207.4 kB / 411.9 MB, free: 12.47 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.000702/0.1267, allocations: 291.5 kB / 412.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005173/0.1272, allocations: 0.5692 MB / 412.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.1274, allocations: 86.03 kB / 412.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000259/0.1277, allocations: 203.2 kB / 413 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002584/0.1279, allocations: 243 kB / 413.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.74e-05/0.128, allocations: 20 kB / 413.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005085/0.1285, allocations: 315.5 kB / 413.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.834e-05/0.1286, allocations: 87.64 kB / 413.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002045/0.1288, allocations: 212.6 kB / 413.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007423/0.1296, allocations: 0.6857 MB / 414.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1296, allocations: 0 / 414.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1296, allocations: 0 / 414.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1296, allocations: 0 / 414.6 MB, free: 9.773 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.002947/0.1326, allocations: 2.369 MB / 417 MB, free: 7.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.1326, allocations: 8.031 kB / 417 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.1339, allocations: 168.3 kB / 417.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006395/0.1346, allocations: 375.9 kB / 417.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.118e-05/0.1346, allocations: 32.94 kB / 417.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.446e-05/0.1347, allocations: 44.28 kB / 417.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.1359, allocations: 0.5836 MB / 418.2 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.136, allocations: 192 / 418.2 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.34e-05/0.136, allocations: 15.94 kB / 418.2 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.136, allocations: 8 kB / 418.2 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/0.1376, allocations: 0.6698 MB / 418.8 MB, free: 5.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001986/0.1396, allocations: 1.158 MB / 420 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.1411, allocations: 0.7183 MB / 420.7 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009203/0.1421, allocations: 0.5291 MB / 421.3 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.586e-05/0.1421, allocations: 8.312 kB / 421.3 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00119/0.1433, allocations: 0.7754 MB / 422 MB, free: 2.094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.344e-06/0.1433, allocations: 3.938 kB / 422 MB, free: 2.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=58): time 0.002916/0.1463, allocations: 1.435 MB / 423.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.688e-05/0.1464, allocations: 134.8 kB / 423.6 MB, free: 492 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.1466, allocations: 250.5 kB / 423.9 MB, free: 228 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.386e-05/0.1467, allocations: 41.7 kB / 423.9 MB, free: 180 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.201e-05/0.1468, allocations: 165 kB / 424.1 MB, free: 12 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.206/0.3527, allocations: 160.5 kB / 424.2 MB, free: 47.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.353, allocations: 70.17 kB / 424.3 MB, free: 47.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.3531, allocations: 346.2 kB / 424.6 MB, free: 46.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.3541, allocations: 367.2 kB / 425 MB, free: 46.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/0.3552, allocations: 377.7 kB / 425.3 MB, free: 46.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/0.3568, allocations: 0.8656 MB / 426.2 MB, free: 46.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3568, allocations: 0 / 426.2 MB, free: 46.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001778/0.3586, allocations: 0.9722 MB / 427.2 MB, free: 46.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.509e-05/0.3587, allocations: 91.52 kB / 427.3 MB, free: 46.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3587, allocations: 0 / 427.3 MB, free: 46.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.3587, allocations: 3 kB / 427.3 MB, free: 46.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007156/0.3594, allocations: 143.7 kB / 427.4 MB, free: 46.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.3594, allocations: 7.375 kB / 427.4 MB, free: 46.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/0.3598, allocations: 84.81 kB / 427.5 MB, free: 46.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.443e-05/0.3599, allocations: 47.78 kB / 427.6 MB, free: 46.47 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.0003008/0.3602, allocations: 290 kB / 427.8 MB, free: 46.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.388e-05/0.3603, allocations: 40.31 kB / 427.9 MB, free: 46.28 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002118/0.3625, allocations: 1.175 MB / 429.1 MB, free: 46.17 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.3625, allocations: 4.75 kB / 429.1 MB, free: 46.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3625, allocations: 3.938 kB / 429.1 MB, free: 46.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.3625, allocations: 5.641 kB / 429.1 MB, free: 46.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005224/0.363, allocations: 0.6011 MB / 429.7 MB, free: 45.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.363, allocations: 0 / 429.7 MB, free: 45.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006696/0.3637, allocations: 117.9 kB / 429.8 MB, free: 45.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.3637, allocations: 7.312 kB / 429.8 MB, free: 45.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-05/0.3638, allocations: 26.22 kB / 429.8 MB, free: 45.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.3638, allocations: 0 / 429.8 MB, free: 45.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3638, allocations: 3.938 kB / 429.8 MB, free: 45.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002864/0.3667, allocations: 1.73 MB / 431.5 MB, free: 45.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.257e-05/0.3667, allocations: 117.1 kB / 431.7 MB, free: 45.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.377e-05/0.3668, allocations: 31.81 kB / 431.7 MB, free: 45.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003623/0.3672, allocations: 46.61 kB / 431.7 MB, free: 45.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.3674, allocations: 68.47 kB / 431.8 MB, free: 45.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.946e-05/0.3675, allocations: 58.23 kB / 431.9 MB, free: 45.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001351/0.3676, allocations: 170.6 kB / 432 MB, free: 45.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3676, allocations: 0 / 432 MB, free: 45.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005185/0.3681, allocations: 171 kB / 432.2 MB, free: 45.56 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.0006164/0.3688, allocations: 324.3 kB / 432.5 MB, free: 45.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001875/0.3707, allocations: 1.274 MB / 433.8 MB, free: 44.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3707, allocations: 0 / 433.8 MB, free: 44.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.3717, allocations: 0.9157 MB / 434.7 MB, free: 44.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.372, allocations: 42.62 kB / 434.7 MB, free: 44.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.3736, allocations: 1.267 MB / 436 MB, free: 43.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.3738, allocations: 0.8087 MB / 436.8 MB, free: 43.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003885/0.3742, allocations: 73.84 kB / 436.9 MB, free: 43.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.3744, allocations: 40.7 kB / 436.9 MB, free: 43.03 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3744, allocations: 0 / 436.9 MB, free: 43.03 MB / 350.1 MB Notification: Performance of Templates: time 0.01064/0.3851, allocations: 7.296 MB / 444.2 MB, free: 42.43 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: