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.001264/0.001264, allocations: 115.5 kB / 16.42 MB, free: 6.031 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.001248/0.001248, allocations: 186.2 kB / 17.35 MB, free: 5.633 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.286/1.286, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02533/0.02533, allocations: 3.902 MB / 295.1 MB, free: 11.04 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 61.47 kB / 407.6 MB, free: 28.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06848/0.06974, allocations: 50.19 MB / 457.8 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.002861/0.07264, allocations: 2.031 MB / 459.8 MB, free: 7.973 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002731/0.07539, allocations: 1.655 MB / 461.5 MB, free: 6.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.07557, allocations: 7.938 kB / 461.5 MB, free: 6.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000168/0.07574, allocations: 39.48 kB / 461.5 MB, free: 6.266 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006932/0.07644, allocations: 259 kB / 461.8 MB, free: 6.012 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.0008769/0.07733, allocations: 382.9 kB / 462.1 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005653/0.07791, allocations: 0.6005 MB / 462.7 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.07812, allocations: 111.4 kB / 462.8 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002502/0.07838, allocations: 219.3 kB / 463.1 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003247/0.07871, allocations: 282.9 kB / 463.3 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.07882, allocations: 64 kB / 463.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006385/0.07947, allocations: 419.4 kB / 463.8 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.07962, allocations: 135.6 kB / 463.9 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002077/0.07984, allocations: 219 kB / 464.2 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008621/0.08071, allocations: 0.7558 MB / 464.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.08072, allocations: 4 kB / 464.9 MB, free: 2.848 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.08073, allocations: 0 / 464.9 MB, free: 2.848 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.08074, allocations: 0 / 464.9 MB, free: 2.848 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.001296/0.08205, allocations: 0.7003 MB / 465.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.08209, allocations: 8.031 kB / 465.6 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/0.08337, allocations: 172.2 kB / 465.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007097/0.0841, allocations: 367.1 kB / 466.1 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.058e-05/0.08416, allocations: 33.03 kB / 466.2 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.934e-05/0.08425, allocations: 40.38 kB / 466.2 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.08536, allocations: 478.3 kB / 466.7 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.08538, allocations: 4.188 kB / 466.7 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.309e-05/0.08544, allocations: 15.94 kB / 466.7 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.08546, allocations: 8 kB / 466.7 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00142/0.08688, allocations: 0.5139 MB / 467.2 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/0.08898, allocations: 1.209 MB / 468.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.09042, allocations: 0.5037 MB / 468.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007075/0.09114, allocations: 289.4 kB / 469.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.966e-05/0.0912, allocations: 4.375 kB / 469.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.09123, allocations: 42.88 kB / 469.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.214e-06/0.09124, allocations: 0 / 469.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.002332/0.09358, allocations: 0.8258 MB / 470.1 MB, free: 13.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.09363, allocations: 55.41 kB / 470.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.09386, allocations: 240.8 kB / 470.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.902e-05/0.09392, allocations: 33.7 kB / 470.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.564e-05/0.09403, allocations: 168.9 kB / 470.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.09416, allocations: 153.7 kB / 470.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/0.09437, allocations: 110.2 kB / 470.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.09451, allocations: 346.7 kB / 471.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007986/0.09532, allocations: 268.9 kB / 471.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007216/0.09606, allocations: 272.9 kB / 471.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/0.09745, allocations: 0.4979 MB / 472.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.09746, allocations: 0 / 472.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001689/0.09916, allocations: 0.6704 MB / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.09919, allocations: 6.969 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.0992, allocations: 0 / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.09922, allocations: 4 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000843/0.1001, allocations: 147.7 kB / 473 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.1001, allocations: 0 / 473 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003861/0.1005, allocations: 59.5 kB / 473.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.1006, allocations: 67.89 kB / 473.2 MB, free: 10.37 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.0002238/0.1008, allocations: 176 kB / 473.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.601e-05/0.1009, allocations: 31.61 kB / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001871/0.1028, allocations: 0.6713 MB / 474 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.1028, allocations: 0 / 474 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1028, allocations: 0 / 474 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.933e-05/0.1029, allocations: 112.6 kB / 474.1 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.25e-05/0.103, allocations: 19.88 kB / 474.2 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005257/0.1035, allocations: 35.95 kB / 474.2 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.1037, allocations: 64.3 kB / 474.3 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002404/0.1061, allocations: 0.7648 MB / 475 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002533/0.1086, allocations: 1.154 MB / 476.2 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007839/0.1094, allocations: 315.2 kB / 476.5 MB, free: 6.992 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001339/0.1096, allocations: 164.5 kB / 476.6 MB, free: 6.832 MB / 350.1 MB Notification: Performance of Backend: time 3.81e-07/0.1096, allocations: 0 / 476.6 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001843/0.1114, allocations: 0.6937 MB / 477.3 MB, free: 6.188 MB / 350.1 MB Notification: Performance of SimCode: time 0.001057/0.1125, allocations: 1.102 MB / 478.4 MB, free: 5.039 MB / 350.1 MB Notification: Performance of Templates: time 0.01529/0.1278, allocations: 9.936 MB / 488.4 MB, free: 11.13 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)