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.001348/0.001348, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.00146/0.00146, allocations: 217.7 kB / 23.01 MB, free: 4.566 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 8.242 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.02743/0.02743, allocations: 3.931 MB / 317.1 MB, free: 15.38 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.001896/0.001896, allocations: 67.83 kB / 441 MB, free: 11.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1081, allocations: 54.15 MB / 495.2 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.00368/0.1118, allocations: 2.059 MB / 497.2 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003319/0.1151, allocations: 1.717 MB / 498.9 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.1152, allocations: 7.938 kB / 498.9 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.1154, allocations: 51.41 kB / 499 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007253/0.1161, allocations: 251 kB / 499.2 MB, free: 1.188 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.0009684/0.1171, allocations: 394.9 kB / 499.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007372/0.1178, allocations: 0.5967 MB / 0.4885 GB, free: 208 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.118, allocations: 78.53 kB / 0.4886 GB, free: 132 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002913/0.1183, allocations: 227.3 kB / 0.4888 GB, free: 15.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003652/0.1187, allocations: 283 kB / 0.4891 GB, free: 15.63 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.838e-05/0.1188, allocations: 60 kB / 0.4891 GB, free: 15.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008202/0.1196, allocations: 491.2 kB / 0.4896 GB, free: 15.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.1197, allocations: 135.6 kB / 0.4897 GB, free: 14.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.12, allocations: 218.9 kB / 0.4899 GB, free: 14.74 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009706/0.1209, allocations: 0.7631 MB / 0.4907 GB, free: 13.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1209, allocations: 0 / 0.4907 GB, free: 13.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1209, allocations: 0 / 0.4907 GB, free: 13.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.33e-05/0.121, allocations: 0 / 0.4907 GB, free: 13.98 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.001371/0.1223, allocations: 0.6628 MB / 0.4913 GB, free: 13.28 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.1224, allocations: 8.031 kB / 0.4913 GB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.1236, allocations: 156.5 kB / 0.4915 GB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000705/0.1243, allocations: 309.5 kB / 0.4918 GB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.699e-05/0.1243, allocations: 33.03 kB / 0.4918 GB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.208e-05/0.1244, allocations: 48.31 kB / 0.4918 GB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.1255, allocations: 478.2 kB / 0.4923 GB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.1256, allocations: 192 / 0.4923 GB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.968e-05/0.1256, allocations: 19.94 kB / 0.4923 GB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.1256, allocations: 8 kB / 0.4923 GB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.127, allocations: 0.5139 MB / 0.4928 GB, free: 11.69 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002254/0.1293, allocations: 1.166 MB / 0.494 GB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.1308, allocations: 495.7 kB / 0.4944 GB, free: 9.988 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006821/0.1315, allocations: 265.5 kB / 0.4947 GB, free: 9.727 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.215e-05/0.1315, allocations: 8.375 kB / 0.4947 GB, free: 9.719 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.1316, allocations: 38.92 kB / 0.4947 GB, free: 9.672 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 2.174e-06/0.1316, allocations: 0 / 0.4947 GB, free: 9.672 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.002436/0.134, allocations: 0.8337 MB / 0.4956 GB, free: 8.832 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/0.134, allocations: 63.39 kB / 0.4956 GB, free: 8.758 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.1343, allocations: 233 kB / 0.4958 GB, free: 8.523 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.515e-05/0.1344, allocations: 33.7 kB / 0.4959 GB, free: 8.484 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.1345, allocations: 161.1 kB / 0.496 GB, free: 8.324 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/0.1347, allocations: 170.6 kB / 0.4962 GB, free: 8.156 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002329/0.135, allocations: 110.3 kB / 0.4963 GB, free: 8.039 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.1352, allocations: 346.7 kB / 0.4966 GB, free: 7.691 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007187/0.1359, allocations: 269.1 kB / 0.4969 GB, free: 7.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000697/0.1366, allocations: 269.8 kB / 0.4971 GB, free: 7.168 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/0.1379, allocations: 0.5032 MB / 0.4976 GB, free: 6.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1379, allocations: 0 / 0.4976 GB, free: 6.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001695/0.1396, allocations: 0.6728 MB / 0.4983 GB, free: 5.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.1396, allocations: 4 kB / 0.4983 GB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.1396, allocations: 0 / 0.4983 GB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/0.1397, allocations: 8 kB / 0.4983 GB, free: 5.969 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008286/0.1405, allocations: 147.7 kB / 0.4984 GB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.1405, allocations: 4 kB / 0.4984 GB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003763/0.1409, allocations: 55.64 kB / 0.4985 GB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.141, allocations: 71.83 kB / 0.4986 GB, free: 5.695 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.0002481/0.1412, allocations: 161.7 kB / 0.4987 GB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.398e-05/0.1413, allocations: 35.77 kB / 0.4988 GB, free: 5.492 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001823/0.1432, allocations: 0.6674 MB / 0.4994 GB, free: 4.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.557e-06/0.1432, allocations: 8 kB / 0.4994 GB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1432, allocations: 0 / 0.4994 GB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.1432, allocations: 0 / 0.4994 GB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007462/0.1439, allocations: 0.5589 MB / 0.5 GB, free: 4.211 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1439, allocations: 0 / 0.5 GB, free: 4.211 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007978/0.1447, allocations: 119.8 kB / 0.5001 GB, free: 4.094 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1447, allocations: 0 / 0.5001 GB, free: 4.094 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.736e-05/0.1448, allocations: 23.97 kB / 0.5001 GB, free: 4.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1448, allocations: 0 / 0.5001 GB, free: 4.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1448, allocations: 3.938 kB / 0.5001 GB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002518/0.1473, allocations: 1.045 MB / 0.5011 GB, free: 3.004 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.946e-05/0.1474, allocations: 31.69 kB / 0.5012 GB, free: 2.973 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.673e-05/0.1474, allocations: 15.98 kB / 0.5012 GB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003566/0.1478, allocations: 23.97 kB / 0.5012 GB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.148, allocations: 52.53 kB / 0.5012 GB, free: 2.883 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001895/0.1481, allocations: 71.92 kB / 0.5013 GB, free: 2.812 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001715/0.1483, allocations: 176.3 kB / 0.5015 GB, free: 2.641 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1483, allocations: 0 / 0.5015 GB, free: 2.641 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005898/0.1489, allocations: 163.6 kB / 0.5016 GB, free: 2.48 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.0008683/0.1498, allocations: 349.4 kB / 0.502 GB, free: 2.188 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001592/0.1514, allocations: 0.584 MB / 0.5025 GB, free: 1.605 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1514, allocations: 0 / 0.5025 GB, free: 1.605 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000774/0.1521, allocations: 306.3 kB / 0.5028 GB, free: 1.309 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.1525, allocations: 28.44 kB / 0.5029 GB, free: 1.281 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.1544, allocations: 0.9369 MB / 0.5038 GB, free: 312 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1967/0.3511, allocations: 0.7948 MB / 0.5045 GB, free: 21.08 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003691/0.3515, allocations: 60.2 kB / 0.5046 GB, free: 21.08 MB / 366.1 MB Notification: Performance of SimCode: time 3.226e-06/0.3515, allocations: 3.438 kB / 0.5046 GB, free: 21.08 MB / 366.1 MB Notification: Performance of Templates: time 0.01324/0.3648, allocations: 8.208 MB / 0.5126 GB, free: 20 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: 8.749919665046036] Failed to read output from testmodel.py, exit status != 0: 0.3722606939263642 0.38611603600000005 0.26275819 Calling exit ...