Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Blocks.Examples.NoiseExamples.Distributions") translateModel(Modelica.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001497/0.001496, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001817/0.001817, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.866/1.866, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.000606/0.0006067, allocations: 16 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3804, allocations: 47.58 MB / 326.4 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.001839/0.3823, allocations: 1.249 MB / 327.7 MB, free: 424 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002488/0.3848, allocations: 1.368 MB / 329.1 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.937e-05/0.3849, allocations: 1.094 kB / 329.1 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.385, allocations: 7.875 kB / 329.1 MB, free: 15.37 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.639e-05/0.3851, allocations: 27.17 kB / 329.1 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009028/0.3861, allocations: 303.5 kB / 329.4 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.3862, allocations: 83.08 kB / 329.5 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.371e-05/0.3863, allocations: 7.188 kB / 329.5 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.156e-05/0.3864, allocations: 50.45 kB / 329.5 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.628e-05/0.3865, allocations: 63.73 kB / 329.6 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.3865, allocations: 10.94 kB / 329.6 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007581/0.3873, allocations: 431.5 kB / 330 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.01e-05/0.3874, allocations: 38.69 kB / 330.1 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.643e-05/0.3874, allocations: 42.2 kB / 330.1 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004593/0.3879, allocations: 277.2 kB / 330.4 MB, free: 14.59 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.3879, allocations: 1.156 kB / 330.4 MB, free: 14.59 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3879, allocations: 0 / 330.4 MB, free: 14.59 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.3879, allocations: 0 / 330.4 MB, free: 14.59 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.0008107/0.3887, allocations: 0.4922 MB / 330.9 MB, free: 14.11 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3888, allocations: 9.5 kB / 330.9 MB, free: 14.11 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002599/0.3891, allocations: 34.11 kB / 330.9 MB, free: 14.09 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.3893, allocations: 206.7 kB / 331.1 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.3893, allocations: 4.188 kB / 331.1 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.3894, allocations: 17.27 kB / 331.1 MB, free: 13.85 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003494/0.3897, allocations: 120.1 kB / 331.3 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.3897, allocations: 0 / 331.3 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.3898, allocations: 4.953 kB / 331.3 MB, free: 13.76 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.3898, allocations: 0.9062 kB / 331.3 MB, free: 13.76 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002244/0.39, allocations: 81.03 kB / 331.3 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007909/0.3908, allocations: 0.5595 MB / 331.9 MB, free: 13.17 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003792/0.3912, allocations: 167.5 kB / 332.1 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.3912, allocations: 1.188 kB / 332.1 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003392/0.3916, allocations: 160.5 kB / 332.2 MB, free: 12.93 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.293e-06/0.3916, allocations: 0 / 332.2 MB, free: 12.93 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007366/0.3923, allocations: 427.6 kB / 332.6 MB, free: 12.61 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.368e-05/0.3924, allocations: 114.8 kB / 332.7 MB, free: 12.48 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.3927, allocations: 205 kB / 332.9 MB, free: 12.32 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.837e-05/0.3927, allocations: 45.31 kB / 333 MB, free: 12.28 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.04e-05/0.3928, allocations: 106.4 kB / 333.1 MB, free: 12.18 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.634e-05/0.3928, allocations: 46.09 kB / 333.1 MB, free: 12.14 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.144e-05/0.3929, allocations: 9.094 kB / 333.1 MB, free: 12.13 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.393, allocations: 332.2 kB / 333.5 MB, free: 11.8 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.3933, allocations: 108.8 kB / 333.6 MB, free: 11.75 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.3935, allocations: 147.5 kB / 333.7 MB, free: 11.66 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/0.3938, allocations: 122.4 kB / 333.8 MB, free: 11.61 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3938, allocations: 0 / 333.8 MB, free: 11.61 MB / 270.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006467/0.3945, allocations: 315.9 kB / 334.2 MB, free: 11.46 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/0.3945, allocations: 9.188 kB / 334.2 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.3945, allocations: 1.031 kB / 334.2 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.3945, allocations: 2 kB / 334.2 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.3947, allocations: 33.23 kB / 334.2 MB, free: 11.42 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.3948, allocations: 4 kB / 334.2 MB, free: 11.42 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.87e-05/0.3949, allocations: 27.92 kB / 334.2 MB, free: 11.39 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.3949, allocations: 8 kB / 334.2 MB, free: 11.38 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,$PRE.truncatedNormalNoise.state[1],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.r,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r_raw,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,globalSeed.seed) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002164/0.3951, allocations: 149.7 kB / 334.4 MB, free: 11.23 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.3952, allocations: 15.81 kB / 334.4 MB, free: 11.21 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.84e-05/0.3952, allocations: 21.39 kB / 334.4 MB, free: 11.19 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.3952, allocations: 0 / 334.4 MB, free: 11.19 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.874e-05/0.3953, allocations: 4 kB / 334.4 MB, free: 11.19 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3953, allocations: 4 kB / 334.4 MB, free: 11.18 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002963/0.3956, allocations: 221.4 kB / 334.6 MB, free: 10.92 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3956, allocations: 0 / 334.6 MB, free: 10.92 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.393e-05/0.3957, allocations: 16.08 kB / 334.7 MB, free: 10.9 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.3957, allocations: 3.984 kB / 334.7 MB, free: 10.9 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.3957, allocations: 8 kB / 334.7 MB, free: 10.89 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.3957, allocations: 3.938 kB / 334.7 MB, free: 10.89 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.3957, allocations: 0 / 334.7 MB, free: 10.89 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004861/0.3962, allocations: 272.7 kB / 334.9 MB, free: 10.59 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.937e-05/0.3963, allocations: 96.91 kB / 335 MB, free: 10.47 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/0.3964, allocations: 8 kB / 335 MB, free: 10.46 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.348e-05/0.3964, allocations: 15.98 kB / 335.1 MB, free: 10.45 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.034e-05/0.3965, allocations: 15.88 kB / 335.1 MB, free: 10.43 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.3966, allocations: 7.984 kB / 335.1 MB, free: 10.43 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001506/0.3967, allocations: 137.2 kB / 335.2 MB, free: 10.29 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3967, allocations: 0 / 335.2 MB, free: 10.29 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005674/0.3973, allocations: 127.9 kB / 335.3 MB, free: 10.17 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001/0.3983, allocations: 353.6 kB / 335.7 MB, free: 9.82 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004865/0.3988, allocations: 203.8 kB / 335.9 MB, free: 9.621 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.3988, allocations: 4.125 kB / 335.9 MB, free: 9.617 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.399, allocations: 71.91 kB / 336 MB, free: 9.547 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.3992, allocations: 12.17 kB / 336 MB, free: 9.535 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006308/0.3998, allocations: 303.1 kB / 336.3 MB, free: 9.207 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.4003, allocations: 0.7279 MB / 337 MB, free: 8.453 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.274e-05/0.4003, allocations: 17.42 kB / 337 MB, free: 8.434 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.338e-05/0.4004, allocations: 19.42 kB / 337 MB, free: 8.414 MB / 270.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4004, allocations: 0 / 337 MB, free: 8.414 MB / 270.1 MB Notification: Performance of Templates: time 0.007815/0.4082, allocations: 3.424 MB / 340.5 MB, free: 4.984 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.sim & ./Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Distributions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1) Environment - environmentSimulation: