Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001622/0.001629, allocations: 110.4 kB / 16.92 MB, free: 6.332 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.001769/0.001769, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.761/1.761, allocations: 205.1 MB / 223.7 MB, free: 12.34 MB / 190.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.001825/0.001825, allocations: 47.94 kB / 280 MB, free: 3.172 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1623, allocations: 46.63 MB / 326.6 MB, free: 4.469 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.004649/0.1671, allocations: 1.828 MB / 328.5 MB, free: 2.617 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002517/0.1696, allocations: 1.283 MB / 329.7 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.1697, allocations: 0 / 329.7 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001404/0.1699, allocations: 19.73 kB / 329.8 MB, free: 1.305 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.98e-05/0.17, allocations: 27.72 kB / 329.8 MB, free: 1.277 MB / 270.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.0009636/0.171, allocations: 315.1 kB / 330.1 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000265/0.1712, allocations: 219.4 kB / 330.3 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.1714, allocations: 64.05 kB / 330.4 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.1716, allocations: 95.67 kB / 330.5 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.1718, allocations: 119.4 kB / 330.6 MB, free: 492 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.09e-05/0.1718, allocations: 24 kB / 330.6 MB, free: 468 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004619/0.1723, allocations: 291.5 kB / 330.9 MB, free: 176 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.847e-05/0.1724, allocations: 55.84 kB / 330.9 MB, free: 120 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.1725, allocations: 99.44 kB / 331 MB, free: 20 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005386/0.1731, allocations: 395.2 kB / 331.4 MB, free: 15.63 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.1731, allocations: 0 / 331.4 MB, free: 15.63 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1731, allocations: 3.938 kB / 331.4 MB, free: 15.63 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.537e-06/0.1731, allocations: 0 / 331.4 MB, free: 15.63 MB / 286.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.001207/0.1743, allocations: 0.574 MB / 332 MB, free: 15.01 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1744, allocations: 8.031 kB / 332 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002381/0.1746, allocations: 36.64 kB / 332 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.1749, allocations: 236.7 kB / 332.3 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/0.1749, allocations: 20.66 kB / 332.3 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.413e-05/0.175, allocations: 20.36 kB / 332.3 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004797/0.1755, allocations: 207 kB / 332.5 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1755, allocations: 0 / 332.5 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.1755, allocations: 4 kB / 332.5 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.1755, allocations: 4 kB / 332.5 MB, free: 14.44 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005208/0.1761, allocations: 164 kB / 332.7 MB, free: 14.28 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.1772, allocations: 0.5739 MB / 333.3 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.1782, allocations: 302.6 kB / 333.6 MB, free: 13.35 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003116/0.1786, allocations: 124.7 kB / 333.7 MB, free: 13.23 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.1786, allocations: 3.984 kB / 333.7 MB, free: 13.22 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004176/0.179, allocations: 163.3 kB / 333.8 MB, free: 13.05 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.179, allocations: 0 / 333.8 MB, free: 13.05 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.001047/0.1801, allocations: 357.1 kB / 334.2 MB, free: 12.7 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/0.1802, allocations: 59.39 kB / 334.2 MB, free: 12.62 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002378/0.1804, allocations: 219.7 kB / 334.5 MB, free: 12.39 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.1805, allocations: 33.7 kB / 334.5 MB, free: 12.36 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.1806, allocations: 128.7 kB / 334.6 MB, free: 12.23 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.296e-05/0.1806, allocations: 74.92 kB / 334.7 MB, free: 12.15 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.1808, allocations: 69.67 kB / 334.8 MB, free: 12.08 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.1809, allocations: 334.8 kB / 335.1 MB, free: 11.74 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/0.1813, allocations: 131.9 kB / 335.2 MB, free: 11.61 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003533/0.1817, allocations: 161.4 kB / 335.4 MB, free: 11.45 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006665/0.1823, allocations: 264.6 kB / 335.6 MB, free: 11.19 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.1824, allocations: 11.86 kB / 335.6 MB, free: 11.18 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008383/0.1832, allocations: 378.7 kB / 336 MB, free: 10.8 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1832, allocations: 4 kB / 336 MB, free: 10.8 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.1832, allocations: 0 / 336 MB, free: 10.8 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.1833, allocations: 4 kB / 336 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003225/0.1836, allocations: 67.89 kB / 336.1 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.1836, allocations: 0 / 336.1 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.1838, allocations: 43.72 kB / 336.1 MB, free: 10.68 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.1839, allocations: 12 kB / 336.1 MB, free: 10.67 MB / 286.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.0001642/0.184, allocations: 145.6 kB / 336.3 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/0.1841, allocations: 15.81 kB / 336.3 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.981e-05/0.1842, allocations: 25.86 kB / 336.3 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.1842, allocations: 4 kB / 336.3 MB, free: 10.47 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.1842, allocations: 0 / 336.3 MB, free: 10.47 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.1842, allocations: 4 kB / 336.3 MB, free: 10.47 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.1854, allocations: 0.6385 MB / 337 MB, free: 9.773 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1854, allocations: 0 / 337 MB, free: 9.773 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/0.1857, allocations: 43.91 kB / 337 MB, free: 9.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.1857, allocations: 7.922 kB / 337 MB, free: 9.723 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.1857, allocations: 8 kB / 337 MB, free: 9.715 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.1857, allocations: 0 / 337 MB, free: 9.715 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1857, allocations: 0 / 337 MB, free: 9.715 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.1868, allocations: 495.2 kB / 337.5 MB, free: 9.219 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.466e-05/0.1869, allocations: 100.8 kB / 337.6 MB, free: 9.102 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.141e-05/0.1869, allocations: 16 kB / 337.6 MB, free: 9.086 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.1871, allocations: 15.97 kB / 337.6 MB, free: 9.07 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.606e-05/0.1872, allocations: 15.98 kB / 337.7 MB, free: 9.055 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.1872, allocations: 7.984 kB / 337.7 MB, free: 9.047 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001352/0.1873, allocations: 151.1 kB / 337.8 MB, free: 8.898 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1873, allocations: 0 / 337.8 MB, free: 8.898 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004771/0.1878, allocations: 103.9 kB / 337.9 MB, free: 8.797 MB / 286.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.0007191/0.1886, allocations: 289.8 kB / 338.2 MB, free: 8.512 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008162/0.1894, allocations: 302.5 kB / 338.5 MB, free: 8.219 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.1894, allocations: 4.062 kB / 338.5 MB, free: 8.215 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003304/0.1897, allocations: 111.9 kB / 338.6 MB, free: 8.105 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.1901, allocations: 27.92 kB / 338.6 MB, free: 8.078 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009743/0.1911, allocations: 458.9 kB / 339.1 MB, free: 7.605 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.1915, allocations: 0.7398 MB / 339.8 MB, free: 6.836 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001382/0.1916, allocations: 25.94 kB / 339.8 MB, free: 6.809 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.913e-05/0.1917, allocations: 27.42 kB / 339.9 MB, free: 6.781 MB / 286.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1917, allocations: 4 kB / 339.9 MB, free: 6.777 MB / 286.1 MB Notification: Performance of Templates: time 0.009086/0.2008, allocations: 3.728 MB / 343.6 MB, free: 3.047 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1)