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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 117.5 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 198.2 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 225.6 MB / 248.5 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02499/0.02499, allocations: 3.934 MB / 307.3 MB, free: 3.172 MB / 238.1 MB " [Timeout remaining time 180] 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=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 0.001875/0.001875, allocations: 75.86 kB / 427.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2523, allocations: 52.9 MB / 480.1 MB, free: 26.47 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.00261/0.2549, allocations: 2.055 MB / 482.2 MB, free: 25.01 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002171/0.2571, allocations: 1.673 MB / 483.9 MB, free: 23.9 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.2572, allocations: 4 kB / 483.9 MB, free: 23.89 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001688/0.2574, allocations: 45.23 kB / 483.9 MB, free: 23.86 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000597/0.258, allocations: 246.4 kB / 484.2 MB, free: 23.73 MB / 366.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.0006849/0.2586, allocations: 392.1 kB / 484.5 MB, free: 23.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004127/0.2591, allocations: 0.597 MB / 485.1 MB, free: 23.22 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.2592, allocations: 76.7 kB / 485.2 MB, free: 23.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.2594, allocations: 229.7 kB / 485.4 MB, free: 23.06 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.2596, allocations: 275.8 kB / 485.7 MB, free: 22.92 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.763e-05/0.2597, allocations: 66.88 kB / 485.8 MB, free: 22.92 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000507/0.2602, allocations: 440.1 kB / 486.2 MB, free: 22.79 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.465e-05/0.2603, allocations: 140.9 kB / 486.3 MB, free: 22.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.2604, allocations: 216.1 kB / 486.5 MB, free: 22.54 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006919/0.2611, allocations: 0.7512 MB / 487.3 MB, free: 22.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2611, allocations: 0 / 487.3 MB, free: 22.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2611, allocations: 0.7969 kB / 487.3 MB, free: 22.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.2611, allocations: 0 / 487.3 MB, free: 22.23 MB / 366.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.001137/0.2622, allocations: 0.7272 MB / 488 MB, free: 21.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.2623, allocations: 13.19 kB / 488 MB, free: 21.63 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.2634, allocations: 163.4 kB / 488.2 MB, free: 21.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006163/0.264, allocations: 372.1 kB / 488.6 MB, free: 21.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.411e-05/0.2641, allocations: 35 kB / 488.6 MB, free: 21.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.898e-05/0.2642, allocations: 45.53 kB / 488.6 MB, free: 21.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009877/0.2652, allocations: 473 kB / 489.1 MB, free: 21.1 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.2652, allocations: 0.8906 kB / 489.1 MB, free: 21.1 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.591e-05/0.2652, allocations: 15.09 kB / 489.1 MB, free: 21.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.2652, allocations: 6.594 kB / 489.1 MB, free: 21.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.2664, allocations: 0.5207 MB / 489.6 MB, free: 20.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001879/0.2683, allocations: 1.188 MB / 490.8 MB, free: 20.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.2695, allocations: 487.5 kB / 491.3 MB, free: 20.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006287/0.2702, allocations: 275.2 kB / 491.6 MB, free: 19.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.33e-05/0.2702, allocations: 11.33 kB / 491.6 MB, free: 19.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.2702, allocations: 41.73 kB / 491.6 MB, free: 19.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 1.713e-06/0.2702, allocations: 1.094 kB / 491.6 MB, free: 19.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.002167/0.2724, allocations: 0.8267 MB / 492.5 MB, free: 19.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.2724, allocations: 56.91 kB / 492.5 MB, free: 19.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.2726, allocations: 233.4 kB / 492.7 MB, free: 19.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.097e-05/0.2727, allocations: 35.61 kB / 492.8 MB, free: 19.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.928e-05/0.2728, allocations: 162.5 kB / 492.9 MB, free: 19.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.2729, allocations: 165.9 kB / 493.1 MB, free: 19.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.2731, allocations: 110.4 kB / 493.2 MB, free: 18.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.536e-05/0.2731, allocations: 348.7 kB / 493.5 MB, free: 18.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006373/0.2738, allocations: 272.3 kB / 493.8 MB, free: 18.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006498/0.2744, allocations: 270 kB / 494.1 MB, free: 18.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.2756, allocations: 0.4971 MB / 494.6 MB, free: 18.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2756, allocations: 0 / 494.6 MB, free: 18.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001558/0.2772, allocations: 0.6753 MB / 495.2 MB, free: 18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.2772, allocations: 11.28 kB / 495.3 MB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2772, allocations: 3.984 kB / 495.3 MB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.2772, allocations: 2.875 kB / 495.3 MB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00076/0.278, allocations: 146.5 kB / 495.4 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.278, allocations: 6.266 kB / 495.4 MB, free: 17.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003349/0.2783, allocations: 57.88 kB / 495.5 MB, free: 17.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.2785, allocations: 68.48 kB / 495.5 MB, free: 17.93 MB / 366.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.0001646/0.2786, allocations: 166.3 kB / 495.7 MB, free: 17.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.517e-05/0.2787, allocations: 30.94 kB / 495.7 MB, free: 17.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/0.2803, allocations: 0.6692 MB / 496.4 MB, free: 17.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.2804, allocations: 6.203 kB / 496.4 MB, free: 17.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.2804, allocations: 3.938 kB / 496.4 MB, free: 17.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.2804, allocations: 2.766 kB / 496.4 MB, free: 17.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006161/0.281, allocations: 0.5774 MB / 497 MB, free: 17.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.281, allocations: 4.453 kB / 497 MB, free: 17.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007401/0.2817, allocations: 122.5 kB / 497.1 MB, free: 17.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.2817, allocations: 2.156 kB / 497.1 MB, free: 17.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.331e-05/0.2818, allocations: 21.58 kB / 497.1 MB, free: 17.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2818, allocations: 5.094 kB / 497.1 MB, free: 17.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2818, allocations: 1.125 kB / 497.1 MB, free: 17.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002151/0.2839, allocations: 1.04 MB / 498.2 MB, free: 16.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-05/0.284, allocations: 114.6 kB / 498.3 MB, free: 16.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.743e-05/0.2841, allocations: 12.61 kB / 498.3 MB, free: 16.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003691/0.2844, allocations: 33.8 kB / 498.3 MB, free: 16.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.2846, allocations: 49.45 kB / 498.4 MB, free: 16.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/0.2847, allocations: 66.23 kB / 498.5 MB, free: 16.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001239/0.2848, allocations: 165.8 kB / 498.6 MB, free: 16.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2848, allocations: 4 kB / 498.6 MB, free: 16.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005618/0.2854, allocations: 165.3 kB / 498.8 MB, free: 16.31 MB / 366.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.0007428/0.2861, allocations: 350 kB / 499.1 MB, free: 16.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001426/0.2875, allocations: 0.579 MB / 499.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2875, allocations: 0 / 499.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007012/0.2882, allocations: 310.4 kB / 0.4883 GB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.2886, allocations: 25.47 kB / 0.4883 GB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.2901, allocations: 0.9348 MB / 0.4892 GB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.2903, allocations: 0.8045 MB / 0.49 GB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000242/0.2906, allocations: 61.3 kB / 0.4901 GB, free: 14.55 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2906, allocations: 0 / 0.4901 GB, free: 14.55 MB / 366.1 MB Notification: Performance of Templates: time 0.01078/0.3014, allocations: 8.177 MB / 0.4981 GB, free: 11.36 MB / 366.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: 8.028010515030473] Failed to read output from testmodel.py, exit status != 0: 0.3084530010819435 0.31710737799999994 0.054057129 Calling exit ...