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.0008919/0.0008919, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.0009855/0.0009855, allocations: 177 kB / 23.36 MB, free: 1.133 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.9538/0.9538, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.01602/0.01602, allocations: 3.155 MB / 263.4 MB, free: 9.926 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.173e-06/1.173e-06, allocations: 0 / 280.6 MB, free: 8.691 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.159e-05/1.277e-05, allocations: 9.766 kB / 280.6 MB, free: 8.684 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.001993/0.002006, allocations: 1.984 MB / 282.6 MB, free: 6.688 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.004051, allocations: 1.658 MB / 284.3 MB, free: 5.023 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.267e-05/0.004144, allocations: 7.938 kB / 284.3 MB, free: 5.016 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.004265, allocations: 47.41 kB / 284.3 MB, free: 4.969 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004744/0.00474, allocations: 274.7 kB / 284.6 MB, free: 4.699 MB / 266.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.0006354/0.005375, allocations: 398.7 kB / 285 MB, free: 4.309 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004233/0.005798, allocations: 0.6043 MB / 285.6 MB, free: 3.703 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.005932, allocations: 78.41 kB / 285.7 MB, free: 3.625 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002586/0.00619, allocations: 323.4 kB / 286 MB, free: 3.309 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.006367, allocations: 227.4 kB / 286.2 MB, free: 3.086 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.39e-05/0.006421, allocations: 60 kB / 286.3 MB, free: 3.027 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000477/0.006898, allocations: 467 kB / 286.7 MB, free: 2.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.811e-05/0.006996, allocations: 139.6 kB / 286.9 MB, free: 2.434 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.789e-05/0.007094, allocations: 151.6 kB / 287 MB, free: 2.285 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005622/0.007657, allocations: 0.6269 MB / 287.6 MB, free: 1.656 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.007659, allocations: 3.984 kB / 287.7 MB, free: 1.652 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.00766, allocations: 0 / 287.7 MB, free: 1.652 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.715e-06/0.007662, allocations: 0 / 287.7 MB, free: 1.652 MB / 266.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.0006949/0.008357, allocations: 0.6224 MB / 288.3 MB, free: 1 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.286e-05/0.00838, allocations: 8.031 kB / 288.3 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006012/0.008981, allocations: 228.4 kB / 288.5 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.009234, allocations: 233.4 kB / 288.7 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.579e-05/0.009269, allocations: 33.03 kB / 288.8 MB, free: 496 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.507e-05/0.009325, allocations: 40.31 kB / 288.8 MB, free: 456 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003984/0.009723, allocations: 322.3 kB / 289.1 MB, free: 128 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.009731, allocations: 192 / 289.1 MB, free: 128 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.009761, allocations: 16.38 kB / 289.1 MB, free: 112 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.009767, allocations: 8.375 kB / 289.1 MB, free: 104 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1167/0.1265, allocations: 164 kB / 289.3 MB, free: 23.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.1278, allocations: 0.6667 MB / 290 MB, free: 22.96 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005845/0.1284, allocations: 261 kB / 290.2 MB, free: 22.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.1286, allocations: 103.9 kB / 290.3 MB, free: 22.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.478e-05/0.1287, allocations: 11.33 kB / 290.3 MB, free: 22.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.1287, allocations: 39.3 kB / 290.4 MB, free: 22.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 2.074e-06/0.1287, allocations: 0 / 290.4 MB, free: 22.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=46): time 0.000578/0.1293, allocations: 337.6 kB / 290.7 MB, free: 22.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.1293, allocations: 58.31 kB / 290.8 MB, free: 22.78 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.1294, allocations: 220 kB / 291 MB, free: 22.67 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.682e-05/0.1295, allocations: 37.55 kB / 291 MB, free: 22.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.322e-05/0.1295, allocations: 144.6 kB / 291.2 MB, free: 22.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.686e-05/0.1296, allocations: 169.7 kB / 291.3 MB, free: 22.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.1298, allocations: 109.5 kB / 291.4 MB, free: 22.45 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.641e-05/0.1298, allocations: 345.8 kB / 291.8 MB, free: 22.13 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.13, allocations: 83.66 kB / 291.8 MB, free: 22.13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.1301, allocations: 87.88 kB / 291.9 MB, free: 22.13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.1304, allocations: 242.8 kB / 292.2 MB, free: 22.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1304, allocations: 0 / 292.2 MB, free: 22.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0004019/0.1308, allocations: 298.9 kB / 292.5 MB, free: 22.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1309, allocations: 7.094 kB / 292.5 MB, free: 22.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.1309, allocations: 0 / 292.5 MB, free: 22.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1309, allocations: 3.75 kB / 292.5 MB, free: 22.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003786/0.1313, allocations: 137.4 kB / 292.6 MB, free: 22.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1313, allocations: 7.234 kB / 292.6 MB, free: 22.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.1314, allocations: 56.03 kB / 292.7 MB, free: 22.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.395e-05/0.1315, allocations: 66.03 kB / 292.7 MB, free: 22.05 MB / 266.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,noise1.actualGlobalSeed,globalSeed.id_impure,noise2.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.0001103/0.1316, allocations: 134.7 kB / 292.9 MB, free: 21.94 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.289e-05/0.1317, allocations: 37.97 kB / 292.9 MB, free: 21.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000529/0.1322, allocations: 334 kB / 293.2 MB, free: 21.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1322, allocations: 4.969 kB / 293.2 MB, free: 21.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1322, allocations: 1.953 kB / 293.2 MB, free: 21.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.1322, allocations: 4.016 kB / 293.2 MB, free: 21.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003078/0.1325, allocations: 292.3 kB / 293.5 MB, free: 21.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1325, allocations: 3.297 kB / 293.5 MB, free: 21.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/0.1329, allocations: 118.5 kB / 293.6 MB, free: 21.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.1329, allocations: 7.219 kB / 293.7 MB, free: 21.8 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.287e-05/0.1329, allocations: 19.03 kB / 293.7 MB, free: 21.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1329, allocations: 1 kB / 293.7 MB, free: 21.8 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1329, allocations: 1.859 kB / 293.7 MB, free: 21.8 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000621/0.1335, allocations: 0.4956 MB / 294.2 MB, free: 21.64 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.125e-05/0.1336, allocations: 39.19 kB / 294.2 MB, free: 21.63 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/0.1336, allocations: 14.33 kB / 294.2 MB, free: 21.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.1338, allocations: 27.09 kB / 294.2 MB, free: 21.62 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.1339, allocations: 57.2 kB / 294.3 MB, free: 21.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.705e-05/0.1339, allocations: 61.17 kB / 294.4 MB, free: 21.62 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.389e-05/0.134, allocations: 75.05 kB / 294.4 MB, free: 21.61 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.134, allocations: 0 / 294.4 MB, free: 21.61 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000475/0.1345, allocations: 169.2 kB / 294.6 MB, free: 21.61 MB / 266.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.0006462/0.1351, allocations: 408.6 kB / 295 MB, free: 21.54 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004063/0.1355, allocations: 286.5 kB / 295.3 MB, free: 21.51 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.1355, allocations: 2.094 kB / 295.3 MB, free: 21.51 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002111/0.1358, allocations: 168.4 kB / 295.4 MB, free: 21.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.136, allocations: 71.47 kB / 295.5 MB, free: 21.5 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008354/0.1368, allocations: 0.7131 MB / 296.2 MB, free: 21.15 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.13e-05/0.1369, allocations: 112.3 kB / 296.3 MB, free: 21.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002507/0.1371, allocations: 91.06 kB / 296.4 MB, free: 21.03 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/0.1374, allocations: 125.7 kB / 296.5 MB, free: 20.98 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1374, allocations: 0 / 296.5 MB, free: 20.98 MB / 266.7 MB Notification: Performance of Templates: time 0.009404/0.1468, allocations: 8.716 MB / 305.3 MB, free: 16.96 MB / 266.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=240 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.363536941818893]