Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.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.Distributions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Distributions") translateModel(Modelica.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Distributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007987/0.007987, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001648/0.001647, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.927/1.927, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.00151/0.00151, allocations: 47.94 kB / 326.5 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1256, allocations: 46.61 MB / 373.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.003348/0.129, allocations: 1.526 MB / 374.7 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00276/0.1318, allocations: 1.453 MB / 376.1 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.39e-05/0.1319, allocations: 4 kB / 376.1 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.132, allocations: 11.81 kB / 376.2 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.1321, allocations: 27.78 kB / 376.2 MB, free: 1.516 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.001262/0.1334, allocations: 386.8 kB / 376.6 MB, free: 1.137 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.1336, allocations: 131.6 kB / 376.7 MB, free: 1.008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.388e-05/0.1337, allocations: 13.48 kB / 376.7 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.501e-05/0.1338, allocations: 63.77 kB / 376.8 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.757e-05/0.1339, allocations: 67.62 kB / 376.8 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.1339, allocations: 12 kB / 376.8 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00061/0.1345, allocations: 415.3 kB / 377.2 MB, free: 456 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.074e-05/0.1346, allocations: 43.83 kB / 377.3 MB, free: 412 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.376e-05/0.1347, allocations: 59.59 kB / 377.4 MB, free: 352 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2547/0.3894, allocations: 410.5 kB / 377.8 MB, free: 10.12 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.3895, allocations: 0.6562 kB / 377.8 MB, free: 10.12 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3895, allocations: 0 / 377.8 MB, free: 10.12 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.3895, allocations: 0 / 377.8 MB, free: 10.12 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001069/0.3906, allocations: 0.5316 MB / 378.3 MB, free: 9.672 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.3906, allocations: 9.625 kB / 378.3 MB, free: 9.672 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002658/0.3909, allocations: 30.12 kB / 378.3 MB, free: 9.664 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.3911, allocations: 205 kB / 378.5 MB, free: 9.453 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.3911, allocations: 12.59 kB / 378.5 MB, free: 9.453 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.3911, allocations: 9.781 kB / 378.5 MB, free: 9.453 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.3914, allocations: 123.6 kB / 378.7 MB, free: 9.398 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.3914, allocations: 3.938 kB / 378.7 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.3914, allocations: 4.156 kB / 378.7 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3914, allocations: 1.344 kB / 378.7 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002052/0.3916, allocations: 63.44 kB / 378.7 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007079/0.3924, allocations: 0.5515 MB / 379.3 MB, free: 8.957 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003176/0.3927, allocations: 154 kB / 379.4 MB, free: 8.887 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.3928, allocations: 68.92 kB / 379.5 MB, free: 8.863 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.3929, allocations: 4.562 kB / 379.5 MB, free: 8.863 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003571/0.3932, allocations: 152.8 kB / 379.7 MB, free: 8.793 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.342e-06/0.3932, allocations: 0.625 kB / 379.7 MB, free: 8.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005996/0.3938, allocations: 248.9 kB / 379.9 MB, free: 8.754 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.879e-05/0.3939, allocations: 123.2 kB / 380 MB, free: 8.629 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.3941, allocations: 197.1 kB / 380.2 MB, free: 8.523 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.3942, allocations: 46.05 kB / 380.3 MB, free: 8.492 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.394e-05/0.3943, allocations: 113.3 kB / 380.4 MB, free: 8.406 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.3943, allocations: 43.27 kB / 380.4 MB, free: 8.387 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.307e-05/0.3944, allocations: 62 kB / 380.5 MB, free: 8.367 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.372e-05/0.3945, allocations: 334.8 kB / 380.8 MB, free: 8.051 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002647/0.3948, allocations: 98.7 kB / 380.9 MB, free: 8.051 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.395, allocations: 150.6 kB / 381 MB, free: 8.008 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004616/0.3955, allocations: 224 kB / 381.3 MB, free: 7.969 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.3955, allocations: 0.5 kB / 381.3 MB, free: 7.969 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006892/0.3962, allocations: 308.9 kB / 381.6 MB, free: 7.922 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.3963, allocations: 5.438 kB / 381.6 MB, free: 7.922 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.3963, allocations: 1.344 kB / 381.6 MB, free: 7.922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.3963, allocations: 3.406 kB / 381.6 MB, free: 7.922 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.3965, allocations: 31.45 kB / 381.6 MB, free: 7.922 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.3965, allocations: 4.469 kB / 381.6 MB, free: 7.922 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.814e-05/0.3966, allocations: 30.17 kB / 381.6 MB, free: 7.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.3966, allocations: 10.92 kB / 381.7 MB, free: 7.91 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,globalSeed.seed,truncatedNormalNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,uniformNoise.actualGlobalSeed,uniformNoise.localSeed,globalSeed.id_impure,uniformNoise.r_raw,$PRE.uniformNoise.r_raw,uniformNoise.r,$PRE.uniformNoise.r,uniformNoise.state[4],$PRE.uniformNoise.state[4],uniformNoise.state[3],$PRE.uniformNoise.state[3],uniformNoise.state[2],$PRE.uniformNoise.state[2],uniformNoise.state[1],$PRE.uniformNoise.state[1],truncatedNormalNoise.r_raw,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r,truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 2 * 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.0001466/0.3968, allocations: 158.2 kB / 381.8 MB, free: 7.781 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.3968, allocations: 16.34 kB / 381.8 MB, free: 7.773 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.602e-05/0.3969, allocations: 22.09 kB / 381.8 MB, free: 7.766 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3969, allocations: 1.594 kB / 381.8 MB, free: 7.766 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.3969, allocations: 0.75 kB / 381.8 MB, free: 7.766 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.3969, allocations: 1.797 kB / 381.8 MB, free: 7.766 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.3971, allocations: 221.4 kB / 382.1 MB, free: 7.566 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.3971, allocations: 2.031 kB / 382.1 MB, free: 7.566 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.601e-05/0.3972, allocations: 18.11 kB / 382.1 MB, free: 7.562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.3972, allocations: 1.281 kB / 382.1 MB, free: 7.562 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.3972, allocations: 3.266 kB / 382.1 MB, free: 7.562 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.3973, allocations: 1.938 kB / 382.1 MB, free: 7.562 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.3973, allocations: 2.344 kB / 382.1 MB, free: 7.562 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005066/0.3978, allocations: 245.8 kB / 382.3 MB, free: 7.465 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.194e-05/0.3978, allocations: 99.39 kB / 382.4 MB, free: 7.359 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.3979, allocations: 10.28 kB / 382.4 MB, free: 7.359 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.78e-05/0.398, allocations: 5.859 kB / 382.4 MB, free: 7.359 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.398, allocations: 14.72 kB / 382.5 MB, free: 7.359 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.398, allocations: 3.969 kB / 382.5 MB, free: 7.359 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001238/0.3982, allocations: 145.4 kB / 382.6 MB, free: 7.281 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3982, allocations: 5.406 kB / 382.6 MB, free: 7.277 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005907/0.3988, allocations: 126.2 kB / 382.7 MB, free: 7.258 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition1,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,n) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008043/0.3996, allocations: 352.3 kB / 383.1 MB, free: 7.094 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005061/0.4001, allocations: 198.7 kB / 383.3 MB, free: 7.094 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4001, allocations: 1.125 kB / 383.3 MB, free: 7.094 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.4003, allocations: 69.42 kB / 383.3 MB, free: 7.09 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.4005, allocations: 15.48 kB / 383.4 MB, free: 7.086 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005181/0.401, allocations: 284 kB / 383.6 MB, free: 6.906 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001697/0.4012, allocations: 0.724 MB / 384.4 MB, free: 6.203 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.055e-05/0.4013, allocations: 21.56 kB / 384.4 MB, free: 6.203 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.2e-05/0.4013, allocations: 17.8 kB / 384.4 MB, free: 6.195 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4013, allocations: 0 / 384.4 MB, free: 6.195 MB / 318.1 MB Notification: Performance of Templates: time 0.00968/0.411, allocations: 3.644 MB / 388 MB, free: 5.863 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Distributions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1)