Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.001855/0.001855, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002582/0.002582, allocations: 197 kB / 16.53 MB, free: 6.664 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.686/1.686, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.001463/0.001463, allocations: 55.92 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2885, allocations: 46.63 MB / 325.3 MB, free: 1.855 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.003712/0.2922, allocations: 1.838 MB / 327.1 MB, free: 408 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002666/0.2949, allocations: 1.268 MB / 328.4 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.2951, allocations: 5.406 kB / 328.4 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.2953, allocations: 24.73 kB / 328.4 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.2954, allocations: 29.12 kB / 328.5 MB, free: 15.36 MB / 270.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.001116/0.2965, allocations: 311.9 kB / 328.8 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002944/0.2968, allocations: 220 kB / 329 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002143/0.297, allocations: 65.03 kB / 329.1 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.2972, allocations: 99.42 kB / 329.2 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.2974, allocations: 115.2 kB / 329.3 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.034e-05/0.2975, allocations: 21.28 kB / 329.3 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005185/0.298, allocations: 291 kB / 329.6 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.548e-05/0.2981, allocations: 53.92 kB / 329.6 MB, free: 14.65 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.2982, allocations: 107.8 kB / 329.7 MB, free: 14.56 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005753/0.2988, allocations: 387 kB / 330.1 MB, free: 14.3 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2988, allocations: 3.938 kB / 330.1 MB, free: 14.3 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.2988, allocations: 0.8125 kB / 330.1 MB, free: 14.3 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.2988, allocations: 3.938 kB / 330.1 MB, free: 14.3 MB / 270.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.001389/0.3002, allocations: 0.5736 MB / 330.7 MB, free: 13.77 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.3003, allocations: 10.19 kB / 330.7 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003007/0.3006, allocations: 38.77 kB / 330.7 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.3009, allocations: 241.3 kB / 331 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.852e-05/0.301, allocations: 13.91 kB / 331 MB, free: 13.49 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-05/0.301, allocations: 20.66 kB / 331 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005744/0.3016, allocations: 206.1 kB / 331.2 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3016, allocations: 0 / 331.2 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.3017, allocations: 5.156 kB / 331.2 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.3017, allocations: 4.312 kB / 331.2 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000501/0.3022, allocations: 151.9 kB / 331.4 MB, free: 13.29 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.3033, allocations: 0.5703 MB / 331.9 MB, free: 12.78 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.3044, allocations: 304.7 kB / 332.2 MB, free: 12.63 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/0.3047, allocations: 121.5 kB / 332.3 MB, free: 12.57 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.3048, allocations: 10.47 kB / 332.4 MB, free: 12.56 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004003/0.3052, allocations: 162.8 kB / 332.5 MB, free: 12.45 MB / 270.1 MB Notification: Performance of pre-optimization done (n=22): time 1.944e-06/0.3052, allocations: 0 / 332.5 MB, free: 12.45 MB / 270.1 MB Notification: Performance of matching and sorting (n=22): time 0.001036/0.3062, allocations: 357.9 kB / 332.9 MB, free: 12.18 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.3063, allocations: 67.33 kB / 332.9 MB, free: 12.1 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.3065, allocations: 207.7 kB / 333.1 MB, free: 11.89 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/0.3066, allocations: 41.7 kB / 333.2 MB, free: 11.84 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.581e-05/0.3067, allocations: 128.6 kB / 333.3 MB, free: 11.71 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.398e-05/0.3067, allocations: 71.02 kB / 333.4 MB, free: 11.64 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.3069, allocations: 69.66 kB / 333.4 MB, free: 11.57 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.307, allocations: 330.8 kB / 333.8 MB, free: 11.23 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003782/0.3074, allocations: 135.9 kB / 333.9 MB, free: 11.1 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004871/0.3079, allocations: 161.4 kB / 334.1 MB, free: 10.94 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006371/0.3085, allocations: 264.6 kB / 334.3 MB, free: 10.68 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3085, allocations: 3.938 kB / 334.3 MB, free: 10.67 MB / 270.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008505/0.3094, allocations: 374.7 kB / 334.7 MB, free: 10.3 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.3094, allocations: 16.02 kB / 334.7 MB, free: 10.29 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.3094, allocations: 0 / 334.7 MB, free: 10.29 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.3095, allocations: 0 / 334.7 MB, free: 10.29 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002997/0.3098, allocations: 67.89 kB / 334.8 MB, free: 10.22 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.3098, allocations: 3.984 kB / 334.8 MB, free: 10.21 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.31, allocations: 43.66 kB / 334.8 MB, free: 10.17 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.31, allocations: 12 kB / 334.8 MB, free: 10.16 MB / 270.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.000166/0.3102, allocations: 153.5 kB / 335 MB, free: 10 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.564e-05/0.3102, allocations: 19.72 kB / 335 MB, free: 9.98 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.994e-05/0.3103, allocations: 29.86 kB / 335 MB, free: 9.949 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.3103, allocations: 4 kB / 335 MB, free: 9.945 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.3103, allocations: 0 / 335 MB, free: 9.945 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3103, allocations: 0 / 335 MB, free: 9.945 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.3115, allocations: 0.6376 MB / 335.7 MB, free: 9.254 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3115, allocations: 0 / 335.7 MB, free: 9.254 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.3117, allocations: 47.97 kB / 335.7 MB, free: 9.207 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.3117, allocations: 0 / 335.7 MB, free: 9.207 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.3118, allocations: 3.984 kB / 335.7 MB, free: 9.203 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.3118, allocations: 7.938 kB / 335.7 MB, free: 9.195 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3118, allocations: 0 / 335.7 MB, free: 9.195 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009802/0.3128, allocations: 491.8 kB / 336.2 MB, free: 8.699 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.61e-05/0.3128, allocations: 92.86 kB / 336.3 MB, free: 8.59 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.3129, allocations: 12 kB / 336.3 MB, free: 8.578 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.313, allocations: 27.97 kB / 336.3 MB, free: 8.551 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.3131, allocations: 11.98 kB / 336.3 MB, free: 8.539 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.3131, allocations: 15.86 kB / 336.4 MB, free: 8.523 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.3133, allocations: 147.2 kB / 336.5 MB, free: 8.379 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3133, allocations: 0 / 336.5 MB, free: 8.379 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004521/0.3137, allocations: 107.9 kB / 336.6 MB, free: 8.273 MB / 270.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.0006765/0.3144, allocations: 284.2 kB / 336.9 MB, free: 7.992 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0007904/0.3152, allocations: 303.4 kB / 337.2 MB, free: 7.695 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3152, allocations: 3.938 kB / 337.2 MB, free: 7.691 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000309/0.3155, allocations: 112 kB / 337.3 MB, free: 7.582 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.3159, allocations: 35.8 kB / 337.3 MB, free: 7.547 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009062/0.3168, allocations: 455.9 kB / 337.8 MB, free: 7.078 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.3171, allocations: 0.7359 MB / 338.5 MB, free: 6.312 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001321/0.3173, allocations: 33.92 kB / 338.5 MB, free: 6.277 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.331e-05/0.3173, allocations: 31.42 kB / 338.6 MB, free: 6.246 MB / 270.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3174, allocations: 0 / 338.6 MB, free: 6.246 MB / 270.1 MB Notification: Performance of Templates: time 0.008156/0.3255, allocations: 3.723 MB / 342.3 MB, free: 2.52 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1)