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.001362/0.001362, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001508/0.001508, allocations: 168.2 kB / 22.46 MB, free: 5.359 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.443/1.443, allocations: 177.1 MB / 202.8 MB, free: 9.188 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.02693/0.02693, allocations: 3.151 MB / 262.3 MB, free: 13.71 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 1.513e-06/1.513e-06, allocations: 0 / 386.2 MB, free: 312 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.131e-05/2.282e-05, allocations: 2.281 kB / 386.2 MB, free: 308 kB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.003372/0.003395, allocations: 1.944 MB / 388.2 MB, free: 14.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003116/0.006511, allocations: 1.619 MB / 389.8 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.00663, allocations: 7.938 kB / 389.8 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001752/0.006806, allocations: 35.55 kB / 389.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008694/0.007675, allocations: 266.8 kB / 390.1 MB, free: 12.41 MB / 318.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.001051/0.008725, allocations: 402.6 kB / 390.5 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007562/0.009482, allocations: 0.6043 MB / 391.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.009663, allocations: 75.77 kB / 391.2 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003851/0.01005, allocations: 315.4 kB / 391.5 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003136/0.01036, allocations: 231.4 kB / 391.7 MB, free: 10.81 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.01046, allocations: 64 kB / 391.8 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007915/0.01125, allocations: 463 kB / 392.2 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.01142, allocations: 143.6 kB / 392.4 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001875/0.01161, allocations: 155.5 kB / 392.5 MB, free: 10 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.01269, allocations: 0.8298 MB / 393.3 MB, free: 9.168 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.0127, allocations: 0 / 393.3 MB, free: 9.168 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.0127, allocations: 0 / 393.3 MB, free: 9.168 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.01271, allocations: 0 / 393.3 MB, free: 9.168 MB / 318.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.001425/0.01414, allocations: 0.6512 MB / 394 MB, free: 8.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.01417, allocations: 8.031 kB / 394 MB, free: 8.473 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/0.01544, allocations: 169 kB / 394.2 MB, free: 8.309 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007307/0.01617, allocations: 309.1 kB / 394.5 MB, free: 7.977 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.893e-05/0.01623, allocations: 37.03 kB / 394.5 MB, free: 7.941 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.836e-05/0.01633, allocations: 40.33 kB / 394.5 MB, free: 7.902 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.01751, allocations: 482.3 kB / 395 MB, free: 7.426 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.01752, allocations: 192 / 395 MB, free: 7.426 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.789e-05/0.01758, allocations: 16.38 kB / 395 MB, free: 7.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.01759, allocations: 4.375 kB / 395 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001491/0.01908, allocations: 0.5217 MB / 395.6 MB, free: 6.883 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002184/0.02126, allocations: 0.9715 MB / 396.5 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/0.02282, allocations: 491.7 kB / 397 MB, free: 5.391 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007642/0.02358, allocations: 269.5 kB / 397.3 MB, free: 5.125 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.819e-05/0.02363, allocations: 8.312 kB / 397.3 MB, free: 5.117 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.02367, allocations: 38.94 kB / 397.3 MB, free: 5.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=46): time 1.954e-06/0.02367, allocations: 0 / 397.3 MB, free: 5.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=46): time 0.002658/0.02633, allocations: 0.8298 MB / 398.1 MB, free: 4.234 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.02638, allocations: 63.39 kB / 398.2 MB, free: 4.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.02669, allocations: 233.9 kB / 398.4 MB, free: 3.922 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.094e-05/0.02675, allocations: 33.7 kB / 398.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.02688, allocations: 161.1 kB / 398.6 MB, free: 3.723 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/0.02708, allocations: 174.5 kB / 398.8 MB, free: 3.551 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002503/0.02733, allocations: 110.3 kB / 398.9 MB, free: 3.434 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.02753, allocations: 346.8 kB / 399.2 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007728/0.0283, allocations: 257.2 kB / 399.5 MB, free: 2.836 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007822/0.02908, allocations: 281.7 kB / 399.8 MB, free: 2.559 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/0.03057, allocations: 0.4994 MB / 400.3 MB, free: 2.059 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.03057, allocations: 3.938 kB / 400.3 MB, free: 2.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001864/0.03244, allocations: 0.6727 MB / 400.9 MB, free: 1.375 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.03246, allocations: 4 kB / 400.9 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.03247, allocations: 8 kB / 401 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.03249, allocations: 0 / 401 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008781/0.03337, allocations: 147.7 kB / 401.1 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.03338, allocations: 0 / 401.1 MB, free: 1.219 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003849/0.03376, allocations: 55.7 kB / 401.2 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/0.03391, allocations: 69.75 kB / 401.2 MB, free: 1.098 MB / 318.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.0002569/0.03417, allocations: 169.7 kB / 401.4 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.03427, allocations: 35.77 kB / 401.4 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002057/0.03633, allocations: 0.6728 MB / 402.1 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/0.03635, allocations: 11.97 kB / 402.1 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.03635, allocations: 0 / 402.1 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.03636, allocations: 4 kB / 402.1 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006805/0.03704, allocations: 417.3 kB / 402.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.03704, allocations: 3.938 kB / 402.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008597/0.0379, allocations: 119.7 kB / 402.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.303e-06/0.03791, allocations: 4 kB / 402.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.479e-05/0.03797, allocations: 23.97 kB / 402.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.03798, allocations: 0 / 402.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.03798, allocations: 0 / 402.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002864/0.04084, allocations: 1.043 MB / 403.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.658e-05/0.0409, allocations: 39.58 kB / 403.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.934e-05/0.04098, allocations: 12 kB / 403.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003984/0.04138, allocations: 23.97 kB / 403.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000181/0.04156, allocations: 60.39 kB / 403.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/0.04171, allocations: 67.92 kB / 403.9 MB, free: 14.35 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001802/0.04189, allocations: 165.4 kB / 404.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.04189, allocations: 0 / 404.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007122/0.0426, allocations: 167.6 kB / 404.2 MB, free: 14.02 MB / 334.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.001043/0.04364, allocations: 384.7 kB / 404.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001831/0.04547, allocations: 0.5849 MB / 405.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.04547, allocations: 0 / 405.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009152/0.04639, allocations: 310.7 kB / 405.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.04677, allocations: 32.44 kB / 405.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.0487, allocations: 0.8466 MB / 406.4 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.04893, allocations: 194.1 kB / 406.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004149/0.04935, allocations: 90.88 kB / 406.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/0.0496, allocations: 60.44 kB / 406.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.0496, allocations: 0 / 406.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of Templates: time 0.01655/0.06615, allocations: 7.381 MB / 414.1 MB, free: 4.215 MB / 334.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: 6.117167662829161] Failed to read output from testmodel.py, exit status != 0: 0.07502073422074318 0.091341274 0.07517599300000001 Calling exit ...