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.00173/0.00173, allocations: 78.17 kB / 19.76 MB, free: 2.031 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.001413/0.001413, allocations: 161 kB / 23.01 MB, free: 4.945 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.432/1.432, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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.0263/0.0263, allocations: 3.157 MB / 262.9 MB, free: 13.65 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.002062/0.002062, allocations: 63.91 kB / 386.8 MB, free: 1.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1289, allocations: 54.11 MB / 440.9 MB, free: 11.3 MB / 414.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.004706/0.1336, allocations: 1.902 MB / 442.8 MB, free: 9.383 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004072/0.1377, allocations: 1.48 MB / 444.2 MB, free: 7.898 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/0.1379, allocations: 7.938 kB / 444.3 MB, free: 7.891 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.1381, allocations: 47.41 kB / 444.3 MB, free: 7.844 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001088/0.1392, allocations: 267 kB / 444.6 MB, free: 7.582 MB / 414.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.001274/0.1405, allocations: 371 kB / 444.9 MB, free: 7.219 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001072/0.1415, allocations: 0.6395 MB / 445.6 MB, free: 6.578 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002242/0.1418, allocations: 66.38 kB / 445.6 MB, free: 6.508 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004598/0.1422, allocations: 263.2 kB / 445.9 MB, free: 6.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004972/0.1427, allocations: 251 kB / 446.1 MB, free: 6.004 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.1429, allocations: 64 kB / 446.2 MB, free: 5.941 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001/0.1439, allocations: 395.4 kB / 446.6 MB, free: 5.555 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.1441, allocations: 127.6 kB / 446.7 MB, free: 5.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003178/0.1444, allocations: 191.2 kB / 446.9 MB, free: 5.242 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001289/0.1457, allocations: 0.7242 MB / 447.6 MB, free: 4.516 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1457, allocations: 3.938 kB / 447.6 MB, free: 4.512 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1457, allocations: 0 / 447.6 MB, free: 4.512 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.529e-05/0.1457, allocations: 0 / 447.6 MB, free: 4.512 MB / 414.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.004474/0.1502, allocations: 2.385 MB / 450 MB, free: 2.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.1502, allocations: 12.03 kB / 450 MB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001976/0.1522, allocations: 172.5 kB / 450.2 MB, free: 1.891 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009965/0.1532, allocations: 305.8 kB / 450.5 MB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-05/0.1533, allocations: 36.86 kB / 450.5 MB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.1534, allocations: 44.33 kB / 450.6 MB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/0.1553, allocations: 0.6412 MB / 451.2 MB, free: 0.832 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.1553, allocations: 192 / 451.2 MB, free: 0.832 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.438e-05/0.1554, allocations: 23.94 kB / 451.2 MB, free: 0.8086 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.1554, allocations: 7.938 kB / 451.2 MB, free: 0.8008 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002413/0.1578, allocations: 0.7042 MB / 451.9 MB, free: 84 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002872/0.1607, allocations: 0.9318 MB / 452.9 MB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001999/0.1627, allocations: 0.5886 MB / 453.5 MB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009376/0.1636, allocations: 485.3 kB / 453.9 MB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.185e-05/0.1637, allocations: 4.328 kB / 453.9 MB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001952/0.1656, allocations: 0.8175 MB / 454.8 MB, free: 13.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 3.987e-06/0.1656, allocations: 0 / 454.8 MB, free: 13.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.004983/0.1706, allocations: 1.546 MB / 456.3 MB, free: 11.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/0.1708, allocations: 130.8 kB / 456.4 MB, free: 11.4 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004231/0.1712, allocations: 249.9 kB / 456.7 MB, free: 11.15 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.33e-05/0.1713, allocations: 37.7 kB / 456.7 MB, free: 11.11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.1714, allocations: 157.1 kB / 456.9 MB, free: 10.95 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002437/0.1717, allocations: 182.4 kB / 457 MB, free: 10.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003422/0.172, allocations: 122.1 kB / 457.2 MB, free: 10.64 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002514/0.1723, allocations: 354.8 kB / 457.5 MB, free: 10.29 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/0.1737, allocations: 436.3 kB / 457.9 MB, free: 9.848 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/0.1751, allocations: 432.5 kB / 458.4 MB, free: 9.414 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002577/0.1777, allocations: 0.835 MB / 459.2 MB, free: 8.555 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1777, allocations: 0 / 459.2 MB, free: 8.555 MB / 430.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003061/0.1808, allocations: 1.01 MB / 460.2 MB, free: 7.512 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.1809, allocations: 87.38 kB / 460.3 MB, free: 7.414 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.1809, allocations: 0 / 460.3 MB, free: 7.414 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.767e-05/0.1809, allocations: 7.984 kB / 460.3 MB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.182, allocations: 123.8 kB / 460.4 MB, free: 7.285 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/0.182, allocations: 4 kB / 460.4 MB, free: 7.281 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005869/0.1826, allocations: 79.52 kB / 460.5 MB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001659/0.1828, allocations: 55.92 kB / 460.5 MB, free: 7.148 MB / 430.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.0005232/0.1833, allocations: 279 kB / 460.8 MB, free: 6.852 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/0.1835, allocations: 43.77 kB / 460.9 MB, free: 6.809 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00391/0.1874, allocations: 1.2 MB / 462.1 MB, free: 5.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.1874, allocations: 8 kB / 462.1 MB, free: 5.562 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1874, allocations: 0 / 462.1 MB, free: 5.562 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.1874, allocations: 0 / 462.1 MB, free: 5.562 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008706/0.1883, allocations: 421.3 kB / 462.5 MB, free: 5.121 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.1883, allocations: 3.938 kB / 462.5 MB, free: 5.117 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.1893, allocations: 107.8 kB / 462.6 MB, free: 5.012 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/0.1893, allocations: 0 / 462.6 MB, free: 5.012 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/0.1894, allocations: 27.92 kB / 462.6 MB, free: 4.984 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.876e-06/0.1894, allocations: 4 kB / 462.6 MB, free: 4.98 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1894, allocations: 4 kB / 462.6 MB, free: 4.977 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005462/0.1949, allocations: 1.827 MB / 464.5 MB, free: 3.094 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.195, allocations: 51.52 kB / 464.5 MB, free: 3.043 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/0.1952, allocations: 27.98 kB / 464.5 MB, free: 3.016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005859/0.1957, allocations: 43.95 kB / 464.6 MB, free: 2.973 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002593/0.196, allocations: 55.91 kB / 464.6 MB, free: 2.918 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002043/0.1962, allocations: 55.92 kB / 464.7 MB, free: 2.863 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001958/0.1964, allocations: 169.3 kB / 464.8 MB, free: 2.695 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1964, allocations: 3.938 kB / 464.9 MB, free: 2.691 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008853/0.1973, allocations: 171.8 kB / 465 MB, free: 2.523 MB / 430.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.001254/0.1985, allocations: 337.1 kB / 465.4 MB, free: 2.238 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003291/0.2018, allocations: 1.187 MB / 466.5 MB, free: 1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2018, allocations: 0 / 466.5 MB, free: 1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001712/0.2036, allocations: 0.6897 MB / 467.2 MB, free: 280 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005022/0.2041, allocations: 59.33 kB / 467.3 MB, free: 224 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003041/0.2071, allocations: 1.195 MB / 468.5 MB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.2074, allocations: 200 kB / 468.7 MB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006381/0.208, allocations: 74.94 kB / 468.7 MB, free: 14.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002801/0.2083, allocations: 44.47 kB / 468.8 MB, free: 14.65 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2083, allocations: 3.938 kB / 468.8 MB, free: 14.65 MB / 446.1 MB Notification: Performance of Templates: time 0.0236/0.2319, allocations: 8.251 MB / 477 MB, free: 6.465 MB / 446.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 -s ida -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.872033967985772] Failed to read output from testmodel.py, exit status != 0: 0.24248340807389468 0.420287159 0.271970991 Calling exit ...