Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.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.001102/0.001102, 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.001112/0.001112, 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.66/1.66, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.00118/0.00118, allocations: 63.91 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3262, allocations: 46.63 MB / 325.3 MB, free: 1.84 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.003853/0.3301, allocations: 1.836 MB / 327.1 MB, free: 392 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002547/0.3327, allocations: 1.272 MB / 328.4 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.3329, allocations: 6.375 kB / 328.4 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.333, allocations: 19.73 kB / 328.4 MB, free: 15.37 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.451e-05/0.3331, allocations: 30.16 kB / 328.5 MB, free: 15.34 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.001098/0.3342, allocations: 311.9 kB / 328.8 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003434/0.3346, allocations: 219.5 kB / 329 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002157/0.3348, allocations: 69.48 kB / 329.1 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.3349, allocations: 99.61 kB / 329.2 MB, free: 14.9 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.3351, allocations: 110.1 kB / 329.3 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.148e-05/0.3352, allocations: 26.12 kB / 329.3 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005706/0.3358, allocations: 295.4 kB / 329.6 MB, free: 14.67 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.028e-05/0.3359, allocations: 58.31 kB / 329.6 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.336, allocations: 98.78 kB / 329.7 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006588/0.3367, allocations: 386.9 kB / 330.1 MB, free: 14.29 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.3367, allocations: 1.125 kB / 330.1 MB, free: 14.29 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.3367, allocations: 3.938 kB / 330.1 MB, free: 14.28 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.3367, allocations: 0 / 330.1 MB, free: 14.28 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.001522/0.3382, allocations: 0.5736 MB / 330.7 MB, free: 13.75 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.3383, allocations: 13.86 kB / 330.7 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002897/0.3386, allocations: 35.06 kB / 330.7 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003814/0.339, allocations: 245.9 kB / 331 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.148e-05/0.3391, allocations: 12.75 kB / 331 MB, free: 13.47 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.39e-05/0.3391, allocations: 25.92 kB / 331 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000553/0.3397, allocations: 201.7 kB / 331.2 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3397, allocations: 0 / 331.2 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.3397, allocations: 5.469 kB / 331.2 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.3397, allocations: 2.938 kB / 331.2 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004846/0.3402, allocations: 159.7 kB / 331.4 MB, free: 13.26 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.3414, allocations: 0.5669 MB / 331.9 MB, free: 12.76 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.3426, allocations: 304.5 kB / 332.2 MB, free: 12.61 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003314/0.343, allocations: 114.4 kB / 332.3 MB, free: 12.55 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.189e-05/0.343, allocations: 22.39 kB / 332.4 MB, free: 12.54 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004869/0.3435, allocations: 158.3 kB / 332.5 MB, free: 12.43 MB / 270.1 MB Notification: Performance of pre-optimization done (n=22): time 2.254e-06/0.3436, allocations: 0 / 332.5 MB, free: 12.43 MB / 270.1 MB Notification: Performance of matching and sorting (n=22): time 0.001154/0.3447, allocations: 359.6 kB / 332.9 MB, free: 12.18 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/0.3448, allocations: 55.41 kB / 332.9 MB, free: 12.11 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.345, allocations: 211.7 kB / 333.1 MB, free: 11.89 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.439e-05/0.3451, allocations: 45.7 kB / 333.2 MB, free: 11.84 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.3452, allocations: 128.5 kB / 333.3 MB, free: 11.71 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.136e-05/0.3453, allocations: 74.98 kB / 333.4 MB, free: 11.64 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.3454, allocations: 65.69 kB / 333.4 MB, free: 11.57 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.3456, allocations: 330.8 kB / 333.8 MB, free: 11.24 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004849/0.3461, allocations: 135.9 kB / 333.9 MB, free: 11.11 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003759/0.3465, allocations: 157.4 kB / 334.1 MB, free: 10.95 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006622/0.3472, allocations: 264.6 kB / 334.3 MB, free: 10.68 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.3472, allocations: 11.81 kB / 334.3 MB, free: 10.67 MB / 270.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008786/0.3481, allocations: 382.7 kB / 334.7 MB, free: 10.29 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.3481, allocations: 4 kB / 334.7 MB, free: 10.29 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.3482, allocations: 0 / 334.7 MB, free: 10.29 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.3482, allocations: 4 kB / 334.7 MB, free: 10.29 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.3485, allocations: 63.89 kB / 334.8 MB, free: 10.22 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/0.3485, allocations: 7.984 kB / 334.8 MB, free: 10.21 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.3487, allocations: 35.67 kB / 334.8 MB, free: 10.18 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.534e-05/0.3488, allocations: 19.98 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.0002274/0.349, allocations: 145.6 kB / 335 MB, free: 10.01 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.3491, allocations: 19.72 kB / 335 MB, free: 9.988 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.764e-05/0.3492, allocations: 25.86 kB / 335 MB, free: 9.961 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3492, allocations: 0 / 335 MB, free: 9.961 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.3492, allocations: 0 / 335 MB, free: 9.961 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.3492, allocations: 4 kB / 335 MB, free: 9.957 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.3506, allocations: 0.6337 MB / 335.7 MB, free: 9.27 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3506, allocations: 4 kB / 335.7 MB, free: 9.266 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002522/0.3509, allocations: 51.95 kB / 335.7 MB, free: 9.215 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.3509, allocations: 0 / 335.7 MB, free: 9.215 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.3509, allocations: 4 kB / 335.7 MB, free: 9.211 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3509, allocations: 0 / 335.7 MB, free: 9.211 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.3509, allocations: 0 / 335.7 MB, free: 9.211 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.352, allocations: 495.8 kB / 336.2 MB, free: 8.711 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.489e-05/0.3521, allocations: 96.86 kB / 336.3 MB, free: 8.598 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.576e-05/0.3521, allocations: 15.98 kB / 336.3 MB, free: 8.582 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.3523, allocations: 23.98 kB / 336.3 MB, free: 8.559 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/0.3524, allocations: 11.97 kB / 336.3 MB, free: 8.547 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.3524, allocations: 4 kB / 336.3 MB, free: 8.543 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001456/0.3526, allocations: 155.1 kB / 336.5 MB, free: 8.391 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3526, allocations: 0 / 336.5 MB, free: 8.391 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005808/0.3532, allocations: 107.9 kB / 336.6 MB, free: 8.285 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.0007038/0.3539, allocations: 292 kB / 336.9 MB, free: 7.996 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0008554/0.3548, allocations: 291.5 kB / 337.2 MB, free: 7.711 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3548, allocations: 3.938 kB / 337.2 MB, free: 7.707 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003338/0.3551, allocations: 119.9 kB / 337.3 MB, free: 7.59 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.3555, allocations: 28.05 kB / 337.3 MB, free: 7.562 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.3568, allocations: 463.8 kB / 337.8 MB, free: 7.086 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005498/0.3573, allocations: 0.732 MB / 338.5 MB, free: 6.324 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001308/0.3575, allocations: 33.94 kB / 338.5 MB, free: 6.289 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.699e-05/0.3576, allocations: 27.42 kB / 338.6 MB, free: 6.262 MB / 270.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3576, allocations: 0 / 338.6 MB, free: 6.262 MB / 270.1 MB Notification: Performance of Templates: time 0.008854/0.3664, allocations: 3.734 MB / 342.3 MB, free: 2.523 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.sim & ./Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1)