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.0007738/0.0007738, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007864/0.0007864, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8706/0.8706, allocations: 177.1 MB / 203.5 MB, free: 5.41 MB / 186.7 MB " [Timeout remaining time 179] 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.01428/0.01428, allocations: 3.137 MB / 263.1 MB, free: 10.13 MB / 250.7 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 1.392e-06/1.392e-06, allocations: 0 / 387 MB, free: 10.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.595e-05, allocations: 5.234 kB / 387 MB, free: 10.55 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.002087/0.002113, allocations: 1.902 MB / 388.9 MB, free: 8.633 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.00408, allocations: 1.483 MB / 390.4 MB, free: 7.145 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.004229, allocations: 7.938 kB / 390.4 MB, free: 7.137 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.004394, allocations: 47.41 kB / 390.4 MB, free: 7.09 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006255/0.005019, allocations: 274.7 kB / 390.7 MB, free: 6.82 MB / 314.7 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.0006408/0.00566, allocations: 366.8 kB / 391.1 MB, free: 6.461 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005206/0.006181, allocations: 0.6472 MB / 391.7 MB, free: 5.812 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.006324, allocations: 66.38 kB / 391.8 MB, free: 5.746 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003528/0.006676, allocations: 355.3 kB / 392.1 MB, free: 5.398 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.006902, allocations: 227.5 kB / 392.3 MB, free: 5.176 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.834e-05/0.00697, allocations: 64 kB / 392.4 MB, free: 5.113 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005164/0.007487, allocations: 391.2 kB / 392.8 MB, free: 4.73 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.007587, allocations: 135.6 kB / 392.9 MB, free: 4.598 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.007711, allocations: 167.6 kB / 393.1 MB, free: 4.434 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007651/0.008476, allocations: 0.7793 MB / 393.9 MB, free: 3.652 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.008479, allocations: 0 / 393.9 MB, free: 3.652 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.008481, allocations: 0 / 393.9 MB, free: 3.652 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.008487, allocations: 4 kB / 393.9 MB, free: 3.648 MB / 314.7 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.002001/0.01049, allocations: 2.381 MB / 396.2 MB, free: 1.215 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.01052, allocations: 15.97 kB / 396.3 MB, free: 1.199 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007573/0.01128, allocations: 168.5 kB / 396.4 MB, free: 1.035 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000439/0.01172, allocations: 312.9 kB / 396.7 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/0.01177, allocations: 32.88 kB / 396.8 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.253e-05/0.01183, allocations: 44.36 kB / 396.8 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.01286, allocations: 0.6451 MB / 397.4 MB, free: 15.97 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.01287, allocations: 192 / 397.4 MB, free: 15.97 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.576e-05/0.01291, allocations: 20.38 kB / 397.5 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.01292, allocations: 4.375 kB / 397.5 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008826/0.0138, allocations: 0.7119 MB / 398.2 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.01499, allocations: 0.9242 MB / 399.1 MB, free: 14.26 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007866/0.01577, allocations: 0.5887 MB / 399.7 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004924/0.01627, allocations: 477.3 kB / 400.2 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/0.0163, allocations: 8.328 kB / 400.2 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006968/0.017, allocations: 0.8174 MB / 401 MB, free: 12.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=57): time 2.224e-06/0.017, allocations: 0 / 401 MB, free: 12.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=57): time 0.001717/0.01872, allocations: 1.542 MB / 402.5 MB, free: 10.7 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.01877, allocations: 130.8 kB / 402.7 MB, free: 10.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.01895, allocations: 253.8 kB / 402.9 MB, free: 10.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/0.01899, allocations: 37.7 kB / 402.9 MB, free: 10.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.275e-05/0.01906, allocations: 157.1 kB / 403.1 MB, free: 10.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.01917, allocations: 186.4 kB / 403.3 MB, free: 9.906 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.01931, allocations: 122.1 kB / 403.4 MB, free: 9.781 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.399e-05/0.0194, allocations: 350.8 kB / 403.7 MB, free: 9.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007457/0.02014, allocations: 436.3 kB / 404.2 MB, free: 8.992 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004709/0.02062, allocations: 432.5 kB / 404.6 MB, free: 8.559 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009048/0.02152, allocations: 0.8388 MB / 405.4 MB, free: 7.691 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.02152, allocations: 0 / 405.4 MB, free: 7.691 MB / 330.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00111/0.02263, allocations: 1.003 MB / 406.4 MB, free: 6.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.216e-05/0.0227, allocations: 95.3 kB / 406.5 MB, free: 6.555 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.0227, allocations: 0 / 406.5 MB, free: 6.555 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.02272, allocations: 4 kB / 406.5 MB, free: 6.551 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003548/0.02307, allocations: 127.8 kB / 406.7 MB, free: 6.426 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.02308, allocations: 7.938 kB / 406.7 MB, free: 6.418 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.02326, allocations: 71.64 kB / 406.7 MB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.659e-05/0.02333, allocations: 51.88 kB / 406.8 MB, free: 6.297 MB / 330.7 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.0002252/0.02356, allocations: 275.1 kB / 407.1 MB, free: 6.008 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.946e-05/0.02362, allocations: 47.7 kB / 407.1 MB, free: 5.961 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/0.025, allocations: 1.2 MB / 408.3 MB, free: 4.723 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.025, allocations: 4 kB / 408.3 MB, free: 4.719 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.02501, allocations: 4 kB / 408.3 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.02502, allocations: 3.984 kB / 408.3 MB, free: 4.711 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003646/0.02538, allocations: 425.2 kB / 408.7 MB, free: 4.266 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.02538, allocations: 0 / 408.7 MB, free: 4.266 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003404/0.02572, allocations: 107.8 kB / 408.8 MB, free: 4.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.02573, allocations: 0 / 408.8 MB, free: 4.16 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.411e-05/0.02577, allocations: 31.91 kB / 408.9 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.02577, allocations: 4 kB / 408.9 MB, free: 4.125 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.02578, allocations: 4 kB / 408.9 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001933/0.02771, allocations: 1.824 MB / 410.7 MB, free: 2.238 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.116e-05/0.02775, allocations: 43.62 kB / 410.7 MB, free: 2.195 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.088e-05/0.02782, allocations: 35.92 kB / 410.8 MB, free: 2.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.02798, allocations: 39.95 kB / 410.8 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.02812, allocations: 63.98 kB / 410.9 MB, free: 2.059 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.42e-05/0.02818, allocations: 51.88 kB / 410.9 MB, free: 2.008 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.02829, allocations: 173.2 kB / 411.1 MB, free: 1.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02829, allocations: 0 / 411.1 MB, free: 1.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006461/0.02893, allocations: 171.8 kB / 411.3 MB, free: 1.672 MB / 330.7 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.0005353/0.02947, allocations: 352.7 kB / 411.6 MB, free: 1.367 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00128/0.03075, allocations: 1.179 MB / 412.8 MB, free: 140 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.03075, allocations: 0 / 412.8 MB, free: 140 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1286/0.1594, allocations: 0.6902 MB / 413.5 MB, free: 38.42 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.1597, allocations: 42.5 kB / 413.5 MB, free: 38.42 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.1613, allocations: 1.171 MB / 414.7 MB, free: 37.96 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.1615, allocations: 207.7 kB / 414.9 MB, free: 37.87 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002092/0.1617, allocations: 53.14 kB / 414.9 MB, free: 37.87 MB / 330.7 MB Notification: Performance of SimCode: time 1.694e-06/0.1617, allocations: 0 / 414.9 MB, free: 37.87 MB / 330.7 MB Notification: Performance of Templates: time 0.01401/0.1757, allocations: 8.49 MB / 423.4 MB, free: 35.8 MB / 330.7 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: 5.966708698309958] Failed to read output from testmodel.py, exit status != 0: 0.18098657205700874 0.18716450399999995 0.17740646899999996 Calling exit ...