Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Blocks.Examples.NoiseExamples.Distributions") translateModel(Modelica.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001403/0.001403, allocations: 115.1 kB / 17.07 MB, free: 5.969 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.001408/0.001408, allocations: 198.9 kB / 18.01 MB, free: 5.055 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.799/1.799, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.001578/0.001578, allocations: 59.91 kB / 327.9 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1602, allocations: 46.61 MB / 374.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.003766/0.164, allocations: 1.534 MB / 376 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003693/0.1677, allocations: 1.45 MB / 377.5 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.645e-05/0.1678, allocations: 0 / 377.5 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.516e-05/0.1679, allocations: 15.86 kB / 377.5 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.645e-05/0.168, allocations: 27.72 kB / 377.5 MB, free: 1.523 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.001307/0.1693, allocations: 390.8 kB / 377.9 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.1695, allocations: 131.6 kB / 378 MB, free: 1.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.954e-05/0.1696, allocations: 9.5 kB / 378 MB, free: 1 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.531e-05/0.1697, allocations: 55.77 kB / 378.1 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.838e-05/0.1698, allocations: 71.67 kB / 378.1 MB, free: 0.875 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.771e-05/0.1698, allocations: 12 kB / 378.2 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008664/0.1707, allocations: 419.3 kB / 378.6 MB, free: 464 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.88e-05/0.1708, allocations: 35.89 kB / 378.6 MB, free: 428 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.534e-05/0.1709, allocations: 67.53 kB / 378.7 MB, free: 360 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.314/0.4849, allocations: 405.8 kB / 379.1 MB, free: 10.14 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.485, allocations: 0 / 379.1 MB, free: 10.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.485, allocations: 0.6094 kB / 379.1 MB, free: 10.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.485, allocations: 0.5 kB / 379.1 MB, free: 10.14 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.001051/0.4861, allocations: 0.5139 MB / 379.6 MB, free: 9.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.4861, allocations: 9.984 kB / 379.6 MB, free: 9.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003225/0.4865, allocations: 30.92 kB / 379.6 MB, free: 9.742 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.4867, allocations: 206.4 kB / 379.8 MB, free: 9.531 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.4867, allocations: 4.641 kB / 379.8 MB, free: 9.531 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.176e-05/0.4867, allocations: 10.27 kB / 379.8 MB, free: 9.531 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/0.487, allocations: 129.1 kB / 380 MB, free: 9.473 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.4871, allocations: 7 kB / 380 MB, free: 9.469 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.4871, allocations: 4.672 kB / 380 MB, free: 9.469 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.4871, allocations: 2.312 kB / 380 MB, free: 9.469 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002208/0.4873, allocations: 62.94 kB / 380 MB, free: 9.469 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007798/0.4881, allocations: 0.5524 MB / 380.6 MB, free: 9.031 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003737/0.4885, allocations: 149.7 kB / 380.7 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.4887, allocations: 69.44 kB / 380.8 MB, free: 8.938 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.4887, allocations: 3.5 kB / 380.8 MB, free: 8.938 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004009/0.4891, allocations: 153.5 kB / 381 MB, free: 8.867 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.884e-06/0.4891, allocations: 2.375 kB / 381 MB, free: 8.867 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006151/0.4897, allocations: 254.7 kB / 381.2 MB, free: 8.824 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/0.4898, allocations: 119.6 kB / 381.3 MB, free: 8.699 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.49, allocations: 197 kB / 381.5 MB, free: 8.594 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.363e-05/0.4901, allocations: 49.77 kB / 381.6 MB, free: 8.562 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.319e-05/0.4902, allocations: 107.1 kB / 381.7 MB, free: 8.48 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.03e-05/0.4902, allocations: 48.92 kB / 381.7 MB, free: 8.457 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.2e-05/0.4903, allocations: 58.72 kB / 381.8 MB, free: 8.441 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.833e-05/0.4904, allocations: 337.6 kB / 382.1 MB, free: 8.125 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000272/0.4907, allocations: 101.9 kB / 382.2 MB, free: 8.125 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.491, allocations: 146.1 kB / 382.3 MB, free: 8.082 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004338/0.4914, allocations: 227.2 kB / 382.6 MB, free: 8.043 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.4914, allocations: 0 / 382.6 MB, free: 8.043 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006173/0.492, allocations: 308.5 kB / 382.9 MB, free: 7.996 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.4921, allocations: 5.406 kB / 382.9 MB, free: 7.996 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.4921, allocations: 1.281 kB / 382.9 MB, free: 7.996 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.4921, allocations: 3.469 kB / 382.9 MB, free: 7.996 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.4923, allocations: 33.77 kB / 382.9 MB, free: 7.996 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.4923, allocations: 3.109 kB / 382.9 MB, free: 7.996 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.909e-05/0.4924, allocations: 26.55 kB / 382.9 MB, free: 7.984 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.4924, allocations: 14.64 kB / 383 MB, free: 7.98 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.0001283/0.4925, allocations: 158.3 kB / 383.1 MB, free: 7.859 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.4926, allocations: 15.41 kB / 383.1 MB, free: 7.852 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.73e-05/0.4926, allocations: 14.41 kB / 383.1 MB, free: 7.844 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.4926, allocations: 2.016 kB / 383.1 MB, free: 7.844 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4926, allocations: 2.031 kB / 383.1 MB, free: 7.844 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.4927, allocations: 0.9844 kB / 383.1 MB, free: 7.844 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.4929, allocations: 221.5 kB / 383.4 MB, free: 7.645 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.4929, allocations: 1.859 kB / 383.4 MB, free: 7.645 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.03e-05/0.493, allocations: 10.97 kB / 383.4 MB, free: 7.645 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.493, allocations: 0.8438 kB / 383.4 MB, free: 7.645 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.493, allocations: 3.359 kB / 383.4 MB, free: 7.645 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.493, allocations: 0.9688 kB / 383.4 MB, free: 7.645 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.493, allocations: 0.8125 kB / 383.4 MB, free: 7.645 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003951/0.4934, allocations: 246.8 kB / 383.6 MB, free: 7.547 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.079e-05/0.4934, allocations: 95.12 kB / 383.7 MB, free: 7.445 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/0.4935, allocations: 17.11 kB / 383.7 MB, free: 7.445 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.679e-05/0.4936, allocations: 7.047 kB / 383.7 MB, free: 7.445 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.4936, allocations: 14.48 kB / 383.8 MB, free: 7.445 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.4937, allocations: 4.141 kB / 383.8 MB, free: 7.445 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.4938, allocations: 147.7 kB / 383.9 MB, free: 7.363 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4938, allocations: 0 / 383.9 MB, free: 7.363 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006219/0.4944, allocations: 129.4 kB / 384 MB, free: 7.34 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.0006958/0.4951, allocations: 350.2 kB / 384.4 MB, free: 7.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004268/0.4956, allocations: 196.9 kB / 384.6 MB, free: 7.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4956, allocations: 4.062 kB / 384.6 MB, free: 7.176 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.4957, allocations: 65.3 kB / 384.6 MB, free: 7.176 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.4959, allocations: 15.28 kB / 384.6 MB, free: 7.176 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004462/0.4964, allocations: 273.6 kB / 384.9 MB, free: 7 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/0.4965, allocations: 0.7267 MB / 385.6 MB, free: 6.293 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.032e-05/0.4966, allocations: 22.7 kB / 385.7 MB, free: 6.293 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.245e-05/0.4967, allocations: 21.44 kB / 385.7 MB, free: 6.285 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.4967, allocations: 2.625 kB / 385.7 MB, free: 6.285 MB / 318.1 MB Notification: Performance of Templates: time 0.008657/0.5053, allocations: 3.707 MB / 389.4 MB, free: 5.934 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1)