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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001928/0.001928, allocations: 212.5 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.585/1.585, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo): time 0.02804/0.02804, allocations: 3.942 MB / 316.4 MB, free: 15.2 MB / 254.1 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AdvancedNoise.Examples.TimeBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations") translateModel(AdvancedNoise.Examples.TimeBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 71.89 kB / 440.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1234, allocations: 54.16 MB / 494.3 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.003842/0.1272, allocations: 1.897 MB / 496.2 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003382/0.1306, allocations: 1.476 MB / 497.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002702/0.1309, allocations: 7.938 kB / 497.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.1311, allocations: 51.47 kB / 497.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001136/0.1323, allocations: 259 kB / 498 MB, free: 1.266 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.001077/0.1333, allocations: 375 kB / 498.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000923/0.1343, allocations: 0.6473 MB / 499 MB, free: 256 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002284/0.1345, allocations: 58.31 kB / 499.1 MB, free: 192 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005069/0.135, allocations: 255.2 kB / 499.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004974/0.1355, allocations: 263 kB / 499.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000159/0.1356, allocations: 68 kB / 499.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008527/0.1365, allocations: 387.4 kB / 0.4883 GB, free: 15.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001769/0.1367, allocations: 123.6 kB / 0.4884 GB, free: 15.11 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002732/0.1369, allocations: 199.1 kB / 0.4886 GB, free: 14.92 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.1381, allocations: 0.7282 MB / 0.4893 GB, free: 14.19 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1381, allocations: 0 / 0.4893 GB, free: 14.19 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1381, allocations: 4 kB / 0.4893 GB, free: 14.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.593e-05/0.1381, allocations: 0 / 0.4893 GB, free: 14.18 MB / 366.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.003868/0.142, allocations: 2.385 MB / 0.4917 GB, free: 11.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.142, allocations: 8.031 kB / 0.4917 GB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/0.1435, allocations: 164.4 kB / 0.4918 GB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009712/0.1445, allocations: 313.8 kB / 0.4921 GB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.22e-05/0.1446, allocations: 32.88 kB / 0.4922 GB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.1447, allocations: 40.31 kB / 0.4922 GB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.1461, allocations: 0.6451 MB / 0.4928 GB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.1462, allocations: 4.188 kB / 0.4928 GB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.368e-05/0.1462, allocations: 15.94 kB / 0.4929 GB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.1462, allocations: 4 kB / 0.4929 GB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/0.148, allocations: 0.712 MB / 0.4936 GB, free: 9.766 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00214/0.1501, allocations: 0.9318 MB / 0.4945 GB, free: 8.801 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.1516, allocations: 0.5925 MB / 0.495 GB, free: 8.188 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.1526, allocations: 477.2 kB / 0.4955 GB, free: 7.707 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.819e-05/0.1527, allocations: 12.31 kB / 0.4955 GB, free: 7.695 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001517/0.1542, allocations: 0.8213 MB / 0.4963 GB, free: 6.816 MB / 366.1 MB Notification: Performance of pre-optimization done (n=57): time 2.545e-06/0.1542, allocations: 3.938 kB / 0.4963 GB, free: 6.812 MB / 366.1 MB Notification: Performance of matching and sorting (n=57): time 0.003276/0.1575, allocations: 1.539 MB / 0.4978 GB, free: 5.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.276e-05/0.1576, allocations: 126.8 kB / 0.4979 GB, free: 5.082 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.1579, allocations: 249.9 kB / 0.4982 GB, free: 4.828 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.582e-05/0.1579, allocations: 45.69 kB / 0.4982 GB, free: 4.777 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.1581, allocations: 157.2 kB / 0.4984 GB, free: 4.621 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/0.1583, allocations: 178.5 kB / 0.4985 GB, free: 4.445 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002353/0.1585, allocations: 134.1 kB / 0.4987 GB, free: 4.309 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.1587, allocations: 346.8 kB / 0.499 GB, free: 3.961 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009273/0.1596, allocations: 428.3 kB / 0.4994 GB, free: 3.531 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00095/0.1606, allocations: 444.5 kB / 0.4998 GB, free: 3.086 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/0.1623, allocations: 0.8271 MB / 0.5006 GB, free: 2.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1623, allocations: 8 kB / 0.5006 GB, free: 2.223 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002149/0.1645, allocations: 1.003 MB / 0.5016 GB, free: 1.191 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.61e-05/0.1646, allocations: 87.36 kB / 0.5017 GB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.1646, allocations: 4 kB / 0.5017 GB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1646, allocations: 4 kB / 0.5017 GB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000755/0.1653, allocations: 135.8 kB / 0.5018 GB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.1654, allocations: 0 / 0.5018 GB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004117/0.1658, allocations: 75.58 kB / 0.5019 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.1659, allocations: 51.92 kB / 0.502 GB, free: 0.8281 MB / 366.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.0003933/0.1663, allocations: 275.1 kB / 0.5022 GB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.1664, allocations: 43.77 kB / 0.5023 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002479/0.1689, allocations: 1.2 MB / 0.5034 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.1689, allocations: 7.938 kB / 0.5035 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1689, allocations: 4 kB / 0.5035 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.1689, allocations: 7.984 kB / 0.5035 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006049/0.1695, allocations: 413.3 kB / 0.5039 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.1695, allocations: 3.938 kB / 0.5039 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007439/0.1702, allocations: 107.8 kB / 0.504 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.1702, allocations: 3.984 kB / 0.504 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.459e-05/0.1703, allocations: 35.95 kB / 0.504 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1703, allocations: 0 / 0.504 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1703, allocations: 0 / 0.504 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003588/0.1739, allocations: 1.82 MB / 0.5058 GB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.546e-05/0.174, allocations: 43.58 kB / 0.5058 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.1741, allocations: 35.98 kB / 0.5059 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003693/0.1745, allocations: 39.95 kB / 0.5059 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/0.1746, allocations: 63.89 kB / 0.506 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001342/0.1748, allocations: 56.09 kB / 0.506 GB, free: 12.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001884/0.175, allocations: 173.2 kB / 0.5062 GB, free: 12.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.175, allocations: 3.938 kB / 0.5062 GB, free: 12.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006021/0.1756, allocations: 175.7 kB / 0.5063 GB, free: 12.2 MB / 382.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.0008394/0.1764, allocations: 329.8 kB / 0.5067 GB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002325/0.1787, allocations: 1.183 MB / 0.5078 GB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1787, allocations: 0 / 0.5078 GB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001231/0.18, allocations: 0.6897 MB / 0.5085 GB, free: 9.957 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.1803, allocations: 53.48 kB / 0.5085 GB, free: 9.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.1825, allocations: 1.191 MB / 0.5097 GB, free: 8.676 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.1827, allocations: 203.9 kB / 0.5099 GB, free: 8.461 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003766/0.1831, allocations: 70.95 kB / 0.51 GB, free: 8.391 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.1833, allocations: 47.39 kB / 0.51 GB, free: 8.344 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1833, allocations: 0 / 0.51 GB, free: 8.344 MB / 382.1 MB Notification: Performance of Templates: time 0.238/0.4213, allocations: 8.513 MB / 0.5183 GB, free: 37.34 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.019333528354764] Failed to read output from testmodel.py, exit status != 0: 0.4291246011853218 0.44300332600000003 0.30211576100000004 Calling exit ...