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.006871/0.006871, 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.001239/0.00124, allocations: 191.2 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.731/1.731, allocations: 205.1 MB / 222.5 MB, free: 12.24 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.001246/0.001246, allocations: 55.91 kB / 326.6 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1414, allocations: 46.61 MB / 373.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.004129/0.1456, allocations: 1.828 MB / 375 MB, free: 2.727 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002471/0.1481, allocations: 1.013 MB / 376 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.1483, allocations: 0 / 376 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001818/0.1485, allocations: 15.75 kB / 376 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002632/0.1487, allocations: 39.64 kB / 376.1 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.0008388/0.1496, allocations: 191.4 kB / 376.3 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004484/0.15, allocations: 219.5 kB / 376.5 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002487/0.1503, allocations: 68.27 kB / 376.5 MB, free: 1.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.1505, allocations: 99.61 kB / 376.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.1507, allocations: 115.5 kB / 376.7 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.006e-05/0.1507, allocations: 20 kB / 376.8 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003271/0.1511, allocations: 139.8 kB / 376.9 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.1512, allocations: 55.83 kB / 377 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.1514, allocations: 111.4 kB / 377.1 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006065/0.152, allocations: 303.1 kB / 377.4 MB, free: 360 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.152, allocations: 0 / 377.4 MB, free: 360 kB / 318.1 MB Notification: Performance of FrontEnd: time 5.991e-06/0.152, allocations: 0 / 377.4 MB, free: 360 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.152, allocations: 3.938 kB / 377.4 MB, free: 356 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.3621/0.5142, allocations: 0.5481 MB / 377.9 MB, free: 13.05 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.697e-05/0.5143, allocations: 11.91 kB / 377.9 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003366/0.5146, allocations: 36.06 kB / 378 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/0.515, allocations: 240.9 kB / 378.2 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.367e-05/0.515, allocations: 12.95 kB / 378.2 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.379e-05/0.5151, allocations: 21.36 kB / 378.2 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006613/0.5158, allocations: 197.1 kB / 378.4 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.5158, allocations: 0 / 378.4 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.5158, allocations: 9.359 kB / 378.4 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.5159, allocations: 4.125 kB / 378.4 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005633/0.5164, allocations: 150.4 kB / 378.6 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.5179, allocations: 0.5737 MB / 379.2 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.5193, allocations: 302.3 kB / 379.4 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003726/0.5197, allocations: 121.9 kB / 379.6 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.5197, allocations: 3.703 kB / 379.6 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005457/0.5203, allocations: 173.6 kB / 379.7 MB, free: 12.41 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 3.346e-06/0.5203, allocations: 3.562 kB / 379.7 MB, free: 12.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001424/0.5217, allocations: 351.3 kB / 380.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.697e-05/0.5218, allocations: 67 kB / 380.2 MB, free: 12.3 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/0.5222, allocations: 210.8 kB / 380.4 MB, free: 12.2 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.472e-05/0.5222, allocations: 40.34 kB / 380.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.5224, allocations: 125.5 kB / 380.5 MB, free: 12.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.115e-05/0.5225, allocations: 70.97 kB / 380.6 MB, free: 12.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/0.5227, allocations: 68.23 kB / 380.7 MB, free: 11.98 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.5228, allocations: 336 kB / 381 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005057/0.5233, allocations: 136.6 kB / 381.1 MB, free: 11.62 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004911/0.5239, allocations: 161.5 kB / 381.3 MB, free: 11.56 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000862/0.5247, allocations: 264.2 kB / 381.5 MB, free: 11.47 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.5247, allocations: 0.875 kB / 381.5 MB, free: 11.47 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00119/0.5259, allocations: 386.5 kB / 381.9 MB, free: 11.33 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.16e-05/0.526, allocations: 6.391 kB / 381.9 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.526, allocations: 5.344 kB / 381.9 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.595e-05/0.5261, allocations: 2.375 kB / 381.9 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/0.5265, allocations: 71.09 kB / 382 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-05/0.5265, allocations: 2.062 kB / 382 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.5267, allocations: 36.86 kB / 382 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.609e-05/0.5268, allocations: 16.11 kB / 382.1 MB, free: 11.3 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.0002258/0.527, allocations: 142 kB / 382.2 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.589e-05/0.5271, allocations: 24.34 kB / 382.2 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.5272, allocations: 24.14 kB / 382.2 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.527e-06/0.5272, allocations: 3.438 kB / 382.2 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.5272, allocations: 0 / 382.2 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.5273, allocations: 0.9844 kB / 382.2 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/0.5288, allocations: 0.6391 MB / 382.9 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.5289, allocations: 0 / 382.9 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.5291, allocations: 45.67 kB / 382.9 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.5292, allocations: 0.8438 kB / 382.9 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.5292, allocations: 3.922 kB / 382.9 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.5292, allocations: 1.188 kB / 382.9 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.5292, allocations: 4.75 kB / 382.9 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.5305, allocations: 490.1 kB / 383.4 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.203e-05/0.5305, allocations: 100.1 kB / 383.5 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/0.5306, allocations: 5.344 kB / 383.5 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.5308, allocations: 29.98 kB / 383.5 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.735e-05/0.5309, allocations: 11.3 kB / 383.6 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.652e-05/0.531, allocations: 12.59 kB / 383.6 MB, free: 10.35 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001966/0.5312, allocations: 155 kB / 383.7 MB, free: 10.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5312, allocations: 0 / 383.7 MB, free: 10.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005302/0.5317, allocations: 68.36 kB / 383.8 MB, free: 10.24 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.000735/0.5325, allocations: 228.2 kB / 384 MB, free: 10.1 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009678/0.5334, allocations: 282.2 kB / 384.3 MB, free: 10.03 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5335, allocations: 1.219 kB / 384.3 MB, free: 10.03 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003837/0.5338, allocations: 114 kB / 384.4 MB, free: 10 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.5343, allocations: 31.31 kB / 384.4 MB, free: 9.984 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.5355, allocations: 456.5 kB / 384.9 MB, free: 9.715 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.5359, allocations: 0.7389 MB / 385.6 MB, free: 9.012 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001772/0.5361, allocations: 28.33 kB / 385.6 MB, free: 9.008 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.5362, allocations: 23.53 kB / 385.7 MB, free: 9 MB / 318.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5362, allocations: 4 kB / 385.7 MB, free: 8.996 MB / 318.1 MB Notification: Performance of Templates: time 0.01356/0.5498, allocations: 3.14 MB / 388.8 MB, free: 8.719 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)