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] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002393/0.0002393, allocations: 0 / 0, free: 0 / 0 " [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.000192/0.000192, allocations: 0 / 0, free: 0 / 0 " [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.1065/0.1065, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.004747/0.004747, allocations: 0 / 0, free: 0 / 0 " [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: simulate(AdvancedNoise.Examples.TimeBasedCorrelations,startTime=0,stopTime=100,tolerance=1e-06,numberOfIntervals=10000,outputFormat="empty",variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(AdvancedNoise.Examples.TimeBasedCorrelations,startTime=0,stopTime=100,tolerance=1e-06,numberOfIntervals=10000,outputFormat="empty",variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 5.189e-06/5.189e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 6.106e-05/6.624e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.003209/0.003275, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.003887/0.007162, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.000343/0.007505, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.007738, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0009767/0.008715, allocations: 0 / 0, free: 0 / 0 [/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.001088/0.009803, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0006934/0.0105, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.01065, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0005069/0.01115, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0002662/0.01142, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 7.671e-05/0.0115, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0009529/0.01245, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001517/0.0126, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.000201/0.0128, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0009611/0.01376, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 6.828e-05/0.01383, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.655e-06/0.01383, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 7.835e-06/0.01384, allocations: 0 / 0, free: 0 / 0 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.002442/0.01628, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 8.465e-05/0.01637, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007381/0.01711, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.01753, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.424e-05/0.01761, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.01772, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008399/0.01856, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.01858, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.33e-05/0.01865, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.01866, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004884/0.01915, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.02051, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0005752/0.02108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.000265/0.02135, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 3.711e-05/0.02138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005844/0.02197, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=57): time 7.193e-06/0.02198, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=57): time 0.0009944/0.02297, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.02303, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.02318, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 8.95e-05/0.02327, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 6.627e-05/0.02333, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.02348, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.02367, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 3.732e-05/0.02371, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.02395, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.02416, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0005425/0.0247, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.0247, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=77) (initialization): time 0.0006487/0.02535, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 6.786e-05/0.02542, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.02543, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.02545, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000509/0.02596, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.02597, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.02617, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.02629, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 26 (noise1.localSeed,globalSeed.seed,noise1.actualGlobalSeed,globalSeed.id_impure,noise2.localSeed,noise2.actualGlobalSeed,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.0003106/0.0266, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.02672, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009506/0.02767, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.02768, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.02769, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.02769, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000447/0.02814, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.02814, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004434/0.02859, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.0286, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006092/0.03469, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/0.0347, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.0347, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.03595, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 6.575e-05/0.03602, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001724/0.03619, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.0364, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002386/0.03664, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/0.03676, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 7.473e-05/0.03684, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 6.692e-06/0.03684, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.006792/0.04364, allocations: 0 / 0, free: 0 / 0 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.0009543/0.04459, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.001026/0.04562, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.04562, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0004477/0.04607, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.04648, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007364/0.05385, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 9.179e-05/0.05394, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0002303/0.05417, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004293/0.0546, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 2.885e-05/0.05463, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.009174/0.0638, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 899] [Calling sys.exit(0), Time elapsed: 1.1947322399355471]