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.001169/0.001169, allocations: 80.75 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.001744/0.001744, allocations: 181 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 1.077/1.077, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.01828/0.01828, allocations: 3.151 MB / 263.4 MB, free: 9.949 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.643e-06/1.643e-06, allocations: 0 / 280.7 MB, free: 8.664 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.773e-05, allocations: 6.25 kB / 280.7 MB, free: 8.656 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.002818/0.002846, allocations: 2.035 MB / 282.7 MB, free: 6.609 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002371/0.005217, allocations: 1.658 MB / 284.4 MB, free: 4.945 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.005355, allocations: 7.938 kB / 284.4 MB, free: 4.938 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000172/0.005527, allocations: 43.47 kB / 284.4 MB, free: 4.895 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006375/0.006165, allocations: 262.8 kB / 284.7 MB, free: 4.637 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.0007851/0.00695, allocations: 406.7 kB / 285.1 MB, free: 4.238 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004815/0.007432, allocations: 0.5965 MB / 285.7 MB, free: 3.641 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.007586, allocations: 82.41 kB / 285.8 MB, free: 3.559 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002908/0.007876, allocations: 331.3 kB / 286.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.008081, allocations: 227.5 kB / 286.3 MB, free: 3.012 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.277e-05/0.008143, allocations: 60 kB / 286.4 MB, free: 2.953 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006059/0.008749, allocations: 491 kB / 286.9 MB, free: 2.473 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.008856, allocations: 139.5 kB / 287 MB, free: 2.336 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.008957, allocations: 147.6 kB / 287.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006392/0.009596, allocations: 0.6347 MB / 287.8 MB, free: 1.555 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.009598, allocations: 0 / 287.8 MB, free: 1.555 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.009599, allocations: 0 / 287.8 MB, free: 1.555 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.009603, allocations: 0 / 287.8 MB, free: 1.555 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.0007183/0.01032, allocations: 0.6185 MB / 288.4 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.01036, allocations: 12.03 kB / 288.4 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000675/0.01103, allocations: 224.4 kB / 288.6 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.01131, allocations: 233.4 kB / 288.8 MB, free: 432 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.216e-05/0.01135, allocations: 33.03 kB / 288.9 MB, free: 400 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.547e-05/0.01141, allocations: 44.36 kB / 288.9 MB, free: 356 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004112/0.01182, allocations: 318.3 kB / 289.2 MB, free: 32 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.01183, allocations: 192 / 289.2 MB, free: 32 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.01185, allocations: 12.38 kB / 289.2 MB, free: 20 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.01186, allocations: 12.31 kB / 289.3 MB, free: 8 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1194/0.1312, allocations: 162 kB / 289.4 MB, free: 23.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.1326, allocations: 0.6661 MB / 290.1 MB, free: 22.94 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005584/0.1332, allocations: 265.2 kB / 290.3 MB, free: 22.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.1334, allocations: 100.3 kB / 290.4 MB, free: 22.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.16e-05/0.1334, allocations: 11.75 kB / 290.4 MB, free: 22.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.1334, allocations: 38.94 kB / 290.5 MB, free: 22.87 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 2.555e-06/0.1334, allocations: 0.6562 kB / 290.5 MB, free: 22.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=46): time 0.0006603/0.1341, allocations: 339.5 kB / 290.8 MB, free: 22.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.1341, allocations: 58.33 kB / 290.9 MB, free: 22.76 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.1343, allocations: 221.1 kB / 291.1 MB, free: 22.65 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.1343, allocations: 33.67 kB / 291.1 MB, free: 22.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.055e-05/0.1343, allocations: 146.3 kB / 291.3 MB, free: 22.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.953e-05/0.1344, allocations: 170.5 kB / 291.4 MB, free: 22.44 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.1346, allocations: 109.1 kB / 291.5 MB, free: 22.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.789e-05/0.1347, allocations: 352.6 kB / 291.9 MB, free: 22.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.1348, allocations: 82.03 kB / 292 MB, free: 22.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.135, allocations: 92.39 kB / 292.1 MB, free: 22.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004175/0.1354, allocations: 235 kB / 292.3 MB, free: 22.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1354, allocations: 0 / 292.3 MB, free: 22.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0004722/0.1359, allocations: 300.4 kB / 292.6 MB, free: 22.04 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.1359, allocations: 5.938 kB / 292.6 MB, free: 22.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1359, allocations: 5.25 kB / 292.6 MB, free: 22.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1359, allocations: 6 kB / 292.6 MB, free: 22.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005219/0.1365, allocations: 151.4 kB / 292.7 MB, free: 22.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1365, allocations: 1.656 kB / 292.7 MB, free: 22.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.1366, allocations: 53.59 kB / 292.8 MB, free: 22.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.1367, allocations: 68.69 kB / 292.9 MB, free: 22.03 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.0001039/0.1368, allocations: 133.1 kB / 293 MB, free: 21.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.471e-05/0.1369, allocations: 37.73 kB / 293 MB, free: 21.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005824/0.1375, allocations: 344.2 kB / 293.4 MB, free: 21.86 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.1375, allocations: 4.469 kB / 293.4 MB, free: 21.86 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.1375, allocations: 1.031 kB / 293.4 MB, free: 21.86 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.1375, allocations: 3.766 kB / 293.4 MB, free: 21.86 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003666/0.1379, allocations: 285.9 kB / 293.7 MB, free: 21.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1379, allocations: 0.6094 kB / 293.7 MB, free: 21.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005094/0.1384, allocations: 126.1 kB / 293.8 MB, free: 21.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.1384, allocations: 6.375 kB / 293.8 MB, free: 21.78 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.991e-05/0.1384, allocations: 18.42 kB / 293.8 MB, free: 21.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1384, allocations: 2.219 kB / 293.8 MB, free: 21.78 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/0.1384, allocations: 1.844 kB / 293.8 MB, free: 21.78 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008072/0.1392, allocations: 0.5085 MB / 294.3 MB, free: 21.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/0.1393, allocations: 34.73 kB / 294.3 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.083e-05/0.1393, allocations: 15.62 kB / 294.4 MB, free: 21.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.1395, allocations: 22.72 kB / 294.4 MB, free: 21.6 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.1397, allocations: 54.84 kB / 294.4 MB, free: 21.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.1398, allocations: 63.92 kB / 294.5 MB, free: 21.6 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.701e-05/0.1398, allocations: 72.48 kB / 294.6 MB, free: 21.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1398, allocations: 0 / 294.6 MB, free: 21.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000526/0.1404, allocations: 170.3 kB / 294.7 MB, free: 21.59 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.0007729/0.1411, allocations: 412.1 kB / 295.1 MB, free: 21.51 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005101/0.1417, allocations: 287 kB / 295.4 MB, free: 21.49 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.1417, allocations: 2.562 kB / 295.4 MB, free: 21.49 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002614/0.1419, allocations: 165.1 kB / 295.6 MB, free: 21.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.1422, allocations: 66.28 kB / 295.7 MB, free: 21.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009539/0.1432, allocations: 0.721 MB / 296.4 MB, free: 21.12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.91e-05/0.1432, allocations: 111.5 kB / 296.5 MB, free: 21.04 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003386/0.1436, allocations: 91.53 kB / 296.6 MB, free: 21 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/0.1439, allocations: 126.8 kB / 296.7 MB, free: 20.96 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1439, allocations: 4 kB / 296.7 MB, free: 20.95 MB / 266.7 MB Notification: Performance of Templates: time 0.01113/0.155, allocations: 8.711 MB / 305.4 MB, free: 16.82 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.60929004708305]