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.0008655/0.0008655, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008439/0.0008439, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8896/0.8896, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.01418/0.01418, allocations: 3.139 MB / 263.1 MB, free: 10.26 MB / 250.7 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 1.714e-06/1.714e-06, allocations: 0 / 387 MB, free: 10.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.599e-05/2.77e-05, allocations: 2.281 kB / 387 MB, free: 10.53 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.002296/0.002323, allocations: 1.949 MB / 388.9 MB, free: 8.562 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.004351, allocations: 1.608 MB / 390.5 MB, free: 6.949 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.004482, allocations: 7.938 kB / 390.6 MB, free: 6.941 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.00465, allocations: 39.47 kB / 390.6 MB, free: 6.902 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006172/0.005268, allocations: 266.8 kB / 390.9 MB, free: 6.641 MB / 314.7 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.0007321/0.006, allocations: 402.7 kB / 391.2 MB, free: 6.246 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004796/0.006479, allocations: 0.6004 MB / 391.8 MB, free: 5.645 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.006647, allocations: 71.75 kB / 391.9 MB, free: 5.578 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002779/0.006925, allocations: 323.4 kB / 392.2 MB, free: 5.262 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.007155, allocations: 231.4 kB / 392.5 MB, free: 5.035 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.237e-05/0.007217, allocations: 67.94 kB / 392.5 MB, free: 4.969 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000654/0.007871, allocations: 467 kB / 393 MB, free: 4.512 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.007978, allocations: 143.5 kB / 393.1 MB, free: 4.371 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.008088, allocations: 151.6 kB / 393.3 MB, free: 4.223 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007753/0.008863, allocations: 0.8298 MB / 394.1 MB, free: 3.391 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.008866, allocations: 3.938 kB / 394.1 MB, free: 3.387 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.008868, allocations: 0 / 394.1 MB, free: 3.387 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.008874, allocations: 0 / 394.1 MB, free: 3.387 MB / 314.7 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.0008706/0.009744, allocations: 0.6434 MB / 394.7 MB, free: 2.707 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.009779, allocations: 8.031 kB / 394.8 MB, free: 2.699 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006734/0.01045, allocations: 164.5 kB / 394.9 MB, free: 2.539 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004306/0.01088, allocations: 309.1 kB / 395.2 MB, free: 2.207 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.062e-05/0.01092, allocations: 37.03 kB / 395.3 MB, free: 2.172 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/0.01099, allocations: 40.33 kB / 395.3 MB, free: 2.133 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006603/0.01165, allocations: 474.3 kB / 395.8 MB, free: 1.664 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.01166, allocations: 192 / 395.8 MB, free: 1.664 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/0.01169, allocations: 24.36 kB / 395.8 MB, free: 1.641 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.0117, allocations: 4.375 kB / 395.8 MB, free: 1.637 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007726/0.01247, allocations: 0.5216 MB / 396.3 MB, free: 1.113 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.01375, allocations: 0.9754 MB / 397.3 MB, free: 108 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008708/0.01462, allocations: 496.4 kB / 397.8 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003868/0.01501, allocations: 269.5 kB / 398 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.17e-05/0.01505, allocations: 8.359 kB / 398 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.01508, allocations: 38.94 kB / 398.1 MB, free: 15.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=46): time 1.914e-06/0.01508, allocations: 0 / 398.1 MB, free: 15.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.001365/0.01645, allocations: 0.8336 MB / 398.9 MB, free: 14.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.0165, allocations: 59.41 kB / 399 MB, free: 14.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.01668, allocations: 233.9 kB / 399.2 MB, free: 14.14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.01671, allocations: 29.7 kB / 399.2 MB, free: 14.11 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.541e-05/0.01679, allocations: 165.1 kB / 399.4 MB, free: 13.94 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.909e-05/0.01689, allocations: 174.4 kB / 399.6 MB, free: 13.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.01702, allocations: 114.3 kB / 399.7 MB, free: 13.65 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.01712, allocations: 338.8 kB / 400 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003917/0.01752, allocations: 265.1 kB / 400.3 MB, free: 13.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003848/0.0179, allocations: 277.7 kB / 400.5 MB, free: 12.78 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007379/0.01864, allocations: 0.4994 MB / 401 MB, free: 12.28 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.01864, allocations: 7.938 kB / 401 MB, free: 12.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009818/0.01962, allocations: 0.6688 MB / 401.7 MB, free: 11.6 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.01965, allocations: 8 kB / 401.7 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.01966, allocations: 0 / 401.7 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.01968, allocations: 7.984 kB / 401.7 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003936/0.02007, allocations: 139.8 kB / 401.9 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.02008, allocations: 7.938 kB / 401.9 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.02026, allocations: 55.69 kB / 401.9 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.386e-05/0.02035, allocations: 67.84 kB / 402 MB, free: 11.32 MB / 330.7 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.0002017/0.02055, allocations: 164.8 kB / 402.1 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.307e-05/0.02061, allocations: 39.77 kB / 402.2 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.02167, allocations: 0.6728 MB / 402.9 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.02168, allocations: 4 kB / 402.9 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.02168, allocations: 0 / 402.9 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.02169, allocations: 3.984 kB / 402.9 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003948/0.02208, allocations: 421.2 kB / 403.3 MB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.02209, allocations: 3.938 kB / 403.3 MB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003635/0.02245, allocations: 115.8 kB / 403.4 MB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.02246, allocations: 4 kB / 403.4 MB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.593e-05/0.02249, allocations: 27.97 kB / 403.4 MB, free: 9.832 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.0225, allocations: 3.938 kB / 403.4 MB, free: 9.828 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.0225, allocations: 3.984 kB / 403.4 MB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.02392, allocations: 1.039 MB / 404.5 MB, free: 8.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.956e-05/0.02396, allocations: 43.58 kB / 404.5 MB, free: 8.727 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.835e-05/0.02401, allocations: 15.98 kB / 404.5 MB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.02417, allocations: 23.97 kB / 404.6 MB, free: 8.688 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.02428, allocations: 56.41 kB / 404.6 MB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.988e-05/0.02437, allocations: 63.89 kB / 404.7 MB, free: 8.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000113/0.02449, allocations: 165.2 kB / 404.8 MB, free: 8.406 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02449, allocations: 0 / 404.8 MB, free: 8.406 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005049/0.02499, allocations: 167.6 kB / 405 MB, free: 8.242 MB / 330.7 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.0006556/0.02565, allocations: 379 kB / 405.4 MB, free: 7.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009689/0.02661, allocations: 0.5772 MB / 405.9 MB, free: 7.355 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.02662, allocations: 0 / 405.9 MB, free: 7.355 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004435/0.02706, allocations: 310.6 kB / 406.2 MB, free: 7.051 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.02732, allocations: 29.38 kB / 406.3 MB, free: 7.023 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.02849, allocations: 0.8874 MB / 407.2 MB, free: 6.105 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.02862, allocations: 190.1 kB / 407.3 MB, free: 5.898 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.02881, allocations: 68.42 kB / 407.4 MB, free: 5.828 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/0.02881, allocations: 0 / 407.4 MB, free: 5.828 MB / 330.7 MB Notification: Performance of Templates: time 0.1581/0.1869, allocations: 8.354 MB / 415.8 MB, free: 37.75 MB / 330.7 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: 5.349103908054531] Failed to read output from testmodel.py, exit status != 0: 0.19361938163638115 0.20556718000000002 0.193575025 Calling exit ...