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/AdvancedNoise 1.1.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/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/AdvancedNoise 1.1.0-master/package.mo): time 0.03897/0.03898, allocations: 3.901 MB / 19.96 MB, free: 2.859 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.002104/0.002104, allocations: 180.5 kB / 21.6 MB, free: 1.633 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.3/1.3, allocations: 222.9 MB / 246 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 99.48 kB / 297 MB, free: 10.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.001079, allocations: 55.91 kB / 358.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2376, allocations: 50.17 MB / 408.3 MB, free: 32.17 MB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.TimeBasedCorrelations): time 0.002611/0.2403, allocations: 2.099 MB / 410.4 MB, free: 30.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.2423, allocations: 1.522 MB / 411.9 MB, free: 28.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.2424, allocations: 7.938 kB / 411.9 MB, free: 28.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001565/0.2426, allocations: 55.41 kB / 412 MB, free: 28.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005838/0.2432, allocations: 239 kB / 412.2 MB, free: 28.25 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.00058/0.2438, allocations: 327.2 kB / 412.5 MB, free: 27.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003839/0.2442, allocations: 0.624 MB / 413.1 MB, free: 27.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.2444, allocations: 98.02 kB / 413.2 MB, free: 27.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001993/0.2446, allocations: 259.2 kB / 413.5 MB, free: 26.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.2448, allocations: 275.1 kB / 413.8 MB, free: 26.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.837e-05/0.2449, allocations: 68 kB / 413.8 MB, free: 26.61 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000391/0.2453, allocations: 363.4 kB / 414.2 MB, free: 26.26 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.961e-05/0.2454, allocations: 123.6 kB / 414.3 MB, free: 26.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.2455, allocations: 242.9 kB / 414.5 MB, free: 25.9 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005251/0.246, allocations: 0.7034 MB / 415.2 MB, free: 25.2 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2461, allocations: 0 / 415.2 MB, free: 25.2 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2461, allocations: 0 / 415.2 MB, free: 25.2 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.2461, allocations: 3.938 kB / 415.2 MB, free: 25.19 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.002124/0.2482, allocations: 2.454 MB / 417.7 MB, free: 22.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.2482, allocations: 12.03 kB / 417.7 MB, free: 22.65 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.2494, allocations: 168.3 kB / 417.9 MB, free: 22.49 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005233/0.2499, allocations: 367.9 kB / 418.2 MB, free: 22.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.506e-05/0.25, allocations: 32.94 kB / 418.3 MB, free: 22.06 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.124e-05/0.2501, allocations: 44.28 kB / 418.3 MB, free: 22.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009853/0.2511, allocations: 0.564 MB / 418.9 MB, free: 21.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.2511, allocations: 4.188 kB / 418.9 MB, free: 21.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.662e-05/0.2511, allocations: 23.92 kB / 418.9 MB, free: 21.42 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.2511, allocations: 4 kB / 418.9 MB, free: 21.42 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.2525, allocations: 0.6308 MB / 419.5 MB, free: 20.79 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.254, allocations: 1.143 MB / 420.7 MB, free: 19.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.2551, allocations: 0.6399 MB / 421.3 MB, free: 18.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007539/0.2559, allocations: 0.5057 MB / 421.8 MB, free: 18.44 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.132e-05/0.256, allocations: 8.312 kB / 421.8 MB, free: 18.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008967/0.2569, allocations: 0.7493 MB / 422.6 MB, free: 17.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=57): time 2.575e-06/0.2569, allocations: 4 kB / 422.6 MB, free: 17.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=57): time 0.002387/0.2593, allocations: 1.373 MB / 424 MB, free: 16.24 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.2593, allocations: 130.8 kB / 424.1 MB, free: 16.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.2595, allocations: 262.5 kB / 424.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.294e-05/0.2596, allocations: 33.7 kB / 424.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.913e-05/0.2596, allocations: 153 kB / 424.5 MB, free: 15.63 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.421e-05/0.2597, allocations: 177.5 kB / 424.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001874/0.2599, allocations: 122.2 kB / 424.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.554e-05/0.26, allocations: 346.8 kB / 425.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006855/0.2607, allocations: 349 kB / 425.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006799/0.2614, allocations: 349.3 kB / 425.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/0.2627, allocations: 0.8313 MB / 426.7 MB, free: 13.44 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.2628, allocations: 0 / 426.7 MB, free: 13.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001649/0.2644, allocations: 0.9251 MB / 427.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.888e-05/0.2645, allocations: 91.36 kB / 427.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2645, allocations: 8 kB / 427.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2645, allocations: 0 / 427.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006804/0.2652, allocations: 135.8 kB / 427.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.2652, allocations: 4 kB / 427.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003477/0.2656, allocations: 71.48 kB / 427.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.408e-05/0.2657, allocations: 51.92 kB / 427.9 MB, free: 12.12 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.0002571/0.2659, allocations: 291.3 kB / 428.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.984e-05/0.266, allocations: 47.47 kB / 428.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/0.268, allocations: 1.127 MB / 429.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.268, allocations: 4 kB / 429.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.268, allocations: 0 / 429.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.268, allocations: 3.938 kB / 429.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000455/0.2685, allocations: 0.6066 MB / 430 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2685, allocations: 8 kB / 430 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006631/0.2691, allocations: 99.83 kB / 430.1 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.2691, allocations: 0 / 430.1 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.836e-05/0.2692, allocations: 31.98 kB / 430.2 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.2692, allocations: 0 / 430.2 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2692, allocations: 0 / 430.2 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002695/0.2719, allocations: 1.665 MB / 431.8 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.65e-05/0.272, allocations: 124.5 kB / 431.9 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.792e-05/0.2721, allocations: 31.98 kB / 432 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003556/0.2725, allocations: 35.97 kB / 432 MB, free: 7.914 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.2726, allocations: 63.91 kB / 432.1 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.978e-05/0.2727, allocations: 47.94 kB / 432.1 MB, free: 7.805 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001142/0.2728, allocations: 178 kB / 432.3 MB, free: 7.629 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2728, allocations: 0 / 432.3 MB, free: 7.629 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004739/0.2733, allocations: 163.9 kB / 432.4 MB, free: 7.469 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.0005552/0.2739, allocations: 314.4 kB / 432.8 MB, free: 7.199 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002016/0.2759, allocations: 1.282 MB / 434 MB, free: 5.891 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2759, allocations: 0 / 434 MB, free: 5.891 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.2769, allocations: 0.9012 MB / 434.9 MB, free: 4.965 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.2772, allocations: 63.19 kB / 435 MB, free: 4.906 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.2789, allocations: 1.22 MB / 436.2 MB, free: 3.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000183/0.2791, allocations: 0.8043 MB / 437 MB, free: 2.832 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004021/0.2795, allocations: 66.95 kB / 437.1 MB, free: 2.766 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.2796, allocations: 51.41 kB / 437.1 MB, free: 2.715 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2796, allocations: 0 / 437.1 MB, free: 2.715 MB / 302.1 MB Notification: Performance of Templates: time 0.01175/0.2914, allocations: 7.541 MB / 444.7 MB, free: 11.22 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)