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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) Using package AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AdvancedNoise.Examples.TimeBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations") translateModel(AdvancedNoise.Examples.TimeBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 102.4 kB / 16.35 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 191 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02571/0.02571, allocations: 3.908 MB / 295.1 MB, free: 11.02 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 71.88 kB / 356.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1971, allocations: 50.17 MB / 407.1 MB, free: 31.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.00248/0.1996, allocations: 1.996 MB / 409.1 MB, free: 29.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001929/0.2015, allocations: 1.51 MB / 410.6 MB, free: 28.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.2017, allocations: 3.938 kB / 410.6 MB, free: 28.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001444/0.2018, allocations: 51.41 kB / 410.6 MB, free: 28.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005587/0.2024, allocations: 252.2 kB / 410.9 MB, free: 28.13 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0005116/0.2029, allocations: 343 kB / 411.2 MB, free: 27.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003852/0.2033, allocations: 0.6395 MB / 411.9 MB, free: 27.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.2035, allocations: 86.03 kB / 412 MB, free: 27.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.2037, allocations: 259.2 kB / 412.2 MB, free: 26.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.2039, allocations: 279 kB / 412.5 MB, free: 26.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.494e-05/0.204, allocations: 64 kB / 412.5 MB, free: 26.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003596/0.2043, allocations: 343.6 kB / 412.9 MB, free: 26.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.335e-05/0.2044, allocations: 135 kB / 413 MB, free: 26.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.2046, allocations: 242.9 kB / 413.2 MB, free: 25.78 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004971/0.2051, allocations: 0.7089 MB / 414 MB, free: 25.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.2051, allocations: 0 / 414 MB, free: 25.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2051, allocations: 0 / 414 MB, free: 25.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.2051, allocations: 0 / 414 MB, free: 25.07 MB / 302.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.002087/0.2072, allocations: 2.456 MB / 416.4 MB, free: 22.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.2072, allocations: 8.031 kB / 416.4 MB, free: 22.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.2084, allocations: 172.2 kB / 416.6 MB, free: 22.37 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005223/0.2089, allocations: 364 kB / 416.9 MB, free: 21.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.607e-05/0.209, allocations: 44.81 kB / 417 MB, free: 21.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.063e-05/0.209, allocations: 44.28 kB / 417 MB, free: 21.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009503/0.21, allocations: 0.5641 MB / 417.6 MB, free: 21.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.21, allocations: 192 / 417.6 MB, free: 21.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.483e-05/0.2101, allocations: 19.94 kB / 417.6 MB, free: 21.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.2101, allocations: 4 kB / 417.6 MB, free: 21.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.2113, allocations: 0.6308 MB / 418.2 MB, free: 20.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.2128, allocations: 1.135 MB / 419.4 MB, free: 19.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.2139, allocations: 0.6459 MB / 420 MB, free: 18.83 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006886/0.2146, allocations: 0.5018 MB / 420.5 MB, free: 18.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.661e-05/0.2146, allocations: 12.31 kB / 420.5 MB, free: 18.31 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008657/0.2155, allocations: 0.748 MB / 421.3 MB, free: 17.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=57): time 1.853e-06/0.2155, allocations: 4 kB / 421.3 MB, free: 17.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=57): time 0.002278/0.2178, allocations: 1.373 MB / 422.7 MB, free: 16.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.2179, allocations: 134.8 kB / 422.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.218, allocations: 250.5 kB / 423 MB, free: 15.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.263e-05/0.2181, allocations: 37.7 kB / 423.1 MB, free: 15.67 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.2181, allocations: 153.1 kB / 423.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.1e-05/0.2182, allocations: 177.5 kB / 423.4 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/0.2184, allocations: 118.2 kB / 423.5 MB, free: 15.22 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.073e-05/0.2185, allocations: 354.8 kB / 423.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006624/0.2192, allocations: 349 kB / 424.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006454/0.2198, allocations: 353.3 kB / 424.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.2211, allocations: 0.8313 MB / 425.4 MB, free: 13.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2211, allocations: 0 / 425.4 MB, free: 13.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001509/0.2226, allocations: 0.9174 MB / 426.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.577e-05/0.2227, allocations: 95.36 kB / 426.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.2227, allocations: 0 / 426.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.2227, allocations: 4 kB / 426.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006916/0.2234, allocations: 135.8 kB / 426.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.2234, allocations: 4 kB / 426.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000346/0.2238, allocations: 67.44 kB / 426.6 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.763e-05/0.2238, allocations: 51.92 kB / 426.6 MB, free: 12.02 MB / 302.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.0002263/0.2241, allocations: 287.8 kB / 426.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.467e-05/0.2242, allocations: 51.52 kB / 427 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001802/0.226, allocations: 1.131 MB / 428.1 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.226, allocations: 11.94 kB / 428.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.226, allocations: 0 / 428.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.226, allocations: 3.984 kB / 428.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004262/0.2264, allocations: 0.595 MB / 428.7 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2264, allocations: 4 kB / 428.7 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006714/0.2271, allocations: 103.8 kB / 428.8 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2271, allocations: 4 kB / 428.8 MB, free: 9.738 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.825e-05/0.2272, allocations: 27.97 kB / 428.9 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.2272, allocations: 4 kB / 428.9 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2272, allocations: 4 kB / 428.9 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002444/0.2297, allocations: 1.665 MB / 430.5 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/0.2297, allocations: 116.5 kB / 430.6 MB, free: 7.871 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.176e-05/0.2298, allocations: 31.98 kB / 430.7 MB, free: 7.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003464/0.2302, allocations: 39.95 kB / 430.7 MB, free: 7.801 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.2303, allocations: 59.92 kB / 430.8 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.678e-05/0.2304, allocations: 63.84 kB / 430.8 MB, free: 7.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.2305, allocations: 170 kB / 431 MB, free: 7.512 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2305, allocations: 0 / 431 MB, free: 7.512 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004331/0.231, allocations: 163.9 kB / 431.2 MB, free: 7.352 MB / 302.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.0005175/0.2315, allocations: 326.1 kB / 431.5 MB, free: 7.074 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001652/0.2331, allocations: 1.232 MB / 432.7 MB, free: 5.816 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2332, allocations: 3.938 kB / 432.7 MB, free: 5.812 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009235/0.2341, allocations: 0.8896 MB / 433.6 MB, free: 4.898 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.2344, allocations: 52.36 kB / 433.7 MB, free: 4.848 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.2358, allocations: 1.087 MB / 434.7 MB, free: 3.734 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001651/0.236, allocations: 0.8043 MB / 435.5 MB, free: 2.906 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003036/0.2363, allocations: 78.92 kB / 435.6 MB, free: 2.828 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.2365, allocations: 43.41 kB / 435.7 MB, free: 2.785 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2365, allocations: 0 / 435.7 MB, free: 2.785 MB / 302.1 MB Notification: Performance of Templates: time 0.0111/0.2476, allocations: 7.83 MB / 443.5 MB, free: 11.01 MB / 318.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.makefile (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 gbode -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.TimeBasedCorrelations.pipe 2>&1)