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.001359/0.001359, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001532/0.001532, allocations: 161 kB / 23.01 MB, free: 4.602 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.578/1.578, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.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.02733/0.02733, allocations: 3.152 MB / 262.9 MB, free: 13.7 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.002126/0.002126, allocations: 59.91 kB / 386.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1153, allocations: 54.11 MB / 440.9 MB, free: 11.32 MB / 414.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.003804/0.1191, allocations: 1.944 MB / 442.8 MB, free: 9.367 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003131/0.1222, allocations: 1.62 MB / 444.4 MB, free: 7.742 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.1224, allocations: 7.938 kB / 444.4 MB, free: 7.734 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.1226, allocations: 43.48 kB / 444.5 MB, free: 7.691 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007884/0.1234, allocations: 259 kB / 444.7 MB, free: 7.438 MB / 414.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.0009839/0.1243, allocations: 394.9 kB / 445.1 MB, free: 7.051 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006483/0.125, allocations: 0.6005 MB / 445.7 MB, free: 6.449 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/0.1252, allocations: 71.12 kB / 445.8 MB, free: 6.379 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002703/0.1255, allocations: 235.2 kB / 446 MB, free: 6.148 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003577/0.1258, allocations: 251 kB / 446.2 MB, free: 5.902 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.1259, allocations: 64 kB / 446.3 MB, free: 5.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007994/0.1267, allocations: 463.3 kB / 446.8 MB, free: 5.387 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.1269, allocations: 135.6 kB / 446.9 MB, free: 5.254 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001915/0.1271, allocations: 175.2 kB / 447.1 MB, free: 5.082 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009558/0.128, allocations: 0.7671 MB / 447.8 MB, free: 4.312 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.128, allocations: 0 / 447.8 MB, free: 4.312 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.128, allocations: 4 kB / 447.8 MB, free: 4.309 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.964e-06/0.128, allocations: 0 / 447.8 MB, free: 4.309 MB / 414.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.001361/0.1294, allocations: 0.6589 MB / 448.5 MB, free: 3.617 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.1294, allocations: 8.031 kB / 448.5 MB, free: 3.609 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/0.1307, allocations: 164.4 kB / 448.7 MB, free: 3.449 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007467/0.1314, allocations: 306 kB / 449 MB, free: 3.121 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.447e-05/0.1315, allocations: 37.03 kB / 449 MB, free: 3.086 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.569e-05/0.1316, allocations: 44.3 kB / 449 MB, free: 3.043 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.1328, allocations: 478.2 kB / 449.5 MB, free: 2.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.1328, allocations: 4.188 kB / 449.5 MB, free: 2.566 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.622e-05/0.1328, allocations: 15.94 kB / 449.5 MB, free: 2.551 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.1328, allocations: 8 kB / 449.5 MB, free: 2.543 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/0.1343, allocations: 0.5139 MB / 450.1 MB, free: 2.027 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/0.1364, allocations: 0.9946 MB / 451 MB, free: 1 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.1379, allocations: 487.7 kB / 451.5 MB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007257/0.1387, allocations: 269.4 kB / 451.8 MB, free: 256 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.649e-05/0.1387, allocations: 8.375 kB / 451.8 MB, free: 248 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.1387, allocations: 42.94 kB / 451.8 MB, free: 196 kB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 1.883e-06/0.1387, allocations: 3.938 kB / 451.8 MB, free: 192 kB / 414.1 MB Notification: Performance of matching and sorting (n=46): time 0.002512/0.1413, allocations: 0.826 MB / 452.7 MB, free: 15.35 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/0.1413, allocations: 59.39 kB / 452.7 MB, free: 15.28 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.1416, allocations: 229.9 kB / 452.9 MB, free: 15.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.413e-05/0.1416, allocations: 37.7 kB / 453 MB, free: 15.01 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.1417, allocations: 157.1 kB / 453.1 MB, free: 14.85 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001589/0.1419, allocations: 174.5 kB / 453.3 MB, free: 14.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000219/0.1421, allocations: 114.3 kB / 453.4 MB, free: 14.56 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.1423, allocations: 350.7 kB / 453.8 MB, free: 14.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007473/0.143, allocations: 261.1 kB / 454 MB, free: 13.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007499/0.1438, allocations: 273.7 kB / 454.3 MB, free: 13.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.1453, allocations: 0.4993 MB / 454.8 MB, free: 13.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.1453, allocations: 0 / 454.8 MB, free: 13.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001812/0.1471, allocations: 0.6805 MB / 455.5 MB, free: 12.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.1471, allocations: 4 kB / 455.5 MB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1471, allocations: 0 / 455.5 MB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.1471, allocations: 4 kB / 455.5 MB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000853/0.148, allocations: 151.7 kB / 455.6 MB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.148, allocations: 0 / 455.6 MB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003756/0.1484, allocations: 55.7 kB / 455.7 MB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.1485, allocations: 63.89 kB / 455.7 MB, free: 12.22 MB / 430.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.0002383/0.1487, allocations: 173.6 kB / 455.9 MB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.1488, allocations: 27.81 kB / 455.9 MB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001941/0.1508, allocations: 0.6806 MB / 456.6 MB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.1508, allocations: 8 kB / 456.6 MB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1508, allocations: 0 / 456.6 MB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.1508, allocations: 3.984 kB / 456.6 MB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006219/0.1514, allocations: 421.2 kB / 457 MB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1514, allocations: 4 kB / 457 MB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008293/0.1523, allocations: 115.8 kB / 457.2 MB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.1523, allocations: 4 kB / 457.2 MB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.575e-05/0.1523, allocations: 19.92 kB / 457.2 MB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.1523, allocations: 4 kB / 457.2 MB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1523, allocations: 3.984 kB / 457.2 MB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002698/0.155, allocations: 1.039 MB / 458.2 MB, free: 9.672 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.513e-05/0.1551, allocations: 31.75 kB / 458.3 MB, free: 9.641 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.752e-05/0.1551, allocations: 12 kB / 458.3 MB, free: 9.629 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003955/0.1555, allocations: 31.95 kB / 458.3 MB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.1557, allocations: 56.41 kB / 458.4 MB, free: 9.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/0.1558, allocations: 63.92 kB / 458.4 MB, free: 9.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001748/0.156, allocations: 165.2 kB / 458.6 MB, free: 9.316 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.156, allocations: 0 / 458.6 MB, free: 9.316 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006409/0.1566, allocations: 171.6 kB / 458.7 MB, free: 9.148 MB / 430.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.0009025/0.1575, allocations: 374.1 kB / 459.1 MB, free: 8.844 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001655/0.1592, allocations: 0.581 MB / 459.7 MB, free: 8.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1592, allocations: 0 / 459.7 MB, free: 8.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008355/0.16, allocations: 306.7 kB / 460 MB, free: 7.973 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.1604, allocations: 36.38 kB / 460 MB, free: 7.934 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.1623, allocations: 0.9044 MB / 460.9 MB, free: 7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.1625, allocations: 198 kB / 461.1 MB, free: 6.789 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004049/0.1629, allocations: 94.86 kB / 461.2 MB, free: 6.695 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/0.1631, allocations: 56.44 kB / 461.3 MB, free: 6.641 MB / 430.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1631, allocations: 0 / 461.3 MB, free: 6.641 MB / 430.1 MB Notification: Performance of Templates: time 0.0144/0.1775, allocations: 7.34 MB / 468.6 MB, free: 15.33 MB / 446.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 -s ida -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.705679686972871] Failed to read output from testmodel.py, exit status != 0: 0.18640425195917487 0.20154443400000002 0.069971473 Calling exit ...