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.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.001412/0.001412, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001789/0.001789, allocations: 209.9 kB / 22.24 MB, free: 4.855 MB / 14.72 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.612/1.612, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 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.02856/0.02856, allocations: 3.931 MB / 316.4 MB, free: 15.12 MB / 254.1 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.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.002001/0.002001, allocations: 60.09 kB / 440.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1215, allocations: 54.16 MB / 494.3 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.003992/0.1255, allocations: 1.927 MB / 496.3 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003343/0.1288, allocations: 1.612 MB / 497.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.129, allocations: 7.938 kB / 497.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.1292, allocations: 47.47 kB / 497.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008412/0.13, allocations: 255 kB / 498.2 MB, free: 1.043 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 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 master/Sources/SignalBasedNoise.mo:248:3-259: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.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 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 master/Sources/SignalBasedNoise.mo:248:3-259: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.001054/0.1311, allocations: 410.8 kB / 498.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007102/0.1318, allocations: 0.5927 MB / 499.2 MB, free: 48 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002416/0.132, allocations: 71.78 kB / 499.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002719/0.1323, allocations: 227.3 kB / 499.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000346/0.1326, allocations: 259 kB / 499.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.726e-05/0.1327, allocations: 68 kB / 499.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008005/0.1335, allocations: 459.3 kB / 0.4885 GB, free: 14.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.1337, allocations: 143.6 kB / 0.4886 GB, free: 14.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001986/0.1339, allocations: 183.1 kB / 0.4888 GB, free: 14.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.135, allocations: 0.7632 MB / 0.4896 GB, free: 13.9 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.135, allocations: 0 / 0.4896 GB, free: 13.9 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.135, allocations: 0 / 0.4896 GB, free: 13.9 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.135, allocations: 0 / 0.4896 GB, free: 13.9 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.00156/0.1365, allocations: 0.6473 MB / 0.4902 GB, free: 13.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.1366, allocations: 12.03 kB / 0.4902 GB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/0.1379, allocations: 164.4 kB / 0.4904 GB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007681/0.1387, allocations: 313.4 kB / 0.4907 GB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.56e-05/0.1387, allocations: 33.03 kB / 0.4907 GB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.1388, allocations: 48.31 kB / 0.4907 GB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.14, allocations: 474.3 kB / 0.4912 GB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.14, allocations: 192 / 0.4912 GB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.297e-05/0.14, allocations: 11.94 kB / 0.4912 GB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.1401, allocations: 8 kB / 0.4912 GB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.1415, allocations: 0.5178 MB / 0.4917 GB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002395/0.1439, allocations: 0.9985 MB / 0.4927 GB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.1455, allocations: 494.9 kB / 0.4932 GB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007428/0.1462, allocations: 265.5 kB / 0.4934 GB, free: 9.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.476e-05/0.1463, allocations: 4.375 kB / 0.4934 GB, free: 9.836 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.1463, allocations: 38.94 kB / 0.4935 GB, free: 9.789 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 2.745e-06/0.1463, allocations: 0 / 0.4935 GB, free: 9.789 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.002587/0.1489, allocations: 0.8298 MB / 0.4943 GB, free: 8.953 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.1489, allocations: 63.41 kB / 0.4943 GB, free: 8.879 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.1492, allocations: 233 kB / 0.4946 GB, free: 8.645 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.438e-05/0.1493, allocations: 37.64 kB / 0.4946 GB, free: 8.602 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.1494, allocations: 165.1 kB / 0.4947 GB, free: 8.438 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.1496, allocations: 162.6 kB / 0.4949 GB, free: 8.277 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002354/0.1498, allocations: 114.3 kB / 0.495 GB, free: 8.156 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002122/0.15, allocations: 346.8 kB / 0.4953 GB, free: 7.809 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008147/0.1509, allocations: 269.1 kB / 0.4956 GB, free: 7.547 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008089/0.1517, allocations: 273.7 kB / 0.4959 GB, free: 7.281 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/0.1532, allocations: 0.4993 MB / 0.4963 GB, free: 6.777 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.1532, allocations: 7.922 kB / 0.4964 GB, free: 6.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001896/0.1551, allocations: 0.6689 MB / 0.497 GB, free: 6.094 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.1551, allocations: 4 kB / 0.497 GB, free: 6.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.1551, allocations: 4 kB / 0.497 GB, free: 6.086 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.1551, allocations: 3.984 kB / 0.497 GB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008586/0.156, allocations: 143.8 kB / 0.4972 GB, free: 5.941 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.156, allocations: 0 / 0.4972 GB, free: 5.941 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003912/0.1564, allocations: 67.62 kB / 0.4972 GB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.1565, allocations: 67.84 kB / 0.4973 GB, free: 5.809 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.0002814/0.1568, allocations: 165.7 kB / 0.4974 GB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.1569, allocations: 31.77 kB / 0.4975 GB, free: 5.605 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/0.1589, allocations: 0.6713 MB / 0.4981 GB, free: 4.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.1589, allocations: 8 kB / 0.4981 GB, free: 4.922 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.1589, allocations: 0 / 0.4981 GB, free: 4.922 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.1589, allocations: 7.922 kB / 0.4981 GB, free: 4.914 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006834/0.1596, allocations: 425.2 kB / 0.4985 GB, free: 4.469 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1596, allocations: 0 / 0.4985 GB, free: 4.469 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008078/0.1604, allocations: 115.8 kB / 0.4987 GB, free: 4.355 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.1604, allocations: 8 kB / 0.4987 GB, free: 4.348 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.872e-05/0.1604, allocations: 19.97 kB / 0.4987 GB, free: 4.328 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.1605, allocations: 4 kB / 0.4987 GB, free: 4.324 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1605, allocations: 0 / 0.4987 GB, free: 4.324 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002778/0.1632, allocations: 1.041 MB / 0.4997 GB, free: 3.266 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.138e-05/0.1633, allocations: 35.69 kB / 0.4997 GB, free: 3.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.747e-05/0.1634, allocations: 11.98 kB / 0.4998 GB, free: 3.219 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003767/0.1637, allocations: 31.97 kB / 0.4998 GB, free: 3.188 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.1639, allocations: 60.33 kB / 0.4998 GB, free: 3.129 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/0.164, allocations: 64.84 kB / 0.4999 GB, free: 3.066 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00019/0.1642, allocations: 160.5 kB / 0.5001 GB, free: 2.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1642, allocations: 0 / 0.5001 GB, free: 2.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006752/0.1649, allocations: 171.6 kB / 0.5002 GB, free: 2.742 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.000929/0.1658, allocations: 362.1 kB / 0.5006 GB, free: 2.445 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001713/0.1676, allocations: 0.584 MB / 0.5011 GB, free: 1.863 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1676, allocations: 0 / 0.5011 GB, free: 1.863 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000832/0.1684, allocations: 314.2 kB / 0.5014 GB, free: 1.559 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.1688, allocations: 28.38 kB / 0.5015 GB, free: 1.531 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.1707, allocations: 0.8962 MB / 0.5023 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.1709, allocations: 194.1 kB / 0.5025 GB, free: 400 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004279/0.1714, allocations: 94.84 kB / 0.5026 GB, free: 300 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.1716, allocations: 63.38 kB / 0.5027 GB, free: 240 kB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1716, allocations: 0 / 0.5027 GB, free: 240 kB / 366.1 MB Notification: Performance of Templates: time 0.01532/0.1869, allocations: 7.587 MB / 0.5101 GB, free: 8.691 MB / 382.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: 7.074825286865234] Failed to read output from testmodel.py, exit status != 0: 0.1980746015906334 0.499943535 0.36064802700000004 Calling exit ...