Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001736/0.001736, allocations: 106.6 kB / 17.06 MB, free: 6 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.001867/0.001867, allocations: 191 kB / 18 MB, free: 5.086 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.777/1.777, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001197/0.001197, allocations: 59.91 kB / 327.9 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1374, allocations: 46.61 MB / 374.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.003274/0.1407, allocations: 1.828 MB / 376.3 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002257/0.143, allocations: 1.005 MB / 377.3 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.1431, allocations: 4 kB / 377.3 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000165/0.1433, allocations: 23.67 kB / 377.4 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.1435, allocations: 31.72 kB / 377.4 MB, free: 1.648 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.0006999/0.1442, allocations: 191.4 kB / 377.6 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002725/0.1445, allocations: 219.5 kB / 377.8 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.1447, allocations: 68.25 kB / 377.9 MB, free: 1.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.1449, allocations: 95.62 kB / 377.9 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.145, allocations: 119.5 kB / 378.1 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.148e-05/0.1451, allocations: 24 kB / 378.1 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002512/0.1453, allocations: 131.8 kB / 378.2 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.075e-05/0.1454, allocations: 67.75 kB / 378.3 MB, free: 0.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.1456, allocations: 99.45 kB / 378.4 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004488/0.146, allocations: 315 kB / 378.7 MB, free: 352 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.146, allocations: 0 / 378.7 MB, free: 352 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.146, allocations: 0 / 378.7 MB, free: 352 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1461, allocations: 0 / 378.7 MB, free: 352 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.3371/0.4831, allocations: 0.5516 MB / 379.2 MB, free: 13.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.233e-05/0.4832, allocations: 9.625 kB / 379.2 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003077/0.4836, allocations: 35.53 kB / 379.3 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.4839, allocations: 233.7 kB / 379.5 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.725e-05/0.4839, allocations: 13.77 kB / 379.5 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.258e-05/0.484, allocations: 19.12 kB / 379.5 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005507/0.4846, allocations: 196.7 kB / 379.7 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.4846, allocations: 2.719 kB / 379.7 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.4846, allocations: 9.219 kB / 379.7 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.4846, allocations: 4.125 kB / 379.8 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004985/0.4851, allocations: 149.1 kB / 379.9 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.4863, allocations: 0.5733 MB / 380.5 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.4875, allocations: 307.9 kB / 380.8 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003206/0.4878, allocations: 113.4 kB / 380.9 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.4878, allocations: 7.531 kB / 380.9 MB, free: 12.44 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004471/0.4883, allocations: 172.8 kB / 381.1 MB, free: 12.38 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 3.236e-06/0.4883, allocations: 5.078 kB / 381.1 MB, free: 12.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.00127/0.4896, allocations: 353.7 kB / 381.4 MB, free: 12.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.4897, allocations: 64.72 kB / 381.5 MB, free: 12.28 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003368/0.49, allocations: 211.7 kB / 381.7 MB, free: 12.17 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.305e-05/0.4901, allocations: 40.77 kB / 381.7 MB, free: 12.14 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.4902, allocations: 126.5 kB / 381.8 MB, free: 12.04 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.145e-05/0.4903, allocations: 74.59 kB / 381.9 MB, free: 11.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.4904, allocations: 68.47 kB / 382 MB, free: 11.94 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.4906, allocations: 332.3 kB / 382.3 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004333/0.491, allocations: 131.9 kB / 382.4 MB, free: 11.59 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004031/0.4914, allocations: 165.8 kB / 382.6 MB, free: 11.53 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000671/0.4921, allocations: 265.8 kB / 382.9 MB, free: 11.44 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4921, allocations: 0 / 382.9 MB, free: 11.44 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000868/0.493, allocations: 385.6 kB / 383.2 MB, free: 11.3 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.493, allocations: 5.922 kB / 383.2 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.493, allocations: 3.156 kB / 383.2 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.4931, allocations: 6.109 kB / 383.2 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/0.4934, allocations: 69.41 kB / 383.3 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.4934, allocations: 3.375 kB / 383.3 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.4936, allocations: 40.27 kB / 383.4 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.03e-05/0.4936, allocations: 14.11 kB / 383.4 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.0001314/0.4938, allocations: 142.6 kB / 383.5 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.4938, allocations: 24.41 kB / 383.5 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.892e-05/0.4939, allocations: 23.55 kB / 383.6 MB, free: 11.1 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.4939, allocations: 2.188 kB / 383.6 MB, free: 11.1 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.4939, allocations: 1.219 kB / 383.6 MB, free: 11.1 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.4939, allocations: 1.172 kB / 383.6 MB, free: 11.1 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.4952, allocations: 0.6407 MB / 384.2 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.4952, allocations: 3.562 kB / 384.2 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000256/0.4955, allocations: 45.52 kB / 384.3 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.4955, allocations: 0 / 384.3 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.4955, allocations: 5.156 kB / 384.3 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.4955, allocations: 1.531 kB / 384.3 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4955, allocations: 0 / 384.3 MB, free: 10.69 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.4967, allocations: 494.2 kB / 384.7 MB, free: 10.44 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.881e-05/0.4968, allocations: 91.88 kB / 384.8 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.132e-05/0.4968, allocations: 9.766 kB / 384.8 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.497, allocations: 28.75 kB / 384.9 MB, free: 10.33 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.01e-05/0.4971, allocations: 11.39 kB / 384.9 MB, free: 10.33 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.4971, allocations: 13.45 kB / 384.9 MB, free: 10.32 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001769/0.4973, allocations: 150 kB / 385 MB, free: 10.23 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4973, allocations: 5.312 kB / 385 MB, free: 10.22 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004784/0.4978, allocations: 71.34 kB / 385.1 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.0005876/0.4984, allocations: 220.7 kB / 385.3 MB, free: 10.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008329/0.4993, allocations: 284 kB / 385.6 MB, free: 9.996 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4993, allocations: 0 / 385.6 MB, free: 9.996 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003832/0.4997, allocations: 114.4 kB / 385.7 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.0003594/0.5, allocations: 31.73 kB / 385.7 MB, free: 9.953 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009929/0.501, allocations: 452.3 kB / 386.2 MB, free: 9.688 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.5014, allocations: 0.7379 MB / 386.9 MB, free: 8.984 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001418/0.5015, allocations: 35.28 kB / 387 MB, free: 8.977 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.316e-05/0.5016, allocations: 22.31 kB / 387 MB, free: 8.969 MB / 318.1 MB Notification: Performance of SimCode: time 7.52e-07/0.5016, allocations: 5.031 kB / 387 MB, free: 8.965 MB / 318.1 MB Notification: Performance of Templates: time 0.009748/0.5114, allocations: 3.133 MB / 390.1 MB, free: 8.688 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe 2>&1)