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.001417/0.001417, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001522/0.001521, allocations: 192.7 kB / 16.13 MB, free: 6.711 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.486/1.486, allocations: 205.1 MB / 222 MB, free: 4.754 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.001173/0.001173, allocations: 51.92 kB / 278 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2856, allocations: 46.62 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002841/0.2884, allocations: 1.613 MB / 326.3 MB, free: 0.6602 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002617/0.2911, allocations: 1.52 MB / 327.8 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.489e-05/0.2912, allocations: 0 / 327.8 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.2913, allocations: 5.344 kB / 327.8 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.124e-05/0.2914, allocations: 17.27 kB / 327.8 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009125/0.2924, allocations: 322.2 kB / 328.1 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.2925, allocations: 123.3 kB / 328.3 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.409e-05/0.2926, allocations: 11.95 kB / 328.3 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.622e-05/0.2927, allocations: 47.28 kB / 328.3 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.777e-05/0.2928, allocations: 68.95 kB / 328.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.2928, allocations: 6.188 kB / 328.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007106/0.2935, allocations: 460 kB / 328.8 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.517e-05/0.2936, allocations: 32.06 kB / 328.9 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.413e-05/0.2937, allocations: 65.33 kB / 328.9 MB, free: 14.81 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006589/0.2944, allocations: 419.2 kB / 329.3 MB, free: 14.55 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.2944, allocations: 0 / 329.3 MB, free: 14.55 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2944, allocations: 3.938 kB / 329.4 MB, free: 14.54 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.2944, allocations: 0 / 329.4 MB, free: 14.54 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.0009179/0.2953, allocations: 0.5147 MB / 329.9 MB, free: 14.05 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.2954, allocations: 9.719 kB / 329.9 MB, free: 14.05 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002656/0.2957, allocations: 29.55 kB / 329.9 MB, free: 14.04 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.2959, allocations: 200.8 kB / 330.1 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.2959, allocations: 11.77 kB / 330.1 MB, free: 13.81 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.2959, allocations: 5.844 kB / 330.1 MB, free: 13.81 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.2962, allocations: 136.5 kB / 330.3 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.2963, allocations: 5.344 kB / 330.3 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.2963, allocations: 0 / 330.3 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2963, allocations: 1.344 kB / 330.3 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000206/0.2965, allocations: 64.67 kB / 330.3 MB, free: 13.67 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008174/0.2973, allocations: 0.55 MB / 330.9 MB, free: 13.12 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003489/0.2977, allocations: 150.9 kB / 331 MB, free: 13 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.2978, allocations: 67.2 kB / 331.1 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.2979, allocations: 1.438 kB / 331.1 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003666/0.2982, allocations: 157.1 kB / 331.2 MB, free: 12.83 MB / 270.1 MB Notification: Performance of pre-optimization done (n=17): time 1.423e-06/0.2982, allocations: 0 / 331.2 MB, free: 12.83 MB / 270.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006642/0.2989, allocations: 253 kB / 331.5 MB, free: 12.71 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.601e-05/0.299, allocations: 119.7 kB / 331.6 MB, free: 12.58 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.2993, allocations: 198.1 kB / 331.8 MB, free: 12.43 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/0.2993, allocations: 51.75 kB / 331.8 MB, free: 12.38 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.2995, allocations: 111 kB / 332 MB, free: 12.27 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.685e-05/0.2996, allocations: 43.36 kB / 332 MB, free: 12.23 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.2997, allocations: 56.16 kB / 332.1 MB, free: 12.2 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.2999, allocations: 332.4 kB / 332.4 MB, free: 11.87 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.3001, allocations: 100.7 kB / 332.5 MB, free: 11.82 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/0.3004, allocations: 145 kB / 332.6 MB, free: 11.73 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004417/0.3009, allocations: 221.6 kB / 332.8 MB, free: 11.62 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3009, allocations: 0 / 332.8 MB, free: 11.62 MB / 270.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005769/0.3015, allocations: 318.7 kB / 333.1 MB, free: 11.36 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.3015, allocations: 14.91 kB / 333.2 MB, free: 11.35 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.3015, allocations: 0 / 333.2 MB, free: 11.35 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3015, allocations: 0 / 333.2 MB, free: 11.35 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.3017, allocations: 31.98 kB / 333.2 MB, free: 11.32 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.3017, allocations: 7.938 kB / 333.2 MB, free: 11.31 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.612e-05/0.3018, allocations: 19.83 kB / 333.2 MB, free: 11.29 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.3019, allocations: 16.08 kB / 333.2 MB, free: 11.28 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.0001774/0.3021, allocations: 149.8 kB / 333.4 MB, free: 11.12 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.3021, allocations: 15.81 kB / 333.4 MB, free: 11.11 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.077e-05/0.3021, allocations: 17.39 kB / 333.4 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3022, allocations: 4 kB / 333.4 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3022, allocations: 0 / 333.4 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.3022, allocations: 0 / 333.4 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.3024, allocations: 229.3 kB / 333.6 MB, free: 10.81 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3024, allocations: 4 kB / 333.6 MB, free: 10.81 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.801e-05/0.3025, allocations: 11.98 kB / 333.7 MB, free: 10.8 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3025, allocations: 4 kB / 333.7 MB, free: 10.79 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.3025, allocations: 0 / 333.7 MB, free: 10.79 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.3025, allocations: 4 kB / 333.7 MB, free: 10.79 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3025, allocations: 0 / 333.7 MB, free: 10.79 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004493/0.303, allocations: 242.5 kB / 333.9 MB, free: 10.53 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.746e-05/0.3031, allocations: 96.84 kB / 334 MB, free: 10.41 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.302e-05/0.3031, allocations: 12 kB / 334 MB, free: 10.4 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.754e-05/0.3032, allocations: 7.984 kB / 334 MB, free: 10.39 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.154e-05/0.3032, allocations: 11.98 kB / 334 MB, free: 10.38 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.3033, allocations: 8.031 kB / 334 MB, free: 10.38 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001075/0.3034, allocations: 145.1 kB / 334.2 MB, free: 10.23 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.603e-06/0.3034, allocations: 4 kB / 334.2 MB, free: 10.23 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005834/0.304, allocations: 127.9 kB / 334.3 MB, free: 10.11 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.0009296/0.3049, allocations: 328.8 kB / 334.6 MB, free: 9.781 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004569/0.3054, allocations: 207.7 kB / 334.8 MB, free: 9.578 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3054, allocations: 192 / 334.8 MB, free: 9.578 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.3056, allocations: 71.91 kB / 334.9 MB, free: 9.508 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.3058, allocations: 8 kB / 334.9 MB, free: 9.5 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005793/0.3064, allocations: 325.6 kB / 335.2 MB, free: 9.148 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.3067, allocations: 0.7123 MB / 335.9 MB, free: 8.41 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.45e-05/0.3068, allocations: 25.41 kB / 336 MB, free: 8.383 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.748e-05/0.3069, allocations: 19.42 kB / 336 MB, free: 8.363 MB / 270.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3069, allocations: 0 / 336 MB, free: 8.363 MB / 270.1 MB Notification: Performance of Templates: time 0.008061/0.3149, allocations: 3.505 MB / 339.5 MB, free: 4.855 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)