Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo) Running command: translateModel(AdvancedNoise.Examples.SignalBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise") translateModel(AdvancedNoise.Examples.SignalBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02673/0.02673, allocations: 3.912 MB / 19.71 MB, free: 2.008 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 188.5 kB / 21.34 MB, free: 392 kB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 222.9 MB / 245.8 MB, free: 6.309 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009326/0.0009326, allocations: 114.9 kB / 296.7 MB, free: 6.895 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009258/0.0009258, allocations: 55.91 kB / 357.7 MB, free: 9.953 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1848, allocations: 50.18 MB / 407.8 MB, free: 28.48 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.002141/0.187, allocations: 1.538 MB / 409.4 MB, free: 26.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.1884, allocations: 1.067 MB / 410.4 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.405e-05/0.1884, allocations: 0 / 410.4 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.1886, allocations: 7.875 kB / 410.5 MB, free: 25.87 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.1887, allocations: 17.08 kB / 410.5 MB, free: 25.86 MB / 298.7 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.0004112/0.1891, allocations: 155.6 kB / 410.6 MB, free: 25.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.1893, allocations: 115 kB / 410.7 MB, free: 25.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.797e-05/0.1894, allocations: 12 kB / 410.7 MB, free: 25.58 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.052e-05/0.1894, allocations: 43.77 kB / 410.8 MB, free: 25.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.755e-05/0.1895, allocations: 43.77 kB / 410.8 MB, free: 25.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.1895, allocations: 4 kB / 410.8 MB, free: 25.49 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.1897, allocations: 159.8 kB / 411 MB, free: 25.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.27e-05/0.1898, allocations: 19.86 kB / 411 MB, free: 25.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.073e-05/0.1898, allocations: 32.36 kB / 411 MB, free: 25.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.1901, allocations: 203.5 kB / 411.2 MB, free: 25.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1901, allocations: 4 kB / 411.2 MB, free: 25.08 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1901, allocations: 0 / 411.2 MB, free: 25.08 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1901, allocations: 0 / 411.2 MB, free: 25.08 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004395/0.1906, allocations: 425.2 kB / 411.7 MB, free: 24.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.1906, allocations: 12.03 kB / 411.7 MB, free: 24.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00033/0.1909, allocations: 48.78 kB / 411.7 MB, free: 24.56 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.1911, allocations: 220.6 kB / 411.9 MB, free: 24.31 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1912, allocations: 4.375 kB / 411.9 MB, free: 24.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.1912, allocations: 8.125 kB / 411.9 MB, free: 24.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.1913, allocations: 85.58 kB / 412 MB, free: 24.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.1913, allocations: 0 / 412 MB, free: 24.21 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1914, allocations: 0 / 412 MB, free: 24.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1914, allocations: 7.938 kB / 412 MB, free: 24.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.1915, allocations: 55.95 kB / 412.1 MB, free: 24.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004274/0.1919, allocations: 356.7 kB / 412.4 MB, free: 23.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.1921, allocations: 90.48 kB / 412.5 MB, free: 23.65 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.609e-05/0.1922, allocations: 44.84 kB / 412.6 MB, free: 23.6 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.1922, allocations: 0 / 412.6 MB, free: 23.6 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.1922, allocations: 30.56 kB / 412.6 MB, free: 23.56 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.1922, allocations: 4 kB / 412.6 MB, free: 23.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003152/0.1925, allocations: 157.6 kB / 412.8 MB, free: 23.4 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.064e-05/0.1926, allocations: 55.41 kB / 412.8 MB, free: 23.33 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.908e-05/0.1927, allocations: 146.4 kB / 413 MB, free: 23.17 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.1927, allocations: 33.64 kB / 413 MB, free: 23.13 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.135e-05/0.1927, allocations: 92.14 kB / 413.1 MB, free: 23.04 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.1927, allocations: 31.55 kB / 413.1 MB, free: 23.01 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.562e-05/0.1928, allocations: 37.64 kB / 413.1 MB, free: 22.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.864e-05/0.1928, allocations: 322.8 kB / 413.5 MB, free: 22.64 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.572e-05/0.1929, allocations: 31.92 kB / 413.5 MB, free: 22.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.167e-05/0.193, allocations: 39.97 kB / 413.5 MB, free: 22.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.1931, allocations: 84.98 kB / 413.6 MB, free: 22.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1931, allocations: 4 kB / 413.6 MB, free: 22.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001954/0.1933, allocations: 133.5 kB / 413.8 MB, free: 22.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.938e-06/0.1933, allocations: 4 kB / 413.8 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.1933, allocations: 0 / 413.8 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.1934, allocations: 3.984 kB / 413.8 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.1935, allocations: 23.92 kB / 413.8 MB, free: 22.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1935, allocations: 4 kB / 413.8 MB, free: 22.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.201e-05/0.1935, allocations: 11.88 kB / 413.8 MB, free: 22.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.371e-05/0.1936, allocations: 26.77 kB / 413.8 MB, free: 22.27 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (globalSeed.seed,signalBasedNoise.actualGlobalSeed,globalSeed.id_impure,signalBasedNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 5.984e-05/0.1936, allocations: 125.8 kB / 413.9 MB, free: 22.14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.1937, allocations: 7.906 kB / 414 MB, free: 22.13 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003289/0.194, allocations: 210 kB / 414.2 MB, free: 21.92 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.471e-05/0.194, allocations: 7.984 kB / 414.2 MB, free: 21.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1941, allocations: 0 / 414.2 MB, free: 21.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1941, allocations: 3.938 kB / 414.2 MB, free: 21.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.1943, allocations: 221.5 kB / 414.4 MB, free: 21.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1943, allocations: 0 / 414.4 MB, free: 21.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.541e-05/0.1944, allocations: 15.98 kB / 414.4 MB, free: 21.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1944, allocations: 0 / 414.4 MB, free: 21.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.1944, allocations: 11.98 kB / 414.4 MB, free: 21.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1944, allocations: 0 / 414.4 MB, free: 21.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1944, allocations: 0 / 414.4 MB, free: 21.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004299/0.1948, allocations: 0.8883 MB / 415.3 MB, free: 20.67 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.184e-05/0.1949, allocations: 108.9 kB / 415.4 MB, free: 20.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.1949, allocations: 0 / 415.4 MB, free: 20.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.047e-05/0.195, allocations: 4 kB / 415.4 MB, free: 20.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.195, allocations: 15.97 kB / 415.4 MB, free: 20.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-05/0.1951, allocations: 31.89 kB / 415.5 MB, free: 20.49 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.656e-05/0.1951, allocations: 111.2 kB / 415.6 MB, free: 20.38 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1951, allocations: 0 / 415.6 MB, free: 20.38 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003705/0.1955, allocations: 52 kB / 415.6 MB, free: 20.33 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($cse2[1],$cse2[2],$cse4[1],$cse4[2],signalBasedNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 7 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 1 * 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.000353/0.1959, allocations: 235.4 kB / 415.8 MB, free: 20.14 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001996/0.1961, allocations: 115.8 kB / 416 MB, free: 20.03 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1961, allocations: 0 / 416 MB, free: 20.03 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.1962, allocations: 119.4 kB / 416.1 MB, free: 19.9 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.1964, allocations: 23.88 kB / 416.1 MB, free: 19.88 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004027/0.1969, allocations: 423.1 kB / 416.5 MB, free: 19.42 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.197, allocations: 0.7121 MB / 417.2 MB, free: 18.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.911e-05/0.1971, allocations: 40.25 kB / 417.3 MB, free: 18.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.23e-05/0.1971, allocations: 23.42 kB / 417.3 MB, free: 18.62 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1971, allocations: 4 kB / 417.3 MB, free: 18.62 MB / 298.7 MB Notification: Performance of Templates: time 0.003838/0.201, allocations: 2.289 MB / 419.6 MB, free: 16.33 MB / 298.7 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.makefile (rm -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.sim & ./AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise -abortSlowSimulation -alarm=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe 2>&1)