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.001168/0.001168, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001327/0.001327, allocations: 177.3 kB / 15.94 MB, free: 228 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.455/1.455, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1712/0.1712, allocations: 3.873 MB / 294.9 MB, free: 3.957 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003982/0.0003984, allocations: 8 kB / 356.5 MB, free: 3.57 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1244, allocations: 51.16 MB / 407.7 MB, free: 376 kB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.002512/0.1269, allocations: 1.642 MB / 409.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002896/0.1298, allocations: 1.438 MB / 410.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002335/0.1301, allocations: 7.938 kB / 410.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.1303, allocations: 39.72 kB / 410.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007432/0.1311, allocations: 179.4 kB / 411 MB, free: 13.05 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.0007666/0.1319, allocations: 267.3 kB / 411.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004233/0.1323, allocations: 327.4 kB / 411.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.1325, allocations: 73.45 kB / 411.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000319/0.1328, allocations: 215.3 kB / 411.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003757/0.1332, allocations: 227.1 kB / 412.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.38e-05/0.1333, allocations: 24 kB / 412.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007216/0.1341, allocations: 279.5 kB / 412.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.1342, allocations: 79.72 kB / 412.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.1343, allocations: 93.5 kB / 412.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007493/0.1351, allocations: 0.5187 MB / 413.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1351, allocations: 0 / 413.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.859e-06/0.1351, allocations: 0 / 413.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.1351, allocations: 0 / 413.1 MB, free: 10.96 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.00411/0.1393, allocations: 2.376 MB / 415.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.1393, allocations: 8.031 kB / 415.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/0.1406, allocations: 135.4 kB / 415.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007461/0.1414, allocations: 354.8 kB / 415.9 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.009e-05/0.1414, allocations: 32.56 kB / 416 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.662e-05/0.1415, allocations: 47.89 kB / 416 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.1428, allocations: 0.5752 MB / 416.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.1428, allocations: 3.938 kB / 416.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.035e-05/0.1429, allocations: 16 kB / 416.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.1429, allocations: 11.94 kB / 416.6 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/0.1445, allocations: 0.6464 MB / 417.3 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002277/0.1468, allocations: 1.147 MB / 418.4 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.1485, allocations: 0.7068 MB / 419.1 MB, free: 4.734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.992e-05/0.1486, allocations: 8.328 kB / 419.1 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001357/0.1499, allocations: 0.7598 MB / 419.9 MB, free: 3.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 3.436e-06/0.1499, allocations: 0 / 419.9 MB, free: 3.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=58): time 0.003107/0.1531, allocations: 1.568 MB / 421.4 MB, free: 2.297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.1532, allocations: 138.8 kB / 421.6 MB, free: 2.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/0.1535, allocations: 250.5 kB / 421.8 MB, free: 1.879 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.085e-05/0.1536, allocations: 37.7 kB / 421.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.1537, allocations: 161 kB / 422 MB, free: 1.676 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/0.1539, allocations: 173.5 kB / 422.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.1539, allocations: 12 kB / 422.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.1541, allocations: 346.8 kB / 422.5 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008285/0.155, allocations: 361 kB / 422.9 MB, free: 0.793 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007973/0.1558, allocations: 365.3 kB / 423.2 MB, free: 452 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2222/0.3779, allocations: 448.1 kB / 423.7 MB, free: 46.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.478e-05/0.378, allocations: 0 / 423.7 MB, free: 46.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002803/0.3808, allocations: 0.9435 MB / 424.6 MB, free: 46.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.663e-05/0.3809, allocations: 94.88 kB / 424.7 MB, free: 46.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.381, allocations: 1.438 kB / 424.7 MB, free: 46.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.381, allocations: 6.875 kB / 424.7 MB, free: 46.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007397/0.3817, allocations: 137 kB / 424.9 MB, free: 46.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.3818, allocations: 8.922 kB / 424.9 MB, free: 46.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004091/0.3822, allocations: 84.25 kB / 425 MB, free: 46.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.795e-05/0.3822, allocations: 29.77 kB / 425 MB, free: 46.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 ($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.000344/0.3826, allocations: 286.2 kB / 425.3 MB, free: 46.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-05/0.3827, allocations: 46.28 kB / 425.3 MB, free: 46.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/0.3848, allocations: 1.156 MB / 426.5 MB, free: 46.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.3848, allocations: 6.25 kB / 426.5 MB, free: 46.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.3848, allocations: 0 / 426.5 MB, free: 46.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.3848, allocations: 1.203 kB / 426.5 MB, free: 46.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005124/0.3853, allocations: 0.5949 MB / 427.1 MB, free: 45.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3853, allocations: 3.516 kB / 427.1 MB, free: 45.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006757/0.386, allocations: 115.9 kB / 427.2 MB, free: 45.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.386, allocations: 1.125 kB / 427.2 MB, free: 45.99 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.267e-05/0.3861, allocations: 34.12 kB / 427.2 MB, free: 45.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.3861, allocations: 0 / 427.2 MB, free: 45.99 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3861, allocations: 0 / 427.2 MB, free: 45.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002884/0.389, allocations: 1.69 MB / 428.9 MB, free: 45.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.27e-05/0.3891, allocations: 116.9 kB / 429 MB, free: 45.76 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.3892, allocations: 31.89 kB / 429.1 MB, free: 45.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003651/0.3896, allocations: 56.31 kB / 429.1 MB, free: 45.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.3897, allocations: 58.66 kB / 429.2 MB, free: 45.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.059e-05/0.3898, allocations: 35.89 kB / 429.2 MB, free: 45.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001408/0.39, allocations: 170.5 kB / 429.4 MB, free: 45.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.39, allocations: 0 / 429.4 MB, free: 45.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005812/0.3905, allocations: 174.1 kB / 429.5 MB, free: 45.66 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.0007086/0.3913, allocations: 312.9 kB / 429.8 MB, free: 45.56 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002158/0.3934, allocations: 1.26 MB / 431.1 MB, free: 45.42 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3934, allocations: 0 / 431.1 MB, free: 45.42 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.3945, allocations: 0.9112 MB / 432 MB, free: 45.17 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.3948, allocations: 25.97 kB / 432 MB, free: 45.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.3966, allocations: 1.215 MB / 433.3 MB, free: 44.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.3968, allocations: 0.8186 MB / 434.1 MB, free: 43.81 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003886/0.3972, allocations: 76.5 kB / 434.1 MB, free: 43.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.3974, allocations: 43.72 kB / 434.2 MB, free: 43.77 MB / 350.1 MB Notification: Performance of SimCode: time 1.262e-06/0.3974, allocations: 0 / 434.2 MB, free: 43.77 MB / 350.1 MB Notification: Performance of Templates: time 0.0119/0.4093, allocations: 7.13 MB / 441.3 MB, free: 43.16 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: