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.0009888/0.0009885, 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.0009358/0.0009361, allocations: 177.3 kB / 15.94 MB, free: 228 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.625/1.625, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.0004753/0.0004756, allocations: 12 kB / 278.9 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2904, allocations: 47.59 MB / 326.4 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.001832/0.2923, allocations: 1.252 MB / 327.7 MB, free: 428 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002491/0.2948, allocations: 1.366 MB / 329.1 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.297e-05/0.2949, allocations: 1.469 kB / 329.1 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.2951, allocations: 11.86 kB / 329.1 MB, free: 15.37 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.2952, allocations: 22.19 kB / 329.1 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.2964, allocations: 304.9 kB / 329.4 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.2966, allocations: 82.02 kB / 329.5 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.98e-05/0.2967, allocations: 7.562 kB / 329.5 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.01e-05/0.2967, allocations: 49.98 kB / 329.5 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.862e-05/0.2968, allocations: 60.08 kB / 329.6 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.2969, allocations: 11.53 kB / 329.6 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007912/0.2977, allocations: 435.2 kB / 330 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.22e-05/0.2977, allocations: 34.86 kB / 330.1 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.405e-05/0.2978, allocations: 40.64 kB / 330.1 MB, free: 14.76 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004622/0.2983, allocations: 274.9 kB / 330.4 MB, free: 14.6 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2983, allocations: 0 / 330.4 MB, free: 14.6 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2983, allocations: 0 / 330.4 MB, free: 14.6 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.2983, allocations: 0 / 330.4 MB, free: 14.6 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.0008342/0.2992, allocations: 0.5011 MB / 330.9 MB, free: 14.11 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.2992, allocations: 9.75 kB / 330.9 MB, free: 14.11 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002321/0.2994, allocations: 29.23 kB / 330.9 MB, free: 14.1 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.2997, allocations: 211.5 kB / 331.1 MB, free: 13.87 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.2997, allocations: 3.219 kB / 331.1 MB, free: 13.87 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.2998, allocations: 9.594 kB / 331.1 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/0.3001, allocations: 135.9 kB / 331.3 MB, free: 13.76 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3001, allocations: 0 / 331.3 MB, free: 13.76 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.3001, allocations: 5.094 kB / 331.3 MB, free: 13.76 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.3001, allocations: 0.9375 kB / 331.3 MB, free: 13.76 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002187/0.3004, allocations: 71.64 kB / 331.3 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009783/0.3014, allocations: 0.5641 MB / 331.9 MB, free: 13.17 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/0.3017, allocations: 164.2 kB / 332.1 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.3018, allocations: 1.125 kB / 332.1 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000343/0.3021, allocations: 160.6 kB / 332.2 MB, free: 12.93 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.373e-06/0.3021, allocations: 0 / 332.2 MB, free: 12.93 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.000759/0.3029, allocations: 427.5 kB / 332.6 MB, free: 12.61 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.971e-05/0.303, allocations: 119.8 kB / 332.8 MB, free: 12.48 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.3032, allocations: 199.9 kB / 332.9 MB, free: 12.32 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.044e-05/0.3033, allocations: 43.88 kB / 333 MB, free: 12.29 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.121e-05/0.3034, allocations: 106.6 kB / 333.1 MB, free: 12.18 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.884e-05/0.3034, allocations: 43.8 kB / 333.1 MB, free: 12.14 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.272e-05/0.3035, allocations: 5.125 kB / 333.1 MB, free: 12.14 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3036, allocations: 335.6 kB / 333.5 MB, free: 11.81 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.3038, allocations: 111.8 kB / 333.6 MB, free: 11.76 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.3041, allocations: 143.1 kB / 333.7 MB, free: 11.67 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.3043, allocations: 123.3 kB / 333.8 MB, free: 11.62 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3044, allocations: 1.5 kB / 333.8 MB, free: 11.62 MB / 270.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000748/0.3051, allocations: 314.5 kB / 334.1 MB, free: 11.46 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.3051, allocations: 5.344 kB / 334.2 MB, free: 11.46 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.3052, allocations: 1.281 kB / 334.2 MB, free: 11.46 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.806e-05/0.3052, allocations: 4 kB / 334.2 MB, free: 11.46 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.3055, allocations: 31.92 kB / 334.2 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.802e-05/0.3055, allocations: 7.984 kB / 334.2 MB, free: 11.42 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.3057, allocations: 19.84 kB / 334.2 MB, free: 11.4 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.801e-05/0.3057, allocations: 16 kB / 334.2 MB, free: 11.39 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.0002725/0.306, allocations: 149.7 kB / 334.4 MB, free: 11.23 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.3061, allocations: 15.81 kB / 334.4 MB, free: 11.21 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.132e-05/0.3062, allocations: 25.47 kB / 334.4 MB, free: 11.19 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.3062, allocations: 0 / 334.4 MB, free: 11.19 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.3062, allocations: 0 / 334.4 MB, free: 11.19 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.3062, allocations: 4 kB / 334.4 MB, free: 11.19 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004181/0.3067, allocations: 221.4 kB / 334.6 MB, free: 10.92 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3067, allocations: 0 / 334.6 MB, free: 10.92 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.862e-05/0.3068, allocations: 19.86 kB / 334.7 MB, free: 10.9 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.3068, allocations: 4 kB / 334.7 MB, free: 10.9 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.3068, allocations: 4 kB / 334.7 MB, free: 10.89 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.3069, allocations: 4 kB / 334.7 MB, free: 10.89 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.3069, allocations: 480 / 334.7 MB, free: 10.89 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006342/0.3075, allocations: 280.6 kB / 334.9 MB, free: 10.58 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.3076, allocations: 88.92 kB / 335 MB, free: 10.48 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.297e-05/0.3077, allocations: 11.98 kB / 335 MB, free: 10.46 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.3078, allocations: 12 kB / 335.1 MB, free: 10.45 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.3079, allocations: 23.86 kB / 335.1 MB, free: 10.43 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.308, allocations: 4 kB / 335.1 MB, free: 10.43 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001904/0.3082, allocations: 141.2 kB / 335.2 MB, free: 10.29 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3082, allocations: 0 / 335.2 MB, free: 10.29 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0009256/0.3091, allocations: 127.9 kB / 335.3 MB, free: 10.16 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.001289/0.3104, allocations: 345.1 kB / 335.7 MB, free: 9.824 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000648/0.3111, allocations: 207.8 kB / 335.9 MB, free: 9.621 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3111, allocations: 4 kB / 335.9 MB, free: 9.617 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.3114, allocations: 72.2 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.0002197/0.3116, allocations: 8.188 kB / 336 MB, free: 9.539 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007921/0.3124, allocations: 303 kB / 336.3 MB, free: 9.211 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.3128, allocations: 0.724 MB / 337 MB, free: 8.461 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.72e-05/0.3129, allocations: 25.41 kB / 337 MB, free: 8.434 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.376e-05/0.313, allocations: 19.42 kB / 337 MB, free: 8.414 MB / 270.1 MB Notification: Performance of SimCode: time 4e-07/0.313, allocations: 0 / 337 MB, free: 8.414 MB / 270.1 MB Notification: Performance of Templates: time 0.01124/0.3243, allocations: 3.424 MB / 340.5 MB, free: 4.984 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.Distributions.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: