Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001513/0.001513, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001409/0.001409, allocations: 195 kB / 16.14 MB, free: 6.707 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.653/1.653, allocations: 205.1 MB / 222 MB, free: 4.98 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.001187/0.001187, allocations: 47.94 kB / 278 MB, free: 13.01 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2841, allocations: 46.62 MB / 324.7 MB, free: 1.836 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.003605/0.2878, allocations: 1.568 MB / 326.2 MB, free: 0.5977 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.289, allocations: 0.5894 MB / 326.8 MB, free: 156 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.665e-05/0.2891, allocations: 0 / 326.8 MB, free: 156 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.2893, allocations: 7.922 kB / 326.8 MB, free: 148 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 6.45e-05/0.2893, allocations: 13.72 kB / 326.8 MB, free: 136 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004669/0.2898, allocations: 128.3 kB / 327 MB, free: 44 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.29, allocations: 105.5 kB / 327.1 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.462e-05/0.29, allocations: 6.656 kB / 327.1 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.344e-05/0.2901, allocations: 45.34 kB / 327.1 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.148e-05/0.2902, allocations: 54.41 kB / 327.2 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.2902, allocations: 5.938 kB / 327.2 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002803/0.2905, allocations: 119.7 kB / 327.3 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.774e-05/0.2906, allocations: 35.67 kB / 327.3 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.385e-05/0.2907, allocations: 55.78 kB / 327.4 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005022/0.2912, allocations: 202.9 kB / 327.6 MB, free: 15.65 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.2912, allocations: 2.25 kB / 327.6 MB, free: 15.65 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2912, allocations: 0 / 327.6 MB, free: 15.65 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.2912, allocations: 0 / 327.6 MB, free: 15.65 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.0008698/0.2921, allocations: 463.8 kB / 328 MB, free: 15.2 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/0.2921, allocations: 14.38 kB / 328.1 MB, free: 15.19 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003632/0.2925, allocations: 34.25 kB / 328.1 MB, free: 15.18 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.2928, allocations: 215.7 kB / 328.3 MB, free: 14.94 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.2928, allocations: 6.781 kB / 328.3 MB, free: 14.94 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/0.2929, allocations: 6.125 kB / 328.3 MB, free: 14.94 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003236/0.2932, allocations: 107.7 kB / 328.4 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.2932, allocations: 1.375 kB / 328.4 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.2932, allocations: 3.938 kB / 328.4 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.2933, allocations: 1.031 kB / 328.4 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002278/0.2935, allocations: 65.58 kB / 328.5 MB, free: 14.82 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008945/0.2944, allocations: 369.9 kB / 328.9 MB, free: 14.46 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000419/0.2948, allocations: 136.4 kB / 329 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.295, allocations: 54.81 kB / 329 MB, free: 14.32 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.295, allocations: 1.406 kB / 329 MB, free: 14.32 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004601/0.2955, allocations: 149.3 kB / 329.2 MB, free: 14.21 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.2955, allocations: 0 / 329.2 MB, free: 14.21 MB / 270.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008208/0.2963, allocations: 236.6 kB / 329.4 MB, free: 14.09 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.2964, allocations: 89.47 kB / 329.5 MB, free: 14 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/0.2967, allocations: 174.4 kB / 329.7 MB, free: 13.86 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 6.238e-05/0.2968, allocations: 51.81 kB / 329.7 MB, free: 13.81 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.2969, allocations: 105.9 kB / 329.8 MB, free: 13.7 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.058e-05/0.297, allocations: 43.25 kB / 329.9 MB, free: 13.67 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.2971, allocations: 63.48 kB / 329.9 MB, free: 13.62 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002104/0.2973, allocations: 328 kB / 330.3 MB, free: 13.29 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/0.2976, allocations: 95.86 kB / 330.3 MB, free: 13.25 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002764/0.2979, allocations: 132.1 kB / 330.5 MB, free: 13.18 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004669/0.2983, allocations: 216.8 kB / 330.7 MB, free: 13.07 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2984, allocations: 0 / 330.7 MB, free: 13.07 MB / 270.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006683/0.299, allocations: 291.5 kB / 331 MB, free: 12.93 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.2991, allocations: 9.312 kB / 331 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.2991, allocations: 1.219 kB / 331 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.2991, allocations: 2.25 kB / 331 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.2993, allocations: 28.52 kB / 331 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.2993, allocations: 1.125 kB / 331 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.771e-05/0.2994, allocations: 22.52 kB / 331 MB, free: 12.9 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.2995, allocations: 10 kB / 331 MB, free: 12.89 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,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1],uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002108/0.2997, allocations: 151 kB / 331.2 MB, free: 12.75 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.763e-05/0.2997, allocations: 17.81 kB / 331.2 MB, free: 12.74 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.87e-05/0.2998, allocations: 16.05 kB / 331.2 MB, free: 12.73 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.2998, allocations: 1.906 kB / 331.2 MB, free: 12.73 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.2998, allocations: 0 / 331.2 MB, free: 12.73 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.2998, allocations: 1.25 kB / 331.2 MB, free: 12.73 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002981/0.3001, allocations: 223.2 kB / 331.4 MB, free: 12.48 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3001, allocations: 0 / 331.4 MB, free: 12.48 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.894e-05/0.3002, allocations: 10.58 kB / 331.5 MB, free: 12.48 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3002, allocations: 5.031 kB / 331.5 MB, free: 12.48 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.3002, allocations: 5.125 kB / 331.5 MB, free: 12.47 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.3003, allocations: 1.062 kB / 331.5 MB, free: 12.47 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.3003, allocations: 1.188 kB / 331.5 MB, free: 12.47 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005002/0.3008, allocations: 211.8 kB / 331.7 MB, free: 12.34 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.122e-05/0.3009, allocations: 101 kB / 331.8 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.3009, allocations: 15.7 kB / 331.8 MB, free: 12.22 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.705e-05/0.301, allocations: 7.031 kB / 331.8 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.33e-05/0.3011, allocations: 9.422 kB / 331.8 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.3011, allocations: 6.703 kB / 331.8 MB, free: 12.21 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001525/0.3013, allocations: 124.8 kB / 331.9 MB, free: 12.11 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3013, allocations: 1.062 kB / 331.9 MB, free: 12.11 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003954/0.3017, allocations: 46 kB / 332 MB, free: 12.1 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 (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.0007558/0.3024, allocations: 214.3 kB / 332.2 MB, free: 11.95 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004633/0.3029, allocations: 200.9 kB / 332.4 MB, free: 11.86 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3029, allocations: 1.094 kB / 332.4 MB, free: 11.86 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.3031, allocations: 66.11 kB / 332.5 MB, free: 11.83 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.3033, allocations: 11.16 kB / 332.5 MB, free: 11.82 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000543/0.3038, allocations: 287.5 kB / 332.7 MB, free: 11.58 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.3041, allocations: 0.7105 MB / 333.5 MB, free: 10.87 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.609e-05/0.3042, allocations: 19.41 kB / 333.5 MB, free: 10.86 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.3042, allocations: 13.94 kB / 333.5 MB, free: 10.85 MB / 270.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3042, allocations: 0 / 333.5 MB, free: 10.85 MB / 270.1 MB Notification: Performance of Templates: time 0.005376/0.3096, allocations: 2.022 MB / 335.5 MB, free: 8.91 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & ./Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1)