Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.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.01183/0.01183, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.002001/0.002001, allocations: 191.8 kB / 16.67 MB, free: 5.52 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.677/1.677, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.001271/0.001271, allocations: 59.91 kB / 326.6 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1374, allocations: 46.61 MB / 373.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.003625/0.1411, allocations: 1.832 MB / 375 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002115/0.1432, allocations: 0.9977 MB / 376 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.717e-05/0.1433, allocations: 11.94 kB / 376 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001504/0.1435, allocations: 15.75 kB / 376 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.1437, allocations: 35.7 kB / 376.1 MB, free: 1.645 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.0006478/0.1443, allocations: 191.4 kB / 376.2 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002416/0.1446, allocations: 223.5 kB / 376.5 MB, free: 1.238 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.1448, allocations: 76.23 kB / 376.5 MB, free: 1.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.1449, allocations: 95.62 kB / 376.6 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.1451, allocations: 111.5 kB / 376.7 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.068e-05/0.1451, allocations: 23.94 kB / 376.8 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002616/0.1454, allocations: 139.9 kB / 376.9 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.863e-05/0.1455, allocations: 55.77 kB / 377 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.1456, allocations: 107.4 kB / 377.1 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004075/0.146, allocations: 311 kB / 377.4 MB, free: 344 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.146, allocations: 0 / 377.4 MB, free: 344 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.146, allocations: 0 / 377.4 MB, free: 344 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.146, allocations: 0 / 377.4 MB, free: 344 kB / 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.3019/0.448, allocations: 0.5482 MB / 377.9 MB, free: 13.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.311e-05/0.4481, allocations: 9.219 kB / 377.9 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003657/0.4485, allocations: 35.94 kB / 378 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000421/0.4489, allocations: 239.6 kB / 378.2 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.381e-05/0.4489, allocations: 16.56 kB / 378.2 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.363e-05/0.449, allocations: 18.59 kB / 378.2 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005851/0.4496, allocations: 195.7 kB / 378.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.4496, allocations: 0 / 378.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.4497, allocations: 8.891 kB / 378.4 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.4497, allocations: 4.125 kB / 378.4 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000479/0.4502, allocations: 151.8 kB / 378.6 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.4514, allocations: 0.5776 MB / 379.2 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.4525, allocations: 298 kB / 379.4 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003225/0.4528, allocations: 121.5 kB / 379.6 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.4529, allocations: 5.328 kB / 379.6 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004507/0.4533, allocations: 171.5 kB / 379.7 MB, free: 12.38 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 2.455e-06/0.4533, allocations: 9.078 kB / 379.7 MB, free: 12.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001197/0.4545, allocations: 349.8 kB / 380.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.4546, allocations: 61.64 kB / 380.1 MB, free: 12.28 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.4549, allocations: 213.8 kB / 380.4 MB, free: 12.17 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.128e-05/0.4549, allocations: 41.12 kB / 380.4 MB, free: 12.14 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.999e-05/0.455, allocations: 130.6 kB / 380.5 MB, free: 12.04 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.645e-05/0.4551, allocations: 72.58 kB / 380.6 MB, free: 11.99 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.4552, allocations: 67.84 kB / 380.7 MB, free: 11.95 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.307e-05/0.4553, allocations: 336.2 kB / 381 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003365/0.4557, allocations: 128.2 kB / 381.1 MB, free: 11.59 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003675/0.4561, allocations: 166.1 kB / 381.3 MB, free: 11.54 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006373/0.4567, allocations: 265.2 kB / 381.5 MB, free: 11.45 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4567, allocations: 0 / 381.5 MB, free: 11.45 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008749/0.4576, allocations: 381.8 kB / 381.9 MB, free: 11.31 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.4576, allocations: 6.406 kB / 381.9 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.4576, allocations: 3.844 kB / 381.9 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.4577, allocations: 2.125 kB / 381.9 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003146/0.458, allocations: 75.03 kB / 382 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.458, allocations: 1.656 kB / 382 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.4582, allocations: 41.23 kB / 382 MB, free: 11.28 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.756e-05/0.4582, allocations: 13.22 kB / 382.1 MB, free: 11.27 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.0001535/0.4584, allocations: 145.4 kB / 382.2 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.4585, allocations: 25.41 kB / 382.2 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.238e-05/0.4585, allocations: 23.81 kB / 382.2 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.4586, allocations: 5.375 kB / 382.2 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.4586, allocations: 0.875 kB / 382.2 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.4586, allocations: 1.453 kB / 382.2 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.4597, allocations: 0.6373 MB / 382.9 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4597, allocations: 0 / 382.9 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002451/0.46, allocations: 40.94 kB / 382.9 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.46, allocations: 1 kB / 382.9 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/0.46, allocations: 10.97 kB / 382.9 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.46, allocations: 1.156 kB / 382.9 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.46, allocations: 0.9375 kB / 382.9 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.4611, allocations: 494 kB / 383.4 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.4611, allocations: 91.88 kB / 383.5 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.407e-05/0.4612, allocations: 10.55 kB / 383.5 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.4614, allocations: 24.86 kB / 383.5 MB, free: 10.33 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.768e-05/0.4614, allocations: 11.69 kB / 383.6 MB, free: 10.33 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.4615, allocations: 12.91 kB / 383.6 MB, free: 10.33 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001463/0.4616, allocations: 154.9 kB / 383.7 MB, free: 10.23 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4616, allocations: 4 kB / 383.7 MB, free: 10.22 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004398/0.4621, allocations: 73.34 kB / 383.8 MB, free: 10.21 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.000575/0.4626, allocations: 217.6 kB / 384 MB, free: 10.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008151/0.4635, allocations: 284.2 kB / 384.3 MB, free: 9.996 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4635, allocations: 0 / 384.3 MB, free: 9.996 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003453/0.4638, allocations: 114.2 kB / 384.4 MB, free: 9.969 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.4642, allocations: 28.72 kB / 384.4 MB, free: 9.953 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.4652, allocations: 455.1 kB / 384.9 MB, free: 9.688 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.4655, allocations: 0.7342 MB / 385.6 MB, free: 8.988 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001475/0.4657, allocations: 32.38 kB / 385.6 MB, free: 8.98 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.26e-05/0.4658, allocations: 27.34 kB / 385.7 MB, free: 8.969 MB / 318.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4658, allocations: 4 kB / 385.7 MB, free: 8.965 MB / 318.1 MB Notification: Performance of Templates: time 0.00895/0.4747, allocations: 3.136 MB / 388.8 MB, free: 8.691 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.sim & ./Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe 2>&1)