Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02651/0.02651, allocations: 3.939 MB / 308.4 MB, free: 2.996 MB / 238.1 MB " [Timeout remaining time 180] 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.SignalBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations") translateModel(AdvancedNoise.Examples.SignalBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 63.89 kB / 429.4 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3143, allocations: 52.92 MB / 482.3 MB, free: 26.97 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.002769/0.3171, allocations: 2.06 MB / 484.3 MB, free: 25.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002663/0.3197, allocations: 1.694 MB / 486 MB, free: 24.4 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.3198, allocations: 6.875 kB / 486 MB, free: 24.4 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.32, allocations: 49.39 kB / 486.1 MB, free: 24.36 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006378/0.3207, allocations: 255.2 kB / 486.3 MB, free: 24.21 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Generators/QuickXorshift64star/package.mo:6:13-93:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise1.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise1.generator.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Sources/SignalBasedNoise.mo:250:3-261:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise1.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise1.convertRealToIntegers'. [/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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Generators/QuickXorshift64star/package.mo:6:13-93:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise2.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise2.generator.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/Sources/SignalBasedNoise.mo:250:3-261:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise2.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedCorrelations.noise2.convertRealToIntegers'. Notification: Performance of NFTyping.typeClassSections: time 0.0008144/0.3215, allocations: 384.3 kB / 486.7 MB, free: 24.01 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004617/0.3219, allocations: 0.6004 MB / 487.3 MB, free: 23.72 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.3221, allocations: 68.12 kB / 487.4 MB, free: 23.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.3223, allocations: 229.8 kB / 487.6 MB, free: 23.56 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002806/0.3226, allocations: 278.2 kB / 487.9 MB, free: 23.42 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.932e-05/0.3227, allocations: 61.12 kB / 487.9 MB, free: 23.42 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000652/0.3233, allocations: 435.8 kB / 488.4 MB, free: 23.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.3234, allocations: 142.3 kB / 488.5 MB, free: 23.2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.3236, allocations: 216.3 kB / 488.7 MB, free: 23.05 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009417/0.3246, allocations: 0.7587 MB / 489.5 MB, free: 22.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3246, allocations: 0 / 489.5 MB, free: 22.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3246, allocations: 0 / 489.5 MB, free: 22.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.3246, allocations: 2.812 kB / 489.5 MB, free: 22.73 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001273/0.3258, allocations: 0.7239 MB / 490.2 MB, free: 22.14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.3259, allocations: 13.55 kB / 490.2 MB, free: 22.13 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.3271, allocations: 161.4 kB / 490.4 MB, free: 22.11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000662/0.3278, allocations: 371.7 kB / 490.7 MB, free: 21.81 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.639e-05/0.3279, allocations: 35.5 kB / 490.8 MB, free: 21.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.005e-05/0.328, allocations: 44.83 kB / 490.8 MB, free: 21.78 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.3291, allocations: 475.7 kB / 491.3 MB, free: 21.6 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.3291, allocations: 3.188 kB / 491.3 MB, free: 21.6 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.766e-05/0.3291, allocations: 11.94 kB / 491.3 MB, free: 21.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.3291, allocations: 9.094 kB / 491.3 MB, free: 21.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/0.3306, allocations: 0.5188 MB / 491.8 MB, free: 21.42 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002153/0.3327, allocations: 1.186 MB / 493 MB, free: 20.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.3341, allocations: 499.1 kB / 493.5 MB, free: 20.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007086/0.3348, allocations: 263.9 kB / 493.8 MB, free: 20.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.854e-05/0.3349, allocations: 15.67 kB / 493.8 MB, free: 20.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.3349, allocations: 37.67 kB / 493.8 MB, free: 20.37 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 2.765e-06/0.3349, allocations: 0 / 493.8 MB, free: 20.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.00238/0.3373, allocations: 0.8315 MB / 494.6 MB, free: 20.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.3373, allocations: 56.09 kB / 494.7 MB, free: 20 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.3376, allocations: 225.7 kB / 494.9 MB, free: 19.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/0.3376, allocations: 39.89 kB / 495 MB, free: 19.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.681e-05/0.3377, allocations: 161.7 kB / 495.1 MB, free: 19.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.3378, allocations: 171 kB / 495.3 MB, free: 19.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002155/0.3381, allocations: 115 kB / 495.4 MB, free: 19.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.332e-05/0.3381, allocations: 342.7 kB / 495.7 MB, free: 19.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006906/0.3388, allocations: 267 kB / 496 MB, free: 19.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006932/0.3395, allocations: 267.6 kB / 496.2 MB, free: 18.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.3408, allocations: 0.5049 MB / 496.8 MB, free: 18.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3408, allocations: 3.938 kB / 496.8 MB, free: 18.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001614/0.3424, allocations: 0.6708 MB / 497.4 MB, free: 18.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.3424, allocations: 10.19 kB / 497.4 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3424, allocations: 0.5156 kB / 497.4 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.3424, allocations: 2.406 kB / 497.4 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000795/0.3432, allocations: 146.1 kB / 497.6 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.3432, allocations: 3.094 kB / 497.6 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/0.3436, allocations: 61.67 kB / 497.6 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/0.3437, allocations: 68.83 kB / 497.7 MB, free: 18.44 MB / 366.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: 6 (globalSeed.seed,noise2.actualGlobalSeed,globalSeed.id_impure,noise1.actualGlobalSeed,noise2.localSeed,noise1.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * 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.0001993/0.3439, allocations: 166.2 kB / 497.9 MB, free: 18.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.505e-05/0.344, allocations: 30.11 kB / 497.9 MB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001791/0.3458, allocations: 0.6744 MB / 498.6 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.3458, allocations: 8.578 kB / 498.6 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3458, allocations: 1.156 kB / 498.6 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.3458, allocations: 2.438 kB / 498.6 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006671/0.3465, allocations: 0.581 MB / 499.2 MB, free: 17.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3465, allocations: 4.594 kB / 499.2 MB, free: 17.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007808/0.3473, allocations: 123.4 kB / 499.3 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.3473, allocations: 1.156 kB / 499.3 MB, free: 17.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.898e-05/0.3473, allocations: 21.66 kB / 499.3 MB, free: 17.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3473, allocations: 1.406 kB / 499.3 MB, free: 17.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3473, allocations: 0.7031 kB / 499.3 MB, free: 17.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002322/0.3497, allocations: 1.04 MB / 0.4886 GB, free: 17.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.96e-05/0.3497, allocations: 123.7 kB / 0.4888 GB, free: 16.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.326e-05/0.3498, allocations: 8.781 kB / 0.4888 GB, free: 16.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.3502, allocations: 29.33 kB / 0.4888 GB, free: 16.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.3503, allocations: 54.44 kB / 0.4888 GB, free: 16.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/0.3505, allocations: 71.17 kB / 0.4889 GB, free: 16.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001447/0.3506, allocations: 162.3 kB / 0.4891 GB, free: 16.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3506, allocations: 0 / 0.4891 GB, free: 16.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007169/0.3513, allocations: 172.2 kB / 0.4892 GB, free: 16.8 MB / 366.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: 2 (noise1.localSeed,noise2.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008045/0.3521, allocations: 346.5 kB / 0.4896 GB, free: 16.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001637/0.3538, allocations: 0.5787 MB / 0.4901 GB, free: 16.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3538, allocations: 0 / 0.4901 GB, free: 16.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007692/0.3545, allocations: 312.1 kB / 0.4904 GB, free: 16.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.3549, allocations: 30.27 kB / 0.4904 GB, free: 16.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.3566, allocations: 0.8997 MB / 0.4913 GB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.3568, allocations: 0.7995 MB / 0.4921 GB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00039/0.3572, allocations: 94.33 kB / 0.4922 GB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.3574, allocations: 60.17 kB / 0.4923 GB, free: 15.04 MB / 366.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3574, allocations: 0 / 0.4923 GB, free: 15.04 MB / 366.1 MB Notification: Performance of Templates: time 0.01381/0.3712, allocations: 7.362 MB / 0.4994 GB, free: 12 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.makefile [Timeout 660] (rm -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.sim & ./AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations -abortSlowSimulation -alarm=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.486927683465183]