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.001534/0.001534, 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.001675/0.001675, allocations: 194.4 kB / 16.53 MB, free: 6.699 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.648/1.648, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.001298/0.001298, allocations: 51.92 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3167, allocations: 46.64 MB / 325.3 MB, free: 1.867 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002792/0.3196, allocations: 1.524 MB / 326.8 MB, free: 0.6562 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002338/0.3219, allocations: 1.441 MB / 328.3 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.082e-05/0.322, allocations: 1.25 kB / 328.3 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.3222, allocations: 11.81 kB / 328.3 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.992e-05/0.3223, allocations: 26.06 kB / 328.3 MB, free: 15.51 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.001359/0.3236, allocations: 402.9 kB / 328.7 MB, free: 15.26 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.3238, allocations: 132.4 kB / 328.8 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.425e-05/0.3239, allocations: 8.875 kB / 328.8 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.516e-05/0.324, allocations: 55.3 kB / 328.9 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.73e-05/0.3241, allocations: 72.92 kB / 329 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.3241, allocations: 10.84 kB / 329 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007364/0.3249, allocations: 423 kB / 329.4 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.259e-05/0.325, allocations: 35.72 kB / 329.4 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.334e-05/0.325, allocations: 65.75 kB / 329.5 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00062/0.3257, allocations: 408.7 kB / 329.9 MB, free: 14.53 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3257, allocations: 0.8438 kB / 329.9 MB, free: 14.53 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3257, allocations: 0 / 329.9 MB, free: 14.53 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.3257, allocations: 0 / 329.9 MB, free: 14.53 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008697/0.3266, allocations: 0.5109 MB / 330.4 MB, free: 14.04 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3266, allocations: 13.06 kB / 330.4 MB, free: 14.04 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000262/0.3269, allocations: 29.98 kB / 330.4 MB, free: 14.02 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.3271, allocations: 209.2 kB / 330.6 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.3271, allocations: 7.75 kB / 330.7 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.3272, allocations: 6.031 kB / 330.7 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/0.3275, allocations: 132 kB / 330.8 MB, free: 13.69 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3275, allocations: 5.438 kB / 330.8 MB, free: 13.69 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.3275, allocations: 7.984 kB / 330.8 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.3276, allocations: 1.5 kB / 330.8 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/0.3278, allocations: 60.89 kB / 330.9 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008583/0.3286, allocations: 0.5572 MB / 331.4 MB, free: 13.1 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004239/0.3291, allocations: 155.2 kB / 331.6 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.3292, allocations: 66.92 kB / 331.6 MB, free: 12.93 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.3293, allocations: 1.062 kB / 331.6 MB, free: 12.93 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004045/0.3297, allocations: 153.1 kB / 331.8 MB, free: 12.81 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.3297, allocations: 0 / 331.8 MB, free: 12.81 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006511/0.3303, allocations: 257 kB / 332 MB, free: 12.68 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.989e-05/0.3305, allocations: 118.6 kB / 332.2 MB, free: 12.55 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.3307, allocations: 201.2 kB / 332.4 MB, free: 12.39 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 6.352e-05/0.3308, allocations: 44.98 kB / 332.4 MB, free: 12.36 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.107e-05/0.3309, allocations: 114.3 kB / 332.5 MB, free: 12.24 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.5e-05/0.3309, allocations: 43.83 kB / 332.6 MB, free: 12.21 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.331, allocations: 60.78 kB / 332.6 MB, free: 12.16 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3312, allocations: 335.2 kB / 332.9 MB, free: 11.83 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00027/0.3315, allocations: 102.3 kB / 333 MB, free: 11.79 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.3317, allocations: 140.7 kB / 333.2 MB, free: 11.7 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004049/0.3322, allocations: 222.8 kB / 333.4 MB, free: 11.52 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.3322, allocations: 0 / 333.4 MB, free: 11.52 MB / 270.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005582/0.3327, allocations: 309.2 kB / 333.7 MB, free: 11.21 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.3328, allocations: 10.97 kB / 333.7 MB, free: 11.21 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.3328, allocations: 3.938 kB / 333.7 MB, free: 11.2 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.3328, allocations: 0 / 333.7 MB, free: 11.2 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.333, allocations: 39.91 kB / 333.7 MB, free: 11.16 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.333, allocations: 4 kB / 333.8 MB, free: 11.16 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.855e-05/0.3331, allocations: 15.84 kB / 333.8 MB, free: 11.14 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.3331, allocations: 8 kB / 333.8 MB, free: 11.14 MB / 270.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.0001764/0.3333, allocations: 153.8 kB / 333.9 MB, free: 10.98 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.3334, allocations: 15.81 kB / 333.9 MB, free: 10.96 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.938e-05/0.3334, allocations: 17.39 kB / 334 MB, free: 10.95 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.3334, allocations: 4 kB / 334 MB, free: 10.94 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3334, allocations: 0 / 334 MB, free: 10.94 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.3334, allocations: 4 kB / 334 MB, free: 10.94 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.3337, allocations: 225.4 kB / 334.2 MB, free: 10.67 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3337, allocations: 4 kB / 334.2 MB, free: 10.66 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.494e-05/0.3338, allocations: 11.98 kB / 334.2 MB, free: 10.65 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.3338, allocations: 7.938 kB / 334.2 MB, free: 10.64 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.3338, allocations: 0 / 334.2 MB, free: 10.64 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.3338, allocations: 4 kB / 334.2 MB, free: 10.64 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3338, allocations: 0 / 334.2 MB, free: 10.64 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004234/0.3342, allocations: 238.6 kB / 334.4 MB, free: 10.38 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.08e-05/0.3343, allocations: 96.84 kB / 334.5 MB, free: 10.27 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.3344, allocations: 15.98 kB / 334.6 MB, free: 10.25 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.73e-05/0.3344, allocations: 4 kB / 334.6 MB, free: 10.25 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.942e-05/0.3345, allocations: 15.92 kB / 334.6 MB, free: 10.23 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.3345, allocations: 15.92 kB / 334.6 MB, free: 10.22 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001132/0.3347, allocations: 133.2 kB / 334.7 MB, free: 10.09 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3347, allocations: 4 kB / 334.7 MB, free: 10.09 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005367/0.3352, allocations: 132 kB / 334.9 MB, free: 9.957 MB / 270.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.0008636/0.3361, allocations: 344.2 kB / 335.2 MB, free: 9.617 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004988/0.3366, allocations: 207.7 kB / 335.4 MB, free: 9.414 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3366, allocations: 0 / 335.4 MB, free: 9.414 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.3368, allocations: 68.09 kB / 335.5 MB, free: 9.348 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.337, allocations: 15.98 kB / 335.5 MB, free: 9.332 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005463/0.3376, allocations: 290.2 kB / 335.8 MB, free: 9.016 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.3379, allocations: 0.7123 MB / 336.5 MB, free: 8.277 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.945e-05/0.3379, allocations: 25.41 kB / 336.5 MB, free: 8.25 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.179e-05/0.338, allocations: 19.44 kB / 336.5 MB, free: 8.23 MB / 270.1 MB Notification: Performance of SimCode: time 2.5e-07/0.338, allocations: 4 kB / 336.5 MB, free: 8.227 MB / 270.1 MB Notification: Performance of Templates: time 0.007663/0.3457, allocations: 3.621 MB / 340.1 MB, free: 4.602 MB / 270.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)