Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.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.UniformNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007253/0.007253, allocations: 101.7 kB / 15.73 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.001299/0.001299, allocations: 186.6 kB / 16.67 MB, free: 5.965 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.844/1.844, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.001809/0.001809, allocations: 62.33 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1613, allocations: 46.63 MB / 373.2 MB, free: 1.414 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.004099/0.1654, allocations: 1.825 MB / 375 MB, free: 15.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002222/0.1677, allocations: 1.005 MB / 376 MB, free: 14.55 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.1679, allocations: 0 / 376 MB, free: 14.55 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001721/0.168, allocations: 19.73 kB / 376 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.1683, allocations: 35.72 kB / 376.1 MB, free: 14.5 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.0007561/0.1691, allocations: 191.5 kB / 376.3 MB, free: 14.31 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003132/0.1694, allocations: 223.5 kB / 376.5 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002282/0.1696, allocations: 72.19 kB / 376.5 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.1698, allocations: 99.61 kB / 376.6 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.1699, allocations: 115.5 kB / 376.8 MB, free: 13.81 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.542e-05/0.17, allocations: 20 kB / 376.8 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000296/0.1703, allocations: 135.9 kB / 376.9 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.995e-05/0.1704, allocations: 59.75 kB / 377 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.1705, allocations: 103.5 kB / 377.1 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000477/0.171, allocations: 299.1 kB / 377.4 MB, free: 13.21 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.171, allocations: 0 / 377.4 MB, free: 13.21 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.827e-06/0.171, allocations: 4 kB / 377.4 MB, free: 13.2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.1711, allocations: 11.92 kB / 377.4 MB, free: 13.19 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001387/0.1725, allocations: 0.5468 MB / 377.9 MB, free: 12.6 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.397e-05/0.1725, allocations: 12.03 kB / 377.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002804/0.1728, allocations: 40.64 kB / 378 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.1732, allocations: 240.7 kB / 378.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.195e-05/0.1732, allocations: 16.66 kB / 378.2 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.372e-05/0.1733, allocations: 20.28 kB / 378.2 MB, free: 12.24 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000484/0.1738, allocations: 195.3 kB / 378.4 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.1738, allocations: 0 / 378.4 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.1738, allocations: 4 kB / 378.4 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.1738, allocations: 8 kB / 378.4 MB, free: 12.03 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004522/0.1743, allocations: 160 kB / 378.6 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.1754, allocations: 0.5625 MB / 379.2 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.1764, allocations: 302.6 kB / 379.5 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003011/0.1768, allocations: 128.6 kB / 379.6 MB, free: 10.83 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.1768, allocations: 4.062 kB / 379.6 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003971/0.1772, allocations: 167.2 kB / 379.8 MB, free: 10.65 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.783e-06/0.1772, allocations: 0 / 379.8 MB, free: 10.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.000969/0.1782, allocations: 357.1 kB / 380.1 MB, free: 10.29 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.012e-05/0.1783, allocations: 59.41 kB / 380.2 MB, free: 10.22 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.1785, allocations: 211.8 kB / 380.4 MB, free: 10 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.353e-05/0.1786, allocations: 41.69 kB / 380.4 MB, free: 9.957 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.1787, allocations: 128.5 kB / 380.5 MB, free: 9.828 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.983e-05/0.1788, allocations: 74.98 kB / 380.6 MB, free: 9.754 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.1789, allocations: 61.69 kB / 380.7 MB, free: 9.688 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1791, allocations: 338.8 kB / 381 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/0.1794, allocations: 131.9 kB / 381.1 MB, free: 9.219 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003632/0.1798, allocations: 161.5 kB / 381.3 MB, free: 9.055 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006229/0.1804, allocations: 268.6 kB / 381.5 MB, free: 8.789 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.1804, allocations: 3.938 kB / 381.6 MB, free: 8.785 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008519/0.1813, allocations: 378.8 kB / 381.9 MB, free: 8.41 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.1813, allocations: 15.94 kB / 381.9 MB, free: 8.395 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.1813, allocations: 3.984 kB / 381.9 MB, free: 8.391 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/0.1814, allocations: 4 kB / 381.9 MB, free: 8.387 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002841/0.1816, allocations: 63.89 kB / 382 MB, free: 8.324 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/0.1817, allocations: 4 kB / 382 MB, free: 8.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.1819, allocations: 51.66 kB / 382.1 MB, free: 8.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.991e-05/0.1819, allocations: 8 kB / 382.1 MB, free: 8.262 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,globalSeed.seed,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 1 * 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.000188/0.1821, allocations: 153.6 kB / 382.2 MB, free: 8.102 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.1821, allocations: 19.72 kB / 382.2 MB, free: 8.082 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.99e-05/0.1822, allocations: 21.86 kB / 382.3 MB, free: 8.062 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1822, allocations: 3.984 kB / 382.3 MB, free: 8.059 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.1822, allocations: 0 / 382.3 MB, free: 8.059 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.1823, allocations: 8 kB / 382.3 MB, free: 8.051 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.1834, allocations: 0.6269 MB / 382.9 MB, free: 7.367 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1835, allocations: 4 kB / 382.9 MB, free: 7.363 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/0.1837, allocations: 43.91 kB / 382.9 MB, free: 7.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.1837, allocations: 0 / 382.9 MB, free: 7.32 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.078e-05/0.1838, allocations: 15.98 kB / 383 MB, free: 7.305 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1838, allocations: 0 / 383 MB, free: 7.305 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1838, allocations: 0 / 383 MB, free: 7.305 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.1848, allocations: 487.9 kB / 383.4 MB, free: 6.812 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.1849, allocations: 100.9 kB / 383.5 MB, free: 6.695 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.378e-05/0.185, allocations: 11.88 kB / 383.5 MB, free: 6.684 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.1852, allocations: 27.97 kB / 383.6 MB, free: 6.656 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.714e-05/0.1853, allocations: 11.98 kB / 383.6 MB, free: 6.645 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.1853, allocations: 4 kB / 383.6 MB, free: 6.641 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001609/0.1855, allocations: 155.2 kB / 383.7 MB, free: 6.488 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1855, allocations: 0 / 383.7 MB, free: 6.488 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004237/0.1859, allocations: 67.94 kB / 383.8 MB, free: 6.422 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0005876/0.1865, allocations: 214.9 kB / 384 MB, free: 6.199 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007775/0.1873, allocations: 283.7 kB / 384.3 MB, free: 5.922 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1873, allocations: 0 / 384.3 MB, free: 5.922 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003181/0.1876, allocations: 115.9 kB / 384.4 MB, free: 5.809 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.188, allocations: 39.91 kB / 384.4 MB, free: 5.77 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.1891, allocations: 450.8 kB / 384.9 MB, free: 5.301 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.1896, allocations: 0.7398 MB / 385.6 MB, free: 4.531 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001365/0.1897, allocations: 33.92 kB / 385.7 MB, free: 4.5 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.104e-05/0.1898, allocations: 27.42 kB / 385.7 MB, free: 4.473 MB / 318.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1898, allocations: 0 / 385.7 MB, free: 4.473 MB / 318.1 MB Notification: Performance of Templates: time 0.008305/0.1981, allocations: 3.124 MB / 388.8 MB, free: 1.344 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe 2>&1)