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.009233/0.009233, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001314/0.001314, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.923/1.923, allocations: 205.1 MB / 222.6 MB, free: 4.371 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.001306/0.001306, allocations: 47.66 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1465, allocations: 46.63 MB / 373.2 MB, free: 1.273 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.004684/0.1513, allocations: 1.829 MB / 375 MB, free: 15.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002476/0.1538, allocations: 1.001 MB / 376 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.154, allocations: 0 / 376 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002302/0.1542, allocations: 23.73 kB / 376 MB, free: 14.39 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002941/0.1545, allocations: 35.72 kB / 376.1 MB, free: 14.36 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.000869/0.1554, allocations: 187.5 kB / 376.3 MB, free: 14.17 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003659/0.1558, allocations: 219.5 kB / 376.5 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002805/0.1561, allocations: 72.19 kB / 376.5 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.1563, allocations: 99.61 kB / 376.6 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.1565, allocations: 115.5 kB / 376.7 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.698e-05/0.1565, allocations: 24 kB / 376.8 MB, free: 13.65 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003156/0.1569, allocations: 131.9 kB / 376.9 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.157, allocations: 67.75 kB / 377 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.1571, allocations: 95.45 kB / 377.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005682/0.1577, allocations: 302.8 kB / 377.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.308e-06/0.1577, allocations: 3.938 kB / 377.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.1578, allocations: 8 kB / 377.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.1578, allocations: 0 / 377.4 MB, free: 13.05 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.001653/0.1594, allocations: 0.558 MB / 377.9 MB, free: 12.45 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.73e-05/0.1595, allocations: 12.02 kB / 377.9 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003039/0.1598, allocations: 36.8 kB / 378 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003734/0.1602, allocations: 244.8 kB / 378.2 MB, free: 12.12 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/0.1602, allocations: 20.64 kB / 378.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.137e-05/0.1603, allocations: 24.38 kB / 378.3 MB, free: 12.08 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005123/0.1608, allocations: 191.3 kB / 378.4 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1609, allocations: 3.938 kB / 378.4 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.1609, allocations: 8 kB / 378.5 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.1609, allocations: 4 kB / 378.5 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004418/0.1614, allocations: 156 kB / 378.6 MB, free: 11.72 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.1624, allocations: 0.5704 MB / 379.2 MB, free: 11.1 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.1635, allocations: 306.6 kB / 379.5 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003055/0.1639, allocations: 120.7 kB / 379.6 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.1639, allocations: 4 kB / 379.6 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004046/0.1643, allocations: 159.3 kB / 379.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.854e-06/0.1643, allocations: 0 / 379.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001056/0.1654, allocations: 365.2 kB / 380.1 MB, free: 10.14 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.1655, allocations: 63.39 kB / 380.2 MB, free: 10.06 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.1658, allocations: 211.8 kB / 380.4 MB, free: 9.844 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.636e-05/0.1658, allocations: 41.69 kB / 380.4 MB, free: 9.797 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.1659, allocations: 128.6 kB / 380.5 MB, free: 9.668 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.976e-05/0.166, allocations: 71.38 kB / 380.6 MB, free: 9.598 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.1661, allocations: 69.69 kB / 380.7 MB, free: 9.523 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1663, allocations: 330.8 kB / 381 MB, free: 9.191 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003334/0.1666, allocations: 135.9 kB / 381.1 MB, free: 9.059 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003564/0.167, allocations: 165.5 kB / 381.3 MB, free: 8.891 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006219/0.1676, allocations: 264.6 kB / 381.6 MB, free: 8.629 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.1677, allocations: 7.938 kB / 381.6 MB, free: 8.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008121/0.1685, allocations: 382.8 kB / 381.9 MB, free: 8.242 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.1685, allocations: 4.156 kB / 381.9 MB, free: 8.238 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.1685, allocations: 7.938 kB / 382 MB, free: 8.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/0.1686, allocations: 0 / 382 MB, free: 8.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.1689, allocations: 59.95 kB / 382 MB, free: 8.172 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.1689, allocations: 7.938 kB / 382 MB, free: 8.164 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.1691, allocations: 51.77 kB / 382.1 MB, free: 8.113 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-05/0.1691, allocations: 8 kB / 382.1 MB, free: 8.105 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.0001759/0.1693, allocations: 149.6 kB / 382.2 MB, free: 7.949 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.1693, allocations: 15.91 kB / 382.2 MB, free: 7.934 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.841e-05/0.1694, allocations: 25.86 kB / 382.3 MB, free: 7.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1694, allocations: 0 / 382.3 MB, free: 7.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.1694, allocations: 4 kB / 382.3 MB, free: 7.906 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.1694, allocations: 4 kB / 382.3 MB, free: 7.902 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.1706, allocations: 0.6346 MB / 382.9 MB, free: 7.211 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1706, allocations: 4 kB / 382.9 MB, free: 7.207 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002366/0.1708, allocations: 51.89 kB / 383 MB, free: 7.156 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1708, allocations: 0 / 383 MB, free: 7.156 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.1709, allocations: 7.984 kB / 383 MB, free: 7.148 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1709, allocations: 0 / 383 MB, free: 7.148 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1709, allocations: 4 kB / 383 MB, free: 7.145 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009809/0.1719, allocations: 488.1 kB / 383.5 MB, free: 6.652 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.53e-05/0.1719, allocations: 101 kB / 383.6 MB, free: 6.535 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/0.172, allocations: 7.938 kB / 383.6 MB, free: 6.527 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.1722, allocations: 27.92 kB / 383.6 MB, free: 6.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.963e-05/0.1722, allocations: 11.97 kB / 383.6 MB, free: 6.488 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.1723, allocations: 12 kB / 383.6 MB, free: 6.477 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001346/0.1724, allocations: 147.2 kB / 383.8 MB, free: 6.332 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.673e-06/0.1724, allocations: 0 / 383.8 MB, free: 6.332 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003864/0.1728, allocations: 79.75 kB / 383.8 MB, free: 6.254 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.0004907/0.1733, allocations: 210.9 kB / 384 MB, free: 6.035 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000826/0.1741, allocations: 279.8 kB / 384.3 MB, free: 5.762 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1742, allocations: 3.938 kB / 384.3 MB, free: 5.758 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003126/0.1745, allocations: 112 kB / 384.4 MB, free: 5.648 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.1749, allocations: 39.78 kB / 384.5 MB, free: 5.609 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009721/0.1758, allocations: 465.8 kB / 384.9 MB, free: 5.125 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004949/0.1764, allocations: 0.7398 MB / 385.7 MB, free: 4.355 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001249/0.1765, allocations: 29.94 kB / 385.7 MB, free: 4.328 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.692e-05/0.1766, allocations: 19.44 kB / 385.7 MB, free: 4.309 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1766, allocations: 3.938 kB / 385.7 MB, free: 4.305 MB / 318.1 MB Notification: Performance of Templates: time 0.007977/0.1846, allocations: 3.121 MB / 388.8 MB, free: 1.18 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)