Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.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.NormalNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007707/0.007707, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.001434/0.001434, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.812/1.812, allocations: 205.1 MB / 222.5 MB, free: 4.395 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.001361/0.001361, allocations: 54.77 kB / 326.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1542, allocations: 46.63 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.004013/0.1582, allocations: 1.825 MB / 375 MB, free: 15.45 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003115/0.1614, allocations: 1.278 MB / 376.3 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001845/0.1617, allocations: 0 / 376.3 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002261/0.1619, allocations: 19.73 kB / 376.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.1621, allocations: 35.67 kB / 376.3 MB, free: 14.11 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.00141/0.1635, allocations: 315.1 kB / 376.7 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002913/0.1638, allocations: 219.5 kB / 376.9 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002149/0.164, allocations: 68.2 kB / 376.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.1641, allocations: 99.61 kB / 377 MB, free: 13.42 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.1643, allocations: 107.6 kB / 377.1 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.038e-05/0.1644, allocations: 20 kB / 377.2 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004877/0.1649, allocations: 291.5 kB / 377.4 MB, free: 13.01 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.316e-05/0.1649, allocations: 63.81 kB / 377.5 MB, free: 12.95 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.1651, allocations: 95.41 kB / 377.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006438/0.1657, allocations: 398.9 kB / 378 MB, free: 12.46 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1657, allocations: 4 kB / 378 MB, free: 12.46 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1657, allocations: 0 / 378 MB, free: 12.46 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.1658, allocations: 0 / 378 MB, free: 12.46 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.001412/0.1672, allocations: 0.5701 MB / 378.6 MB, free: 11.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.1672, allocations: 12.02 kB / 378.6 MB, free: 11.83 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002736/0.1675, allocations: 44.66 kB / 378.6 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.1678, allocations: 236.8 kB / 378.8 MB, free: 11.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/0.1679, allocations: 16.66 kB / 378.9 MB, free: 11.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.777e-05/0.1679, allocations: 28.27 kB / 378.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005274/0.1685, allocations: 195.3 kB / 379.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1685, allocations: 3.938 kB / 379.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.1685, allocations: 12 kB / 379.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.1685, allocations: 4 kB / 379.1 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004608/0.169, allocations: 156 kB / 379.3 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.1702, allocations: 0.5586 MB / 379.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.1714, allocations: 310.6 kB / 380.1 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003112/0.1717, allocations: 116.7 kB / 380.2 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.381e-05/0.1718, allocations: 4.062 kB / 380.2 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00046/0.1722, allocations: 167.2 kB / 380.4 MB, free: 9.891 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 2.915e-06/0.1723, allocations: 0 / 380.4 MB, free: 9.891 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001116/0.1734, allocations: 361.1 kB / 380.7 MB, free: 9.531 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.196e-05/0.1735, allocations: 59.41 kB / 380.8 MB, free: 9.461 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.1738, allocations: 211.8 kB / 381 MB, free: 9.242 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.801e-05/0.1738, allocations: 33.7 kB / 381 MB, free: 9.203 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.1739, allocations: 136.5 kB / 381.2 MB, free: 9.066 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.537e-05/0.174, allocations: 74.98 kB / 381.3 MB, free: 8.992 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.1742, allocations: 65.69 kB / 381.3 MB, free: 8.922 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.1744, allocations: 334.8 kB / 381.6 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003521/0.1747, allocations: 135.9 kB / 381.8 MB, free: 8.453 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003969/0.1751, allocations: 161.5 kB / 381.9 MB, free: 8.289 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000654/0.1758, allocations: 268.6 kB / 382.2 MB, free: 8.023 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.1758, allocations: 3.938 kB / 382.2 MB, free: 8.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008499/0.1767, allocations: 374.8 kB / 382.6 MB, free: 7.648 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.1767, allocations: 8.062 kB / 382.6 MB, free: 7.641 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.1767, allocations: 0 / 382.6 MB, free: 7.641 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.621e-05/0.1767, allocations: 4 kB / 382.6 MB, free: 7.637 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/0.1771, allocations: 67.89 kB / 382.6 MB, free: 7.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.1771, allocations: 3.984 kB / 382.6 MB, free: 7.566 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.1773, allocations: 47.61 kB / 382.7 MB, free: 7.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.1773, allocations: 15.98 kB / 382.7 MB, free: 7.504 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.0002022/0.1775, allocations: 141.6 kB / 382.8 MB, free: 7.355 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/0.1776, allocations: 23.72 kB / 382.9 MB, free: 7.332 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.341e-05/0.1777, allocations: 21.86 kB / 382.9 MB, free: 7.312 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1777, allocations: 4 kB / 382.9 MB, free: 7.309 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.1777, allocations: 4 kB / 382.9 MB, free: 7.305 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.1777, allocations: 0 / 382.9 MB, free: 7.305 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.179, allocations: 0.6308 MB / 383.5 MB, free: 6.617 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.179, allocations: 4 kB / 383.5 MB, free: 6.613 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002437/0.1792, allocations: 51.89 kB / 383.6 MB, free: 6.562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1792, allocations: 0 / 383.6 MB, free: 6.562 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.1793, allocations: 0 / 383.6 MB, free: 6.562 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/0.1793, allocations: 8 kB / 383.6 MB, free: 6.555 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.1793, allocations: 7.922 kB / 383.6 MB, free: 6.547 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.1803, allocations: 487.9 kB / 384.1 MB, free: 6.055 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.474e-05/0.1804, allocations: 96.83 kB / 384.2 MB, free: 5.941 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.756e-05/0.1805, allocations: 19.98 kB / 384.2 MB, free: 5.922 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.1806, allocations: 11.98 kB / 384.2 MB, free: 5.91 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.414e-05/0.1807, allocations: 23.91 kB / 384.2 MB, free: 5.887 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.1808, allocations: 4 kB / 384.2 MB, free: 5.883 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001644/0.1809, allocations: 147.2 kB / 384.4 MB, free: 5.738 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1809, allocations: 0 / 384.4 MB, free: 5.738 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000541/0.1815, allocations: 107.9 kB / 384.5 MB, free: 5.633 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.0008276/0.1823, allocations: 282.9 kB / 384.8 MB, free: 5.344 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000847/0.1832, allocations: 275.8 kB / 385 MB, free: 5.074 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1832, allocations: 0 / 385 MB, free: 5.074 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003177/0.1835, allocations: 115.9 kB / 385.1 MB, free: 4.961 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.1839, allocations: 35.91 kB / 385.2 MB, free: 4.926 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.185, allocations: 462.8 kB / 385.6 MB, free: 4.445 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.1854, allocations: 0.7359 MB / 386.4 MB, free: 3.68 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001233/0.1856, allocations: 29.94 kB / 386.4 MB, free: 3.652 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.072e-05/0.1857, allocations: 27.42 kB / 386.4 MB, free: 3.625 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1857, allocations: 3.938 kB / 386.4 MB, free: 3.621 MB / 318.1 MB Notification: Performance of Templates: time 0.008645/0.1943, allocations: 3.768 MB / 390.2 MB, free: 15.84 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.sim & ./Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1)