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.001428/0.001428, allocations: 92.7 kB / 19.44 MB, free: 324 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.001703/0.001703, allocations: 161.3 kB / 22.75 MB, free: 1.656 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 1.471/1.471, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 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.02896/0.02896, allocations: 3.156 MB / 262.7 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.894e-06/1.894e-06, allocations: 0 / 332.7 MB, free: 16.37 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.774e-05, allocations: 2.312 kB / 332.7 MB, free: 16.36 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.003284/0.003312, allocations: 1.909 MB / 334.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00319/0.006502, allocations: 1.476 MB / 336.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002011/0.006703, allocations: 3.938 kB / 336.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.006939, allocations: 59.39 kB / 336.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009638/0.007903, allocations: 270.8 kB / 336.4 MB, free: 12.64 MB / 266.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.001066/0.008969, allocations: 358.9 kB / 336.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006637/0.009633, allocations: 0.655 MB / 337.4 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.009825, allocations: 58.38 kB / 337.5 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004787/0.0103, allocations: 351.3 kB / 337.8 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003544/0.01066, allocations: 239.4 kB / 338.1 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.01076, allocations: 64 kB / 338.1 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007078/0.01147, allocations: 387.2 kB / 338.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.01158, allocations: 131.6 kB / 338.6 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.01177, allocations: 163.6 kB / 338.8 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009177/0.01269, allocations: 0.7908 MB / 339.6 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.0127, allocations: 0 / 339.6 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.0127, allocations: 0 / 339.6 MB, free: 9.465 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.0127, allocations: 0 / 339.6 MB, free: 9.465 MB / 266.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.003218/0.01592, allocations: 2.385 MB / 342 MB, free: 7.027 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.01596, allocations: 12.03 kB / 342 MB, free: 7.016 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001842/0.0178, allocations: 204.4 kB / 342.2 MB, free: 6.816 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007969/0.0186, allocations: 313 kB / 342.5 MB, free: 6.484 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.918e-05/0.01867, allocations: 36.88 kB / 342.5 MB, free: 6.449 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.01878, allocations: 36.38 kB / 342.6 MB, free: 6.414 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/0.02041, allocations: 0.6528 MB / 343.2 MB, free: 5.738 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.02042, allocations: 192 / 343.2 MB, free: 5.738 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-05/0.0205, allocations: 16.38 kB / 343.2 MB, free: 5.723 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.02051, allocations: 4.375 kB / 343.2 MB, free: 5.719 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002081/0.02259, allocations: 0.712 MB / 344 MB, free: 4.992 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002378/0.02497, allocations: 0.9398 MB / 344.9 MB, free: 4.023 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/0.02667, allocations: 0.5887 MB / 345.5 MB, free: 3.414 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/0.02778, allocations: 469.4 kB / 345.9 MB, free: 2.941 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.155e-05/0.02785, allocations: 16.31 kB / 346 MB, free: 2.926 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00145/0.0293, allocations: 0.8203 MB / 346.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of pre-optimization done (n=57): time 2.545e-06/0.0293, allocations: 0 / 346.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.004026/0.03332, allocations: 1.558 MB / 348.3 MB, free: 456 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.03339, allocations: 126.8 kB / 348.5 MB, free: 304 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/0.03366, allocations: 257.8 kB / 348.7 MB, free: 40 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.884e-05/0.03376, allocations: 45.72 kB / 348.8 MB, free: 15.98 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.03395, allocations: 157.1 kB / 348.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002808/0.03423, allocations: 182.5 kB / 349.1 MB, free: 15.65 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003564/0.03459, allocations: 122.1 kB / 349.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002755/0.03486, allocations: 346.8 kB / 349.5 MB, free: 15.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001709/0.03657, allocations: 432.3 kB / 350 MB, free: 14.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/0.03798, allocations: 440.5 kB / 350.4 MB, free: 14.3 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002727/0.0407, allocations: 0.8272 MB / 351.2 MB, free: 13.45 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.04071, allocations: 4 kB / 351.2 MB, free: 13.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003399/0.04411, allocations: 1.026 MB / 352.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000154/0.04426, allocations: 91.3 kB / 352.3 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.04428, allocations: 4 kB / 352.3 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/0.0443, allocations: 4 kB / 352.4 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.04551, allocations: 135.8 kB / 352.5 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.04552, allocations: 3.938 kB / 352.5 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006195/0.04614, allocations: 67.64 kB / 352.6 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001704/0.04631, allocations: 47.94 kB / 352.6 MB, free: 12.03 MB / 282.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.0005845/0.0469, allocations: 283 kB / 352.9 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000244/0.04714, allocations: 71.7 kB / 352.9 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003864/0.05101, allocations: 1.196 MB / 354.1 MB, free: 10.42 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.537e-06/0.05101, allocations: 4 kB / 354.1 MB, free: 10.42 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.05102, allocations: 7.938 kB / 354.2 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.05103, allocations: 7.984 kB / 354.2 MB, free: 10.4 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008942/0.05192, allocations: 417.2 kB / 354.6 MB, free: 9.965 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.05193, allocations: 0 / 354.6 MB, free: 9.965 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.05302, allocations: 107.8 kB / 354.7 MB, free: 9.859 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.05303, allocations: 3.938 kB / 354.7 MB, free: 9.855 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001138/0.05314, allocations: 31.92 kB / 354.7 MB, free: 9.824 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.05315, allocations: 0 / 354.7 MB, free: 9.824 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.05315, allocations: 3.984 kB / 354.7 MB, free: 9.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005731/0.05888, allocations: 1.847 MB / 356.6 MB, free: 7.918 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.525e-05/0.05898, allocations: 39.64 kB / 356.6 MB, free: 7.879 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/0.05915, allocations: 39.92 kB / 356.6 MB, free: 7.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000565/0.05971, allocations: 39.95 kB / 356.7 MB, free: 7.801 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002806/0.05999, allocations: 63.89 kB / 356.7 MB, free: 7.738 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001682/0.06016, allocations: 51.97 kB / 356.8 MB, free: 7.688 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002965/0.06046, allocations: 181.2 kB / 357 MB, free: 7.508 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.06046, allocations: 0 / 357 MB, free: 7.508 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001149/0.06161, allocations: 167.8 kB / 357.1 MB, free: 7.344 MB / 282.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.001204/0.06281, allocations: 344.9 kB / 357.5 MB, free: 7.051 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003628/0.06644, allocations: 1.183 MB / 358.7 MB, free: 5.816 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.06644, allocations: 0 / 358.7 MB, free: 5.816 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001945/0.06839, allocations: 0.6936 MB / 359.3 MB, free: 5.086 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006193/0.06901, allocations: 80.44 kB / 359.4 MB, free: 5.008 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003234/0.07224, allocations: 1.175 MB / 360.6 MB, free: 3.789 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.07257, allocations: 204 kB / 360.8 MB, free: 3.574 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005903/0.07316, allocations: 66.95 kB / 360.9 MB, free: 3.508 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/0.07345, allocations: 52.47 kB / 360.9 MB, free: 3.457 MB / 282.7 MB Notification: Performance of SimCode: time 1.082e-06/0.07345, allocations: 0 / 360.9 MB, free: 3.457 MB / 282.7 MB Notification: Performance of Templates: time 0.02392/0.09738, allocations: 8.422 MB / 369.3 MB, free: 11.12 MB / 298.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.258854584069923]