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.001176/0.001176, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001007/0.001007, allocations: 173 kB / 23.02 MB, free: 1.547 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.9325/0.9325, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.01516/0.01516, allocations: 3.154 MB / 263.1 MB, free: 10.07 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.623e-06/1.623e-06, allocations: 0 / 333.4 MB, free: 1.109 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.803e-05/1.966e-05, allocations: 4.984 kB / 333.4 MB, free: 1.105 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.002378/0.002398, allocations: 1.976 MB / 335.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.004383, allocations: 1.503 MB / 336.9 MB, free: 13.61 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/0.004549, allocations: 11.94 kB / 336.9 MB, free: 13.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.004723, allocations: 51.41 kB / 337 MB, free: 13.54 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006369/0.00536, allocations: 270.7 kB / 337.3 MB, free: 13.28 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.0006237/0.005984, allocations: 374.8 kB / 337.6 MB, free: 12.91 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004168/0.006401, allocations: 0.6433 MB / 338.3 MB, free: 12.27 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.006533, allocations: 62.38 kB / 338.3 MB, free: 12.2 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002852/0.006818, allocations: 359.3 kB / 338.7 MB, free: 11.85 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.00702, allocations: 235.4 kB / 338.9 MB, free: 11.62 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.017e-05/0.00708, allocations: 60 kB / 339 MB, free: 11.56 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003742/0.007455, allocations: 383.2 kB / 339.3 MB, free: 11.19 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.369e-05/0.007548, allocations: 139.6 kB / 339.5 MB, free: 11.05 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.007669, allocations: 159.6 kB / 339.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005063/0.008175, allocations: 0.5957 MB / 340.2 MB, free: 10.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.008177, allocations: 0 / 340.2 MB, free: 10.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.008178, allocations: 0 / 340.2 MB, free: 10.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.008183, allocations: 0 / 340.2 MB, free: 10.3 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.00154/0.009723, allocations: 1.853 MB / 342.1 MB, free: 8.387 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.009758, allocations: 8.031 kB / 342.1 MB, free: 8.379 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008487/0.01061, allocations: 220.3 kB / 342.3 MB, free: 8.164 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.011, allocations: 304.1 kB / 342.6 MB, free: 7.836 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.171e-05/0.01106, allocations: 40.81 kB / 342.6 MB, free: 7.797 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.32e-05/0.01113, allocations: 36.33 kB / 342.7 MB, free: 7.762 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008097/0.01194, allocations: 0.4889 MB / 343.2 MB, free: 7.258 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.01195, allocations: 192 / 343.2 MB, free: 7.258 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.349e-05/0.01199, allocations: 12.36 kB / 343.2 MB, free: 7.246 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.012, allocations: 8.375 kB / 343.2 MB, free: 7.238 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006508/0.01265, allocations: 402.4 kB / 343.6 MB, free: 6.832 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.01404, allocations: 0.8921 MB / 344.5 MB, free: 5.902 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007486/0.01479, allocations: 415.4 kB / 344.9 MB, free: 5.473 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003715/0.01516, allocations: 292.3 kB / 345.2 MB, free: 5.172 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.537e-05/0.01519, allocations: 8.312 kB / 345.2 MB, free: 5.164 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006282/0.01582, allocations: 0.6316 MB / 345.8 MB, free: 4.469 MB / 314.7 MB Notification: Performance of pre-optimization done (n=57): time 2.034e-06/0.01582, allocations: 0 / 345.8 MB, free: 4.469 MB / 314.7 MB Notification: Performance of matching and sorting (n=57): time 0.001619/0.01744, allocations: 1.039 MB / 346.8 MB, free: 3.391 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.658e-05/0.01751, allocations: 126.8 kB / 347 MB, free: 3.242 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.01773, allocations: 300.2 kB / 347.3 MB, free: 2.934 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.402e-05/0.01777, allocations: 37.7 kB / 347.3 MB, free: 2.891 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.347e-05/0.01786, allocations: 196 kB / 347.5 MB, free: 2.691 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.018, allocations: 186.5 kB / 347.7 MB, free: 2.508 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.01819, allocations: 139.8 kB / 347.8 MB, free: 2.359 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.01833, allocations: 0.5157 MB / 348.3 MB, free: 1.832 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003515/0.01868, allocations: 248.4 kB / 348.6 MB, free: 1.578 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003417/0.01902, allocations: 252.6 kB / 348.8 MB, free: 1.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006731/0.0197, allocations: 0.5137 MB / 349.3 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.0197, allocations: 0 / 349.3 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001185/0.02089, allocations: 0.6981 MB / 350 MB, free: 52 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.311e-05/0.02096, allocations: 91.36 kB / 350.1 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.02096, allocations: 0 / 350.1 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.02098, allocations: 4 kB / 350.1 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004755/0.02146, allocations: 127.7 kB / 350.2 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.02146, allocations: 4 kB / 350.2 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.02167, allocations: 67.58 kB / 350.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.512e-05/0.02175, allocations: 51.92 kB / 350.4 MB, free: 15.7 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.000228/0.02197, allocations: 293.8 kB / 350.6 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.02209, allocations: 67.7 kB / 350.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/0.02327, allocations: 0.8526 MB / 351.6 MB, free: 14.44 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.02328, allocations: 4 kB / 351.6 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.02328, allocations: 0 / 351.6 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.02329, allocations: 3.984 kB / 351.6 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003908/0.02368, allocations: 384.6 kB / 351.9 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.02368, allocations: 4 kB / 351.9 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004365/0.02412, allocations: 103.8 kB / 352 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.02412, allocations: 0 / 352 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.735e-05/0.02418, allocations: 35.92 kB / 352.1 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.02418, allocations: 0 / 352.1 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.02418, allocations: 3.938 kB / 352.1 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/0.02585, allocations: 1.245 MB / 353.3 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.928e-05/0.02589, allocations: 39.64 kB / 353.4 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.507e-05/0.02598, allocations: 39.86 kB / 353.4 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.02618, allocations: 31.97 kB / 353.4 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/0.02635, allocations: 67.89 kB / 353.5 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.598e-05/0.02642, allocations: 51.92 kB / 353.6 MB, free: 12.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000134/0.02656, allocations: 201.1 kB / 353.8 MB, free: 12.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02656, allocations: 0 / 353.8 MB, free: 12.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004689/0.02702, allocations: 175.6 kB / 353.9 MB, free: 11.97 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.0006594/0.02768, allocations: 360.4 kB / 354.3 MB, free: 11.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.02874, allocations: 0.8212 MB / 355.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.02874, allocations: 0 / 355.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005726/0.02931, allocations: 0.534 MB / 355.6 MB, free: 10.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.02963, allocations: 80.45 kB / 355.7 MB, free: 10.13 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.03093, allocations: 0.9838 MB / 356.7 MB, free: 9.105 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.823e-05/0.03101, allocations: 110.1 kB / 356.8 MB, free: 8.977 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002796/0.03129, allocations: 66.95 kB / 356.9 MB, free: 8.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004031/0.03169, allocations: 56.47 kB / 356.9 MB, free: 8.852 MB / 330.7 MB Notification: Performance of SimCode: time 6.01e-07/0.03169, allocations: 0 / 356.9 MB, free: 8.852 MB / 330.7 MB Notification: Performance of Templates: time 0.01373/0.04542, allocations: 9.161 MB / 366.1 MB, free: 15.78 MB / 346.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=240 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.721512677613646]