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.001015/0.001015, allocations: 115.3 kB / 16.42 MB, free: 6.496 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.001073/0.001073, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.331/1.331, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02628/0.02627, allocations: 3.913 MB / 295.1 MB, free: 11.03 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 57.31 kB / 407.6 MB, free: 28.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07305/0.07435, allocations: 50.19 MB / 457.8 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.002941/0.07733, allocations: 2.017 MB / 459.8 MB, free: 7.977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002789/0.08014, allocations: 1.666 MB / 461.5 MB, free: 6.305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.08031, allocations: 4 kB / 461.5 MB, free: 6.301 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001877/0.08051, allocations: 47.47 kB / 461.5 MB, free: 6.254 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007405/0.08128, allocations: 247 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.0009153/0.0822, allocations: 390.9 kB / 462.1 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006073/0.08282, allocations: 0.5888 MB / 462.7 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/0.08304, allocations: 107.4 kB / 462.8 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002598/0.08331, allocations: 227.3 kB / 463.1 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003272/0.08364, allocations: 279 kB / 463.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.08376, allocations: 64 kB / 463.4 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006698/0.08444, allocations: 427.4 kB / 463.8 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.08458, allocations: 139.6 kB / 463.9 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.08479, allocations: 207 kB / 464.2 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009344/0.08573, allocations: 0.7632 MB / 464.9 MB, free: 2.848 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.08574, allocations: 0 / 464.9 MB, free: 2.848 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.08575, allocations: 0 / 464.9 MB, free: 2.848 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.08577, 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.001412/0.08719, allocations: 0.7303 MB / 465.6 MB, free: 2.062 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.08723, allocations: 8.031 kB / 465.7 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/0.08855, allocations: 168.4 kB / 465.8 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007162/0.08928, allocations: 371.3 kB / 466.2 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-05/0.08936, allocations: 33.03 kB / 466.2 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.08947, allocations: 40.33 kB / 466.3 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.09063, allocations: 478.3 kB / 466.7 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.09066, allocations: 192 / 466.7 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.871e-05/0.09071, allocations: 19.94 kB / 466.7 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.09073, allocations: 8 kB / 466.7 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/0.09218, allocations: 0.5217 MB / 467.3 MB, free: 408 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002199/0.0944, allocations: 1.206 MB / 468.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.09587, allocations: 0.5036 MB / 469 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007174/0.0966, allocations: 281.5 kB / 469.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.974e-05/0.09667, allocations: 12.36 kB / 469.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.09671, allocations: 42.88 kB / 469.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.886e-06/0.09672, allocations: 0 / 469.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.002702/0.09942, allocations: 0.8298 MB / 470.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.09947, allocations: 59.34 kB / 470.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.09971, allocations: 229 kB / 470.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.661e-05/0.09977, allocations: 37.7 kB / 470.5 MB, free: 13.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.257e-05/0.09987, allocations: 157.1 kB / 470.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/0.1, allocations: 178.5 kB / 470.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002116/0.1002, allocations: 106.2 kB / 470.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1004, allocations: 346.7 kB / 471.2 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007257/0.1011, allocations: 261 kB / 471.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007467/0.1019, allocations: 272.9 kB / 471.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/0.1033, allocations: 0.5057 MB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1034, allocations: 0 / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001713/0.1051, allocations: 0.6666 MB / 472.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.1051, allocations: 6.969 kB / 472.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.1051, allocations: 7.938 kB / 472.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1051, allocations: 0 / 472.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008472/0.106, allocations: 143.8 kB / 473.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.106, allocations: 0 / 473.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003816/0.1064, allocations: 67.58 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/0.1066, allocations: 71.83 kB / 473.2 MB, free: 10.32 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.000209/0.1068, allocations: 174.1 kB / 473.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.1069, allocations: 27.81 kB / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001899/0.1088, allocations: 0.6751 MB / 474.1 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.1088, allocations: 3.984 kB / 474.1 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1088, allocations: 0 / 474.1 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.729e-05/0.1089, allocations: 116.8 kB / 474.2 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.308e-05/0.109, allocations: 11.94 kB / 474.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004882/0.1095, allocations: 39.95 kB / 474.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.1096, allocations: 56.3 kB / 474.3 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002413/0.112, allocations: 0.7689 MB / 475.1 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002622/0.1147, allocations: 1.158 MB / 476.2 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007706/0.1155, allocations: 311.2 kB / 476.5 MB, free: 6.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001465/0.1156, allocations: 168.5 kB / 476.7 MB, free: 6.777 MB / 350.1 MB Notification: Performance of Backend: time 5.11e-07/0.1156, allocations: 0 / 476.7 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001964/0.1176, allocations: 0.6977 MB / 477.4 MB, free: 6.129 MB / 350.1 MB Notification: Performance of SimCode: time 0.001165/0.1188, allocations: 1.113 MB / 478.5 MB, free: 4.965 MB / 350.1 MB Notification: Performance of Templates: time 0.01565/0.1344, allocations: 9.94 MB / 488.5 MB, free: 11.06 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)