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.001629/0.001629, allocations: 114.3 kB / 17.07 MB, free: 5.973 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.00169/0.00169, allocations: 194.9 kB / 18 MB, free: 5.059 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.861/1.861, allocations: 205.1 MB / 223.9 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.001361/0.001361, allocations: 51.94 kB / 327.9 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1218, allocations: 46.61 MB / 374.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.00414/0.126, allocations: 1.828 MB / 376.3 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002879/0.129, allocations: 1.278 MB / 377.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001805/0.1292, allocations: 3.938 kB / 377.6 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.1294, allocations: 19.73 kB / 377.6 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001545/0.1296, allocations: 31.73 kB / 377.7 MB, free: 1.375 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.001342/0.1309, allocations: 315.1 kB / 378 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003411/0.1313, allocations: 227.4 kB / 378.2 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002137/0.1315, allocations: 68.23 kB / 378.2 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001749/0.1317, allocations: 87.7 kB / 378.3 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.1318, allocations: 119.4 kB / 378.4 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.412e-05/0.1319, allocations: 20 kB / 378.5 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005559/0.1325, allocations: 291.5 kB / 378.8 MB, free: 276 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.263e-05/0.1326, allocations: 55.83 kB / 378.8 MB, free: 220 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.1327, allocations: 103.4 kB / 378.9 MB, free: 116 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2379/0.3706, allocations: 394.5 kB / 379.3 MB, free: 10.28 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3707, allocations: 2.094 kB / 379.3 MB, free: 10.28 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3707, allocations: 1.375 kB / 379.3 MB, free: 10.28 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.3707, allocations: 0 / 379.3 MB, free: 10.28 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.001369/0.3721, allocations: 0.5752 MB / 379.9 MB, free: 9.867 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3721, allocations: 9.625 kB / 379.9 MB, free: 9.867 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002471/0.3724, allocations: 33.66 kB / 379.9 MB, free: 9.855 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.3726, allocations: 239 kB / 380.1 MB, free: 9.645 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.3727, allocations: 12.09 kB / 380.2 MB, free: 9.645 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.97e-05/0.3727, allocations: 25.5 kB / 380.2 MB, free: 9.641 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004873/0.3732, allocations: 197.9 kB / 380.4 MB, free: 9.609 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.3733, allocations: 4.875 kB / 380.4 MB, free: 9.605 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.3733, allocations: 4.844 kB / 380.4 MB, free: 9.605 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.3733, allocations: 4.094 kB / 380.4 MB, free: 9.605 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004665/0.3738, allocations: 149.8 kB / 380.5 MB, free: 9.605 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.3748, allocations: 0.5673 MB / 381.1 MB, free: 9.316 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.376, allocations: 307.8 kB / 381.4 MB, free: 9.293 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003564/0.3764, allocations: 114.6 kB / 381.5 MB, free: 9.285 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.3764, allocations: 13.31 kB / 381.5 MB, free: 9.281 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004222/0.3768, allocations: 169.5 kB / 381.7 MB, free: 9.227 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 2.124e-06/0.3768, allocations: 0 / 381.7 MB, free: 9.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001199/0.378, allocations: 361.6 kB / 382 MB, free: 9.176 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.3781, allocations: 58 kB / 382.1 MB, free: 9.113 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.3783, allocations: 205.1 kB / 382.3 MB, free: 9.008 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.193e-05/0.3784, allocations: 39.53 kB / 382.3 MB, free: 8.977 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.294e-05/0.3785, allocations: 130.3 kB / 382.5 MB, free: 8.883 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.92e-05/0.3785, allocations: 69.75 kB / 382.5 MB, free: 8.84 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.3787, allocations: 69.03 kB / 382.6 MB, free: 8.824 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.313e-05/0.3788, allocations: 332.4 kB / 382.9 MB, free: 8.512 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003792/0.3791, allocations: 135.9 kB / 383.1 MB, free: 8.508 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003975/0.3796, allocations: 166.5 kB / 383.2 MB, free: 8.488 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006927/0.3803, allocations: 266.2 kB / 383.5 MB, free: 8.465 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.3803, allocations: 0 / 383.5 MB, free: 8.465 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009137/0.3812, allocations: 383.7 kB / 383.9 MB, free: 8.406 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.3812, allocations: 9.156 kB / 383.9 MB, free: 8.406 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.3812, allocations: 0.75 kB / 383.9 MB, free: 8.406 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.3813, allocations: 3.266 kB / 383.9 MB, free: 8.406 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/0.3816, allocations: 67.75 kB / 383.9 MB, free: 8.406 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.3816, allocations: 5.875 kB / 383.9 MB, free: 8.402 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.3818, allocations: 43.22 kB / 384 MB, free: 8.387 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.3818, allocations: 11.56 kB / 384 MB, free: 8.387 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.0001542/0.382, allocations: 150.2 kB / 384.1 MB, free: 8.266 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.382, allocations: 20.16 kB / 384.2 MB, free: 8.254 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.56e-05/0.3821, allocations: 27.61 kB / 384.2 MB, free: 8.242 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3821, allocations: 1.625 kB / 384.2 MB, free: 8.242 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.3821, allocations: 0.6562 kB / 384.2 MB, free: 8.242 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.3821, allocations: 7.109 kB / 384.2 MB, free: 8.242 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.3832, allocations: 0.6344 MB / 384.8 MB, free: 7.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3832, allocations: 0 / 384.8 MB, free: 7.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002442/0.3835, allocations: 48.62 kB / 384.9 MB, free: 7.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.3835, allocations: 1.094 kB / 384.9 MB, free: 7.93 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.3835, allocations: 7.078 kB / 384.9 MB, free: 7.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3835, allocations: 2.266 kB / 384.9 MB, free: 7.93 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3836, allocations: 0 / 384.9 MB, free: 7.93 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009938/0.3846, allocations: 493.5 kB / 385.4 MB, free: 7.77 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.172e-05/0.3846, allocations: 103.4 kB / 385.5 MB, free: 7.664 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.121e-05/0.3847, allocations: 13.14 kB / 385.5 MB, free: 7.664 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.3848, allocations: 25.86 kB / 385.5 MB, free: 7.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.847e-05/0.3849, allocations: 11.3 kB / 385.5 MB, free: 7.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.3849, allocations: 6.641 kB / 385.5 MB, free: 7.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.3851, allocations: 152.1 kB / 385.7 MB, free: 7.582 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.3851, allocations: 0 / 385.7 MB, free: 7.582 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006177/0.3857, allocations: 103.9 kB / 385.8 MB, free: 7.566 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.0008909/0.3866, allocations: 284.7 kB / 386.1 MB, free: 7.422 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.3877, allocations: 281.2 kB / 386.3 MB, free: 7.418 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3877, allocations: 0 / 386.3 MB, free: 7.418 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003344/0.388, allocations: 115.5 kB / 386.4 MB, free: 7.418 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.3884, allocations: 31.41 kB / 386.5 MB, free: 7.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.3894, allocations: 461.4 kB / 386.9 MB, free: 7.172 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.3896, allocations: 0.7387 MB / 387.7 MB, free: 6.469 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001427/0.3898, allocations: 30.52 kB / 387.7 MB, free: 6.465 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.321e-05/0.3899, allocations: 26.89 kB / 387.7 MB, free: 6.453 MB / 318.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3899, allocations: 0 / 387.7 MB, free: 6.453 MB / 318.1 MB Notification: Performance of Templates: time 0.01022/0.4001, allocations: 3.849 MB / 391.6 MB, free: 6.105 MB / 318.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)