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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) Using package AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AdvancedNoise.Examples.SignalBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations") translateModel(AdvancedNoise.Examples.SignalBasedCorrelations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001087, allocations: 102 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 192.2 kB / 17.34 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02523/0.02523, allocations: 3.897 MB / 295.1 MB, free: 11.03 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 61.41 kB / 407.6 MB, free: 28.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06734/0.06849, allocations: 50.19 MB / 457.8 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.002932/0.07146, allocations: 2.018 MB / 459.8 MB, free: 7.973 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002619/0.0741, allocations: 1.655 MB / 461.5 MB, free: 6.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.07426, allocations: 7.938 kB / 461.5 MB, free: 6.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.07443, allocations: 47.48 kB / 461.5 MB, free: 6.258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006906/0.07514, allocations: 262.9 kB / 461.8 MB, free: 6 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-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 1.1.0-master/Sources/SignalBasedNoise.mo:250:3-261: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.0.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 1.1.0-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 1.1.0-master/Sources/SignalBasedNoise.mo:250:3-261: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.000837/0.07599, allocations: 383 kB / 462.1 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005679/0.07657, allocations: 0.5966 MB / 462.7 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.07676, allocations: 107.4 kB / 462.8 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000251/0.07702, allocations: 227.3 kB / 463.1 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003114/0.07734, allocations: 279 kB / 463.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.07746, allocations: 64 kB / 463.4 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006233/0.07809, allocations: 419.4 kB / 463.8 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.07822, allocations: 139.6 kB / 463.9 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.07841, allocations: 207 kB / 464.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008098/0.07923, allocations: 0.7598 MB / 464.9 MB, free: 2.848 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.07924, allocations: 0 / 464.9 MB, free: 2.848 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.07925, allocations: 4 kB / 464.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.07926, allocations: 0 / 464.9 MB, free: 2.844 MB / 334.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.001255/0.08052, allocations: 0.7042 MB / 465.6 MB, free: 2.086 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.08056, allocations: 12.03 kB / 465.6 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.08179, allocations: 164.2 kB / 465.8 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006643/0.08246, allocations: 375.1 kB / 466.1 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.314e-05/0.08253, allocations: 33.03 kB / 466.2 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.493e-05/0.08262, allocations: 36.38 kB / 466.2 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.08374, allocations: 474.3 kB / 466.7 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.08376, allocations: 192 / 466.7 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.608e-05/0.08382, allocations: 19.94 kB / 466.7 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.08384, allocations: 15.92 kB / 466.7 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/0.08525, allocations: 0.5178 MB / 467.2 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002022/0.08728, allocations: 1.201 MB / 468.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.0887, allocations: 0.5031 MB / 468.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007107/0.08943, allocations: 285.4 kB / 469.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.038e-05/0.08949, allocations: 16.3 kB / 469.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.08952, allocations: 42.94 kB / 469.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 1.743e-06/0.08953, allocations: 0 / 469.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.002369/0.0919, allocations: 0.8219 MB / 470.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.09195, allocations: 55.41 kB / 470.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.09218, allocations: 236.8 kB / 470.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.394e-05/0.09224, allocations: 37.7 kB / 470.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.347e-05/0.09234, allocations: 156.9 kB / 470.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.09248, allocations: 153.7 kB / 470.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/0.09268, allocations: 114.2 kB / 470.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.09281, allocations: 350.7 kB / 471.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007299/0.09355, allocations: 268.9 kB / 471.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007267/0.09429, allocations: 272.9 kB / 471.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/0.09566, allocations: 0.4979 MB / 472.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.09568, allocations: 0 / 472.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001669/0.09735, allocations: 0.6665 MB / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.09738, allocations: 8 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.09739, allocations: 0 / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.09741, allocations: 4 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00082/0.09823, allocations: 147.7 kB / 473 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.09825, allocations: 0 / 473 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/0.09862, allocations: 63.5 kB / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.09874, allocations: 71.83 kB / 473.2 MB, free: 10.36 MB / 350.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.0002053/0.09895, allocations: 174.1 kB / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.901e-05/0.09905, allocations: 31.61 kB / 473.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001817/0.1009, allocations: 0.6752 MB / 474 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1009, allocations: 4 kB / 474 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.1009, allocations: 0 / 474 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.1009, allocations: 3.938 kB / 474 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006418/0.1016, allocations: 0.5753 MB / 474.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.1016, allocations: 4 kB / 474.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008257/0.1024, allocations: 115.8 kB / 474.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.1024, allocations: 4 kB / 474.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.231e-05/0.1025, allocations: 15.98 kB / 474.8 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.1025, allocations: 8 kB / 474.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1025, allocations: 3.984 kB / 474.8 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002441/0.1049, allocations: 1.034 MB / 475.8 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.314e-05/0.105, allocations: 108.6 kB / 475.9 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.594e-05/0.1051, allocations: 12 kB / 475.9 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000394/0.1055, allocations: 32.05 kB / 475.9 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.1057, allocations: 64.3 kB / 476 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.1058, allocations: 59.89 kB / 476.1 MB, free: 7.352 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001352/0.1059, allocations: 168.4 kB / 476.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1059, allocations: 0 / 476.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005213/0.1064, allocations: 159.8 kB / 476.4 MB, free: 7.031 MB / 350.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.000641/0.1071, allocations: 345.3 kB / 476.7 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001589/0.1087, allocations: 0.6108 MB / 477.3 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1087, allocations: 0 / 477.3 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007845/0.1095, allocations: 318.3 kB / 477.6 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.1098, allocations: 28.38 kB / 477.7 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.1115, allocations: 0.9253 MB / 478.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.1118, allocations: 0.7997 MB / 479.4 MB, free: 3.996 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/0.1121, allocations: 67.36 kB / 479.5 MB, free: 3.93 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1121, allocations: 4 kB / 479.5 MB, free: 3.926 MB / 350.1 MB Notification: Performance of Templates: time 0.01121/0.1233, allocations: 8.126 MB / 487.6 MB, free: 11.82 MB / 366.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedCorrelations.makefile (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)