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.001177/0.001178, allocations: 107.2 kB / 15.99 MB, free: 6.359 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.001174/0.001174, allocations: 194.3 kB / 16.91 MB, free: 6.195 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.185/1.185, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02221/0.02221, allocations: 3.897 MB / 294.6 MB, free: 11.31 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001064, allocations: 55.91 kB / 355.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1883, allocations: 50.17 MB / 405.8 MB, free: 32.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedCorrelations): time 0.002368/0.1907, allocations: 2.12 MB / 407.9 MB, free: 30.19 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.1926, allocations: 1.64 MB / 409.6 MB, free: 28.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.602e-05/0.1927, allocations: 8.844 kB / 409.6 MB, free: 28.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.1929, allocations: 27.72 kB / 409.6 MB, free: 28.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005173/0.1934, allocations: 222.4 kB / 409.8 MB, free: 28.3 MB / 302.1 MB [/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‘. Notification: Performance of NFTyping.typeClassSections: time 0.0005365/0.1939, allocations: 341.5 kB / 410.1 MB, free: 27.97 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003299/0.1943, allocations: 0.5966 MB / 410.7 MB, free: 27.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.1944, allocations: 103.4 kB / 410.8 MB, free: 27.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.1946, allocations: 227.3 kB / 411.1 MB, free: 27.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.1948, allocations: 283 kB / 411.3 MB, free: 26.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.099e-05/0.1948, allocations: 64 kB / 411.4 MB, free: 26.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004191/0.1953, allocations: 431.4 kB / 411.8 MB, free: 26.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.485e-05/0.1954, allocations: 131.6 kB / 411.9 MB, free: 26.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.1955, allocations: 226.9 kB / 412.2 MB, free: 25.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004039/0.1959, allocations: 0.5635 MB / 412.7 MB, free: 25.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1959, allocations: 0 / 412.7 MB, free: 25.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1959, allocations: 0 / 412.7 MB, free: 25.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1959, allocations: 0 / 412.7 MB, free: 25.37 MB / 302.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.0009998/0.1969, allocations: 0.7167 MB / 413.4 MB, free: 24.6 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.197, allocations: 12.03 kB / 413.5 MB, free: 24.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.1981, allocations: 160.2 kB / 413.6 MB, free: 24.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005376/0.1986, allocations: 375.1 kB / 414 MB, free: 24.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.721e-05/0.1987, allocations: 33.03 kB / 414 MB, free: 23.99 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.113e-05/0.1988, allocations: 36.38 kB / 414 MB, free: 23.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008978/0.1997, allocations: 474.3 kB / 414.5 MB, free: 23.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1997, allocations: 4.188 kB / 414.5 MB, free: 23.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.865e-05/0.1998, allocations: 15.94 kB / 414.5 MB, free: 23.47 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.1998, allocations: 12 kB / 414.5 MB, free: 23.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.2009, allocations: 0.5178 MB / 415.1 MB, free: 22.94 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.2026, allocations: 1.205 MB / 416.3 MB, free: 21.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.2037, allocations: 0.5114 MB / 416.8 MB, free: 21.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005725/0.2043, allocations: 285.5 kB / 417.1 MB, free: 20.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.522e-05/0.2044, allocations: 8.359 kB / 417.1 MB, free: 20.87 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.2044, allocations: 38.94 kB / 417.1 MB, free: 20.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=46): time 1.944e-06/0.2044, allocations: 0 / 417.1 MB, free: 20.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=46): time 0.001946/0.2064, allocations: 0.8258 MB / 417.9 MB, free: 19.99 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.2064, allocations: 55.41 kB / 418 MB, free: 19.92 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.2066, allocations: 236.9 kB / 418.2 MB, free: 19.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.448e-05/0.2066, allocations: 41.64 kB / 418.3 MB, free: 19.63 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.869e-05/0.2067, allocations: 156.9 kB / 418.4 MB, free: 19.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.144e-05/0.2068, allocations: 165.6 kB / 418.6 MB, free: 19.31 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.207, allocations: 106.2 kB / 418.7 MB, free: 19.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.198e-05/0.207, allocations: 346.7 kB / 419 MB, free: 18.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005917/0.2076, allocations: 265 kB / 419.3 MB, free: 18.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005846/0.2082, allocations: 268.9 kB / 419.5 MB, free: 18.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.2093, allocations: 0.5095 MB / 420 MB, free: 17.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2093, allocations: 0 / 420 MB, free: 17.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001386/0.2107, allocations: 0.6664 MB / 420.7 MB, free: 17.15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.2108, allocations: 4 kB / 420.7 MB, free: 17.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2108, allocations: 0 / 420.7 MB, free: 17.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.2108, allocations: 4 kB / 420.7 MB, free: 17.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007296/0.2115, allocations: 147.7 kB / 420.9 MB, free: 17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.2115, allocations: 0 / 420.9 MB, free: 17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.2119, allocations: 59.66 kB / 420.9 MB, free: 16.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.439e-05/0.212, allocations: 67.83 kB / 421 MB, free: 16.87 MB / 302.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.0001624/0.2122, allocations: 166.3 kB / 421.1 MB, free: 16.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.908e-05/0.2122, allocations: 31.61 kB / 421.2 MB, free: 16.67 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/0.214, allocations: 0.8224 MB / 422 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.989e-05/0.214, allocations: 8 kB / 422 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.214, allocations: 0 / 422 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.2141, allocations: 3.984 kB / 422 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006237/0.2147, allocations: 0.6261 MB / 422.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.2147, allocations: 0 / 422.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007007/0.2154, allocations: 119.8 kB / 422.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.2154, allocations: 0 / 422.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-05/0.2155, allocations: 19.98 kB / 422.8 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.2155, allocations: 12 kB / 422.8 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2155, allocations: 3.938 kB / 422.8 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002068/0.2176, allocations: 1.17 MB / 424 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.656e-05/0.2176, allocations: 112.5 kB / 424.1 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.089e-05/0.2177, allocations: 12 kB / 424.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000368/0.2181, allocations: 35.95 kB / 424.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.2182, allocations: 56.48 kB / 424.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.802e-05/0.2183, allocations: 74.27 kB / 424.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.751e-05/0.2184, allocations: 168.4 kB / 424.4 MB, free: 13.35 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2184, allocations: 0 / 424.4 MB, free: 13.35 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004982/0.2189, allocations: 163.8 kB / 424.6 MB, free: 13.19 MB / 302.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: 10 ($cse4[1],$cse4[2],$cse6[1],$cse6[2],$cse8[1],$cse8[2],$cse10[1],$cse10[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 (56): * Single equations (assignments): 46 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 4 * 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.0005905/0.2195, allocations: 372.3 kB / 424.9 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001577/0.2211, allocations: 0.7102 MB / 425.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2211, allocations: 0 / 425.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007041/0.2218, allocations: 473.8 kB / 426.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.2222, allocations: 32.41 kB / 426.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.2236, allocations: 1.165 MB / 427.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000183/0.2238, allocations: 0.8199 MB / 428.1 MB, free: 9.602 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000241/0.2241, allocations: 59.38 kB / 428.2 MB, free: 9.547 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2241, allocations: 0 / 428.2 MB, free: 9.547 MB / 302.1 MB Notification: Performance of Templates: time 0.008241/0.2323, allocations: 8.323 MB / 436.5 MB, free: 1.246 MB / 302.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)