Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008358/0.008358, allocations: 102.5 kB / 15.73 MB, free: 5.984 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.001557/0.001558, allocations: 199.2 kB / 16.68 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.1 MB / 222.5 MB, free: 4.484 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 58.45 kB / 326.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1718, allocations: 46.62 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.005108/0.177, allocations: 1.469 MB / 374.6 MB, free: 15.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002456/0.1795, allocations: 0.5613 MB / 375.2 MB, free: 15.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.1797, allocations: 0 / 375.2 MB, free: 15.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.18, allocations: 7.875 kB / 375.2 MB, free: 15.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.1801, allocations: 27.8 kB / 375.2 MB, free: 15.24 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:994:5-1084:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:321:7-386:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift128plus.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.1814, allocations: 147.5 kB / 375.4 MB, free: 15.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004534/0.1819, allocations: 115.7 kB / 375.5 MB, free: 14.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.182, allocations: 12.86 kB / 375.5 MB, free: 14.97 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.1821, allocations: 51.83 kB / 375.6 MB, free: 14.92 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.1823, allocations: 55.7 kB / 375.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.841e-05/0.1824, allocations: 12 kB / 375.6 MB, free: 14.85 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004353/0.1829, allocations: 131.8 kB / 375.7 MB, free: 14.72 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.183, allocations: 27.92 kB / 375.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.1831, allocations: 59.66 kB / 375.8 MB, free: 14.64 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005572/0.1837, allocations: 219.4 kB / 376 MB, free: 14.42 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.1837, allocations: 0 / 376 MB, free: 14.42 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1837, allocations: 0 / 376 MB, free: 14.42 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.1838, allocations: 0 / 376 MB, free: 14.42 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.00122/0.185, allocations: 454.8 kB / 376.5 MB, free: 13.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.001e-05/0.1851, allocations: 12.03 kB / 376.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006393/0.1857, allocations: 44.72 kB / 376.5 MB, free: 13.87 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000366/0.1861, allocations: 192.1 kB / 376.7 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.066e-05/0.1862, allocations: 4.375 kB / 376.7 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.1862, allocations: 12.36 kB / 376.8 MB, free: 13.63 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004244/0.1867, allocations: 115.8 kB / 376.9 MB, free: 13.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.1867, allocations: 192 / 376.9 MB, free: 13.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.1868, allocations: 7.938 kB / 376.9 MB, free: 13.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.1868, allocations: 0 / 376.9 MB, free: 13.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/0.1871, allocations: 59.95 kB / 376.9 MB, free: 13.44 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.1882, allocations: 369.4 kB / 377.3 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006116/0.1889, allocations: 133.1 kB / 377.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/0.1891, allocations: 65.67 kB / 377.5 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.1891, allocations: 3.938 kB / 377.5 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006039/0.1897, allocations: 144.9 kB / 377.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 2.985e-06/0.1898, allocations: 0 / 377.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009369/0.1907, allocations: 234 kB / 377.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001932/0.1909, allocations: 93.09 kB / 378 MB, free: 12.3 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/0.1912, allocations: 178.3 kB / 378.1 MB, free: 12.11 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.1914, allocations: 49.69 kB / 378.2 MB, free: 12.05 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.1915, allocations: 104.6 kB / 378.3 MB, free: 11.95 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.114e-05/0.1916, allocations: 39.55 kB / 378.3 MB, free: 11.91 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.1917, allocations: 53.92 kB / 378.4 MB, free: 11.85 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002209/0.192, allocations: 330.8 kB / 378.7 MB, free: 11.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003156/0.1923, allocations: 96.47 kB / 378.8 MB, free: 11.42 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003958/0.1927, allocations: 131.5 kB / 378.9 MB, free: 11.29 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005919/0.1933, allocations: 222.8 kB / 379.1 MB, free: 11.06 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.1934, allocations: 0 / 379.1 MB, free: 11.06 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008144/0.1942, allocations: 297.2 kB / 379.4 MB, free: 10.76 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.674e-05/0.1942, allocations: 12.06 kB / 379.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.1943, allocations: 3.984 kB / 379.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/0.1943, allocations: 0 / 379.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.1946, allocations: 27.92 kB / 379.5 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.78e-05/0.1946, allocations: 7.984 kB / 379.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.1948, allocations: 19.78 kB / 379.5 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.305e-05/0.1948, allocations: 15.97 kB / 379.5 MB, free: 10.68 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1],uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 2 * 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.0002582/0.1951, allocations: 149.9 kB / 379.7 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.1952, allocations: 19.8 kB / 379.7 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.444e-05/0.1952, allocations: 9.406 kB / 379.7 MB, free: 10.49 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.1953, allocations: 4 kB / 379.7 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.1953, allocations: 0 / 379.7 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1953, allocations: 0 / 379.7 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003491/0.1956, allocations: 213.5 kB / 379.9 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1957, allocations: 0 / 379.9 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.1958, allocations: 4 kB / 379.9 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.1958, allocations: 4 kB / 379.9 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.1959, allocations: 8 kB / 379.9 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.1959, allocations: 3.984 kB / 379.9 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1959, allocations: 0 / 379.9 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005692/0.1965, allocations: 221.6 kB / 380.1 MB, free: 9.969 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.1966, allocations: 96.84 kB / 380.2 MB, free: 9.855 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.042e-05/0.1967, allocations: 8 kB / 380.2 MB, free: 9.848 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.124e-05/0.1968, allocations: 16.08 kB / 380.2 MB, free: 9.832 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.278e-05/0.1969, allocations: 11.97 kB / 380.3 MB, free: 9.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.1969, allocations: 7.938 kB / 380.3 MB, free: 9.812 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001724/0.1971, allocations: 123.2 kB / 380.4 MB, free: 9.691 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1971, allocations: 0 / 380.4 MB, free: 9.691 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005127/0.1976, allocations: 51.98 kB / 380.4 MB, free: 9.641 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007591/0.1984, allocations: 230.2 kB / 380.7 MB, free: 9.406 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007317/0.1992, allocations: 203.7 kB / 380.9 MB, free: 9.207 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1992, allocations: 0 / 380.9 MB, free: 9.207 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.1994, allocations: 59.97 kB / 380.9 MB, free: 9.148 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.1997, allocations: 15.98 kB / 380.9 MB, free: 9.133 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007977/0.2005, allocations: 243.8 kB / 381.2 MB, free: 8.867 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005492/0.2011, allocations: 0.712 MB / 381.9 MB, free: 8.129 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000232/0.2013, allocations: 20.94 kB / 381.9 MB, free: 8.105 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.779e-05/0.2014, allocations: 15.42 kB / 381.9 MB, free: 8.09 MB / 318.1 MB Notification: Performance of SimCode: time 8.92e-07/0.2014, allocations: 0 / 381.9 MB, free: 8.09 MB / 318.1 MB Notification: Performance of Templates: time 0.01007/0.2115, allocations: 2.138 MB / 384.1 MB, free: 5.949 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1)