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.0009643/0.0009645, allocations: 87.88 kB / 16.31 MB, free: 6.453 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.001117/0.001117, allocations: 178.3 kB / 17.21 MB, free: 6.328 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.727/1.727, allocations: 205.4 MB / 223.4 MB, free: 5.57 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.0004565/0.0004565, allocations: 12 kB / 280.1 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2976, allocations: 47.58 MB / 327.7 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.001632/0.2993, allocations: 1.254 MB / 329 MB, free: 440 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002171/0.3015, allocations: 1.366 MB / 330.3 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.18e-05/0.3016, allocations: 0 / 330.3 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.86e-05/0.3017, allocations: 8.969 kB / 330.4 MB, free: 15.37 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.457e-05/0.3018, allocations: 18.09 kB / 330.4 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.3028, allocations: 310.2 kB / 330.7 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.303, allocations: 125.2 kB / 330.8 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.499e-05/0.3031, allocations: 12.55 kB / 330.8 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.075e-05/0.3032, allocations: 50.3 kB / 330.9 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.612e-05/0.3032, allocations: 56.47 kB / 330.9 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.3033, allocations: 7.031 kB / 330.9 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008554/0.3041, allocations: 450 kB / 331.4 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.301e-05/0.3042, allocations: 35.33 kB / 331.4 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.228e-05/0.3043, allocations: 42.23 kB / 331.4 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004913/0.3048, allocations: 280.8 kB / 331.7 MB, free: 14.56 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3048, allocations: 0 / 331.7 MB, free: 14.56 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3048, allocations: 1.094 kB / 331.7 MB, free: 14.56 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.3048, allocations: 0 / 331.7 MB, free: 14.56 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.000869/0.3057, allocations: 0.4968 MB / 332.2 MB, free: 14.08 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.3057, allocations: 8.906 kB / 332.2 MB, free: 14.08 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002598/0.306, allocations: 37.94 kB / 332.3 MB, free: 14.06 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.3062, allocations: 203.8 kB / 332.5 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.3063, allocations: 3.188 kB / 332.5 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.3063, allocations: 10.22 kB / 332.5 MB, free: 13.83 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.3066, allocations: 131.5 kB / 332.6 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.3066, allocations: 0 / 332.6 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.3066, allocations: 5.156 kB / 332.6 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3067, allocations: 0.8125 kB / 332.6 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002166/0.3069, allocations: 73.05 kB / 332.7 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008241/0.3077, allocations: 0.5595 MB / 333.2 MB, free: 13.15 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003684/0.3081, allocations: 163.6 kB / 333.4 MB, free: 13.03 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.3083, allocations: 70.05 kB / 333.5 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.3083, allocations: 5 kB / 333.5 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003504/0.3086, allocations: 164.3 kB / 333.6 MB, free: 12.85 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.893e-06/0.3087, allocations: 0 / 333.6 MB, free: 12.85 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006474/0.3093, allocations: 267.3 kB / 333.9 MB, free: 12.73 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.001e-05/0.3094, allocations: 118.6 kB / 334 MB, free: 12.59 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.3097, allocations: 201.1 kB / 334.2 MB, free: 12.44 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.423e-05/0.3097, allocations: 44.84 kB / 334.2 MB, free: 12.4 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.863e-05/0.3098, allocations: 109.9 kB / 334.3 MB, free: 12.29 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.315e-05/0.3099, allocations: 47.28 kB / 334.4 MB, free: 12.25 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.344e-05/0.3099, allocations: 4.844 kB / 334.4 MB, free: 12.25 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.3101, allocations: 336.3 kB / 334.7 MB, free: 11.91 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.3103, allocations: 104.8 kB / 334.8 MB, free: 11.87 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/0.3106, allocations: 147.7 kB / 335 MB, free: 11.78 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/0.3109, allocations: 114.9 kB / 335.1 MB, free: 11.73 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3109, allocations: 1.344 kB / 335.1 MB, free: 11.73 MB / 270.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005976/0.3115, allocations: 314.4 kB / 335.4 MB, free: 11.52 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.3115, allocations: 10.97 kB / 335.4 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3115, allocations: 0 / 335.4 MB, free: 11.52 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.3116, allocations: 4 kB / 335.4 MB, free: 11.51 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.3117, allocations: 36.06 kB / 335.4 MB, free: 11.48 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.3117, allocations: 3.938 kB / 335.4 MB, free: 11.47 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.3118, allocations: 23.78 kB / 335.5 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.3119, allocations: 12 kB / 335.5 MB, free: 11.44 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.0001418/0.312, allocations: 149.9 kB / 335.6 MB, free: 11.28 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.312, allocations: 15.75 kB / 335.6 MB, free: 11.27 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.693e-05/0.3121, allocations: 25.39 kB / 335.7 MB, free: 11.24 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.3121, allocations: 4 kB / 335.7 MB, free: 11.24 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3121, allocations: 0 / 335.7 MB, free: 11.24 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3121, allocations: 0 / 335.7 MB, free: 11.24 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.3123, allocations: 225.3 kB / 335.9 MB, free: 10.97 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3123, allocations: 4 kB / 335.9 MB, free: 10.96 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.897e-05/0.3124, allocations: 11.98 kB / 335.9 MB, free: 10.95 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3124, allocations: 0 / 335.9 MB, free: 10.95 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.3124, allocations: 8 kB / 335.9 MB, free: 10.95 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3124, allocations: 0 / 335.9 MB, free: 10.95 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3124, allocations: 4 kB / 335.9 MB, free: 10.94 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003736/0.3128, allocations: 246.4 kB / 336.2 MB, free: 10.68 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.063e-05/0.3129, allocations: 100.9 kB / 336.3 MB, free: 10.56 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.313, allocations: 11.98 kB / 336.3 MB, free: 10.55 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.599e-05/0.313, allocations: 8 kB / 336.3 MB, free: 10.54 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.3131, allocations: 15.97 kB / 336.3 MB, free: 10.52 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.403e-06/0.3131, allocations: 4 kB / 336.3 MB, free: 10.52 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.3132, allocations: 137.2 kB / 336.4 MB, free: 10.39 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3132, allocations: 0 / 336.4 MB, free: 10.39 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000541/0.3138, allocations: 127.9 kB / 336.6 MB, free: 10.26 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.00091/0.3147, allocations: 349.5 kB / 336.9 MB, free: 9.918 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004415/0.3152, allocations: 203.8 kB / 337.1 MB, free: 9.719 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3152, allocations: 192 / 337.1 MB, free: 9.719 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.3153, allocations: 71.91 kB / 337.2 MB, free: 9.648 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.3155, allocations: 16.14 kB / 337.2 MB, free: 9.633 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004651/0.316, allocations: 299.2 kB / 337.5 MB, free: 9.309 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.3163, allocations: 0.7162 MB / 338.2 MB, free: 8.566 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.318e-05/0.3164, allocations: 25.41 kB / 338.2 MB, free: 8.539 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.115e-05/0.3164, allocations: 23.38 kB / 338.2 MB, free: 8.516 MB / 270.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3164, allocations: 0 / 338.2 MB, free: 8.516 MB / 270.1 MB Notification: Performance of Templates: time 0.007935/0.3244, allocations: 3.436 MB / 341.7 MB, free: 5.074 MB / 270.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)