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.001901/0.001901, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002412/0.002412, allocations: 219.5 kB / 23 MB, free: 4.914 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.02873/0.02873, allocations: 3.939 MB / 317.1 MB, free: 15.14 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.002174/0.002174, allocations: 63.91 kB / 440.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09775/0.09992, allocations: 54.15 MB / 495.1 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.003784/0.1037, allocations: 1.936 MB / 497 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003402/0.1071, allocations: 1.608 MB / 498.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001802/0.1073, allocations: 3.938 kB / 498.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.1075, allocations: 43.48 kB / 498.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000844/0.1083, allocations: 267 kB / 498.9 MB, free: 1.062 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.001037/0.1094, allocations: 394.9 kB / 499.3 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007303/0.1101, allocations: 0.5927 MB / 499.9 MB, free: 84 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001964/0.1103, allocations: 75.78 kB / 500 MB, free: 8 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003737/0.1107, allocations: 231.3 kB / 0.4885 GB, free: 15.78 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004191/0.1111, allocations: 259 kB / 0.4887 GB, free: 15.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.1112, allocations: 63.94 kB / 0.4888 GB, free: 15.46 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008845/0.1121, allocations: 463.2 kB / 0.4892 GB, free: 15.01 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001767/0.1123, allocations: 139.6 kB / 0.4894 GB, free: 14.88 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002384/0.1125, allocations: 187.1 kB / 0.4896 GB, free: 14.69 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.1137, allocations: 0.7554 MB / 0.4903 GB, free: 13.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1137, allocations: 4 kB / 0.4903 GB, free: 13.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1137, allocations: 0 / 0.4903 GB, free: 13.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.1137, allocations: 0 / 0.4903 GB, free: 13.93 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.001522/0.1152, allocations: 0.6511 MB / 0.4909 GB, free: 13.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.1153, allocations: 12.03 kB / 0.4909 GB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/0.1166, allocations: 160.4 kB / 0.4911 GB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008153/0.1174, allocations: 313.4 kB / 0.4914 GB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.946e-05/0.1175, allocations: 33.03 kB / 0.4914 GB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.1176, allocations: 48.3 kB / 0.4915 GB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.1188, allocations: 478.3 kB / 0.4919 GB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.1188, allocations: 192 / 0.4919 GB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.276e-05/0.1189, allocations: 15.94 kB / 0.4919 GB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.1189, allocations: 12 kB / 0.492 GB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001511/0.1204, allocations: 0.51 MB / 0.4925 GB, free: 11.65 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002333/0.1227, allocations: 0.9985 MB / 0.4934 GB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/0.1242, allocations: 495.7 kB / 0.4939 GB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007404/0.125, allocations: 257.5 kB / 0.4942 GB, free: 9.871 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.047e-05/0.125, allocations: 8.375 kB / 0.4942 GB, free: 9.863 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.1251, allocations: 38.94 kB / 0.4942 GB, free: 9.816 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 3.226e-06/0.1251, allocations: 0 / 0.4942 GB, free: 9.816 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.002597/0.1277, allocations: 0.8376 MB / 0.495 GB, free: 8.973 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/0.1277, allocations: 55.41 kB / 0.4951 GB, free: 8.906 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002939/0.128, allocations: 229 kB / 0.4953 GB, free: 8.676 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.473e-05/0.1281, allocations: 37.7 kB / 0.4953 GB, free: 8.633 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.1282, allocations: 161.1 kB / 0.4955 GB, free: 8.473 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.1284, allocations: 166.6 kB / 0.4956 GB, free: 8.309 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002263/0.1286, allocations: 110.2 kB / 0.4957 GB, free: 8.191 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.1288, allocations: 350.7 kB / 0.4961 GB, free: 7.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007782/0.1296, allocations: 273.1 kB / 0.4963 GB, free: 7.574 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007664/0.1304, allocations: 265.8 kB / 0.4966 GB, free: 7.316 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.1319, allocations: 0.5071 MB / 0.4971 GB, free: 6.805 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1319, allocations: 0 / 0.4971 GB, free: 6.805 MB / 366.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001865/0.1337, allocations: 0.6689 MB / 0.4977 GB, free: 6.129 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.1337, allocations: 4 kB / 0.4977 GB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.1337, allocations: 0 / 0.4977 GB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.1338, allocations: 7.938 kB / 0.4977 GB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009065/0.1347, allocations: 155.7 kB / 0.4979 GB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.1347, allocations: 4 kB / 0.4979 GB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003818/0.1351, allocations: 59.62 kB / 0.498 GB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/0.1352, allocations: 63.91 kB / 0.498 GB, free: 5.84 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.0002571/0.1355, allocations: 168.7 kB / 0.4982 GB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.1356, allocations: 35.77 kB / 0.4982 GB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002003/0.1376, allocations: 0.6752 MB / 0.4989 GB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.1376, allocations: 4 kB / 0.4989 GB, free: 4.949 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1376, allocations: 0 / 0.4989 GB, free: 4.949 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.1376, allocations: 3.984 kB / 0.4989 GB, free: 4.945 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000693/0.1383, allocations: 413.2 kB / 0.4993 GB, free: 4.512 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.1383, allocations: 0 / 0.4993 GB, free: 4.512 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008027/0.1391, allocations: 123.8 kB / 0.4994 GB, free: 4.391 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/0.1391, allocations: 3.938 kB / 0.4994 GB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-05/0.1392, allocations: 27.91 kB / 0.4994 GB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1392, allocations: 0 / 0.4994 GB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1392, allocations: 0 / 0.4994 GB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002671/0.1418, allocations: 1.045 MB / 0.5004 GB, free: 3.297 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.619e-05/0.1419, allocations: 39.69 kB / 0.5005 GB, free: 3.258 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.393e-05/0.142, allocations: 8 kB / 0.5005 GB, free: 3.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003832/0.1424, allocations: 35.95 kB / 0.5005 GB, free: 3.215 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/0.1425, allocations: 52.34 kB / 0.5006 GB, free: 3.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/0.1427, allocations: 66.39 kB / 0.5006 GB, free: 3.102 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001759/0.1428, allocations: 164.5 kB / 0.5008 GB, free: 2.941 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1428, allocations: 0 / 0.5008 GB, free: 2.941 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006631/0.1435, allocations: 167.6 kB / 0.501 GB, free: 2.777 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.000989/0.1445, allocations: 366.1 kB / 0.5013 GB, free: 2.477 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001789/0.1463, allocations: 0.5879 MB / 0.5019 GB, free: 1.891 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1463, allocations: 0 / 0.5019 GB, free: 1.891 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008375/0.1471, allocations: 306.2 kB / 0.5022 GB, free: 1.594 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.1475, allocations: 32.31 kB / 0.5022 GB, free: 1.562 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.1495, allocations: 0.9253 MB / 0.5031 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.1497, allocations: 194.1 kB / 0.5033 GB, free: 396 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003135/0.15, allocations: 67.36 kB / 0.5034 GB, free: 332 kB / 366.1 MB Notification: Performance of SimCode: time 7.61e-07/0.15, allocations: 4 kB / 0.5034 GB, free: 328 kB / 366.1 MB Notification: Performance of Templates: time 0.01486/0.1649, allocations: 8.301 MB / 0.5115 GB, free: 8.043 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: 8.484438917599618] Failed to read output from testmodel.py, exit status != 0: 0.17329624528065324 0.344863792 0.22833023300000002 Calling exit ...