Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.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.UniformNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 99.31 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.001518/0.001518, 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.725/1.725, allocations: 205.4 MB / 222.1 MB, free: 5.531 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.000468/0.0004681, allocations: 12 kB / 278.9 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2793, allocations: 47.59 MB / 326.4 MB, free: 1.539 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.002395/0.2818, allocations: 1.205 MB / 327.6 MB, free: 0.582 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.283, allocations: 0.5453 MB / 328.2 MB, free: 172 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.354e-05/0.2831, allocations: 1.281 kB / 328.2 MB, free: 172 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 8.597e-05/0.2832, allocations: 11.88 kB / 328.2 MB, free: 160 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 6.143e-05/0.2833, allocations: 19.5 kB / 328.2 MB, free: 144 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.2837, allocations: 118.8 kB / 328.3 MB, free: 60 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.2838, allocations: 75.8 kB / 328.4 MB, free: 8 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.609e-05/0.2839, allocations: 10.05 kB / 328.4 MB, free: 4 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.723e-05/0.2839, allocations: 44.88 kB / 328.5 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.345e-05/0.284, allocations: 45.11 kB / 328.5 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.284, allocations: 11.47 kB / 328.5 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.2842, allocations: 92.56 kB / 328.6 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.231e-05/0.2843, allocations: 34.48 kB / 328.6 MB, free: 15.87 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.121e-05/0.2843, allocations: 38.45 kB / 328.7 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.2846, allocations: 146.8 kB / 328.8 MB, free: 15.74 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.2846, allocations: 0 / 328.8 MB, free: 15.74 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2846, allocations: 0 / 328.8 MB, free: 15.74 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.626e-06/0.2846, allocations: 0 / 328.8 MB, free: 15.74 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000668/0.2853, allocations: 442.9 kB / 329.3 MB, free: 15.3 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.2853, allocations: 9.312 kB / 329.3 MB, free: 15.3 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003082/0.2856, allocations: 36.97 kB / 329.3 MB, free: 15.29 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.2858, allocations: 193.6 kB / 329.5 MB, free: 15.07 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.2859, allocations: 7.594 kB / 329.5 MB, free: 15.07 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.2859, allocations: 4.531 kB / 329.5 MB, free: 15.07 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002336/0.2861, allocations: 123.3 kB / 329.6 MB, free: 14.98 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.2861, allocations: 3.938 kB / 329.6 MB, free: 14.97 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.2862, allocations: 5.359 kB / 329.6 MB, free: 14.97 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.2862, allocations: 1.344 kB / 329.6 MB, free: 14.97 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.2864, allocations: 59.53 kB / 329.7 MB, free: 14.95 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006768/0.287, allocations: 390.9 kB / 330.1 MB, free: 14.57 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.2874, allocations: 135.9 kB / 330.2 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.334e-06/0.2874, allocations: 1.406 kB / 330.2 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002912/0.2877, allocations: 145.5 kB / 330.4 MB, free: 14.37 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.2877, allocations: 0 / 330.4 MB, free: 14.37 MB / 270.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006491/0.2884, allocations: 414.6 kB / 330.8 MB, free: 14.06 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.2884, allocations: 93.44 kB / 330.8 MB, free: 13.96 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.2886, allocations: 177.8 kB / 331 MB, free: 13.81 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.2887, allocations: 48.38 kB / 331.1 MB, free: 13.77 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.395e-05/0.2887, allocations: 101.8 kB / 331.2 MB, free: 13.67 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/0.2888, allocations: 38.8 kB / 331.2 MB, free: 13.64 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.218e-05/0.2888, allocations: 9.125 kB / 331.2 MB, free: 13.63 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.289, allocations: 331.1 kB / 331.5 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.2892, allocations: 100.1 kB / 331.6 MB, free: 13.26 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.2894, allocations: 134.1 kB / 331.8 MB, free: 13.18 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.2896, allocations: 121 kB / 331.9 MB, free: 13.13 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2896, allocations: 0 / 331.9 MB, free: 13.13 MB / 270.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005013/0.2901, allocations: 313.4 kB / 332.2 MB, free: 12.97 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.2902, allocations: 6.312 kB / 332.2 MB, free: 12.97 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.2902, allocations: 0 / 332.2 MB, free: 12.97 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.2902, allocations: 2.344 kB / 332.2 MB, free: 12.97 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.2904, allocations: 30.88 kB / 332.2 MB, free: 12.96 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.2904, allocations: 4.969 kB / 332.2 MB, free: 12.96 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.006e-05/0.2905, allocations: 20.16 kB / 332.3 MB, free: 12.95 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.889e-05/0.2905, allocations: 5.156 kB / 332.3 MB, free: 12.95 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,$PRE.uniformNoise2.state[1],uniformNoise2.state[1],$PRE.uniformNoise2.state[2],uniformNoise2.state[2],$PRE.uniformNoise2.state[3],uniformNoise2.state[3],$PRE.uniformNoise2.state[4],uniformNoise2.state[4],$PRE.uniformNoise2.r,uniformNoise2.r,$PRE.uniformNoise2.r_raw,uniformNoise2.r_raw,$PRE.uniformNoise1.state[1],uniformNoise1.state[1],$PRE.uniformNoise1.state[2],uniformNoise1.state[2],$PRE.uniformNoise1.state[3],uniformNoise1.state[3],$PRE.uniformNoise1.state[4],uniformNoise1.state[4],$PRE.uniformNoise1.r,uniformNoise1.r,$PRE.uniformNoise1.r_raw,uniformNoise1.r_raw,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.000144/0.2907, allocations: 151.7 kB / 332.4 MB, free: 12.81 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.2907, allocations: 17.61 kB / 332.4 MB, free: 12.8 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.51e-05/0.2908, allocations: 16.8 kB / 332.4 MB, free: 12.79 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.2908, allocations: 1.469 kB / 332.4 MB, free: 12.79 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.2908, allocations: 0 / 332.4 MB, free: 12.79 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2908, allocations: 5.156 kB / 332.4 MB, free: 12.78 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.291, allocations: 211 kB / 332.7 MB, free: 12.55 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.291, allocations: 0 / 332.7 MB, free: 12.55 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.035e-05/0.2911, allocations: 16.2 kB / 332.7 MB, free: 12.54 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.2911, allocations: 5.234 kB / 332.7 MB, free: 12.54 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.2911, allocations: 6.344 kB / 332.7 MB, free: 12.53 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2911, allocations: 0 / 332.7 MB, free: 12.53 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2911, allocations: 0.9688 kB / 332.7 MB, free: 12.53 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/0.2915, allocations: 241.5 kB / 332.9 MB, free: 12.37 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.453e-05/0.2916, allocations: 101.1 kB / 333 MB, free: 12.26 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.789e-05/0.2916, allocations: 10.53 kB / 333 MB, free: 12.25 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.219e-05/0.2917, allocations: 13.45 kB / 333 MB, free: 12.25 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.254e-05/0.2918, allocations: 13.05 kB / 333.1 MB, free: 12.24 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.2918, allocations: 7.312 kB / 333.1 MB, free: 12.23 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001138/0.2919, allocations: 123.7 kB / 333.2 MB, free: 12.14 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2919, allocations: 0 / 333.2 MB, free: 12.14 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003399/0.2922, allocations: 50.45 kB / 333.2 MB, free: 12.12 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * 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.000495/0.2927, allocations: 217.9 kB / 333.4 MB, free: 11.96 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004207/0.2932, allocations: 199.6 kB / 333.6 MB, free: 11.88 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2932, allocations: 0 / 333.6 MB, free: 11.88 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.2933, allocations: 66.84 kB / 333.7 MB, free: 11.86 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.2935, allocations: 10.89 kB / 333.7 MB, free: 11.85 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005378/0.294, allocations: 270.5 kB / 334 MB, free: 11.61 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.2943, allocations: 0.716 MB / 334.7 MB, free: 10.87 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.032e-05/0.2944, allocations: 24.94 kB / 334.7 MB, free: 10.84 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.732e-05/0.2944, allocations: 15.44 kB / 334.7 MB, free: 10.83 MB / 270.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2944, allocations: 3.938 kB / 334.7 MB, free: 10.82 MB / 270.1 MB Notification: Performance of Templates: time 0.00473/0.2992, allocations: 1.946 MB / 336.7 MB, free: 8.875 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) Environment - environmentSimulation: