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.001304/0.001304, allocations: 97.91 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.001374/0.001374, 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.809/1.809, allocations: 205.4 MB / 222.1 MB, free: 5.547 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.0005746/0.000575, allocations: 16 kB / 278.9 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3904, allocations: 47.58 MB / 326.4 MB, free: 1.449 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.00179/0.3923, allocations: 1.205 MB / 327.6 MB, free: 0.4922 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.3933, allocations: 0.5462 MB / 328.2 MB, free: 80 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.597e-05/0.3934, allocations: 6.875 kB / 328.2 MB, free: 76 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.3935, allocations: 3.938 kB / 328.2 MB, free: 72 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 6.642e-05/0.3936, allocations: 26.59 kB / 328.2 MB, free: 48 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006057/0.3942, allocations: 113.7 kB / 328.3 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.3944, allocations: 70.47 kB / 328.4 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.106e-05/0.3945, allocations: 11.03 kB / 328.4 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.441e-05/0.3945, allocations: 44.23 kB / 328.5 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.555e-05/0.3947, allocations: 54.66 kB / 328.5 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.3947, allocations: 5.375 kB / 328.5 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002388/0.3949, allocations: 91.73 kB / 328.6 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.56e-05/0.395, allocations: 26.91 kB / 328.6 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.144e-05/0.3951, allocations: 48.77 kB / 328.7 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002768/0.3954, allocations: 142.1 kB / 328.8 MB, free: 15.65 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.3954, allocations: 3.938 kB / 328.8 MB, free: 15.65 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3954, allocations: 0 / 328.8 MB, free: 15.65 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.3954, allocations: 0 / 328.8 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.0007289/0.3961, allocations: 434.9 kB / 329.3 MB, free: 15.22 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.3962, allocations: 14.09 kB / 329.3 MB, free: 15.21 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003328/0.3965, allocations: 40.62 kB / 329.3 MB, free: 15.2 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.3968, allocations: 197.9 kB / 329.5 MB, free: 14.98 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.3968, allocations: 7.688 kB / 329.5 MB, free: 14.97 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.3968, allocations: 8.656 kB / 329.5 MB, free: 14.97 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.3971, allocations: 122.6 kB / 329.6 MB, free: 14.88 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3971, allocations: 0 / 329.6 MB, free: 14.88 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.3971, allocations: 5.156 kB / 329.6 MB, free: 14.88 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.3972, allocations: 1.094 kB / 329.6 MB, free: 14.88 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.3974, allocations: 64.14 kB / 329.7 MB, free: 14.85 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007709/0.3981, allocations: 387.3 kB / 330.1 MB, free: 14.47 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.3985, allocations: 143.4 kB / 330.2 MB, free: 14.38 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.3985, allocations: 1.188 kB / 330.2 MB, free: 14.38 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003208/0.3989, allocations: 144.4 kB / 330.4 MB, free: 14.27 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.3989, allocations: 0 / 330.4 MB, free: 14.27 MB / 270.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006794/0.3996, allocations: 407.2 kB / 330.8 MB, free: 13.96 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.78e-05/0.3996, allocations: 93.3 kB / 330.9 MB, free: 13.86 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.3998, allocations: 177.9 kB / 331 MB, free: 13.72 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.313e-05/0.3999, allocations: 44.22 kB / 331.1 MB, free: 13.68 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.4001, allocations: 106.2 kB / 331.2 MB, free: 13.57 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.703e-05/0.4001, allocations: 38.61 kB / 331.2 MB, free: 13.54 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.206e-05/0.4001, allocations: 5.281 kB / 331.2 MB, free: 13.54 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.4003, allocations: 327.2 kB / 331.5 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.4006, allocations: 103.8 kB / 331.6 MB, free: 13.17 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.4008, allocations: 134.4 kB / 331.8 MB, free: 13.09 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/0.4011, allocations: 116.8 kB / 331.9 MB, free: 13.04 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4011, allocations: 0 / 331.9 MB, free: 13.04 MB / 270.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005981/0.4017, allocations: 313.6 kB / 332.2 MB, free: 12.89 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.4017, allocations: 9.578 kB / 332.2 MB, free: 12.88 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.4018, allocations: 0 / 332.2 MB, free: 12.88 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.4018, allocations: 6.375 kB / 332.2 MB, free: 12.88 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.402, allocations: 29.64 kB / 332.2 MB, free: 12.87 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.402, allocations: 2.094 kB / 332.2 MB, free: 12.87 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.742e-05/0.4021, allocations: 20.66 kB / 332.3 MB, free: 12.86 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/0.4021, allocations: 9.141 kB / 332.3 MB, free: 12.86 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.0001944/0.4023, allocations: 151.5 kB / 332.4 MB, free: 12.71 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.4024, allocations: 17.98 kB / 332.4 MB, free: 12.7 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.261e-05/0.4024, allocations: 16.52 kB / 332.4 MB, free: 12.69 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.4025, allocations: 1.062 kB / 332.4 MB, free: 12.69 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.4025, allocations: 1 kB / 332.4 MB, free: 12.69 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.4025, allocations: 0 / 332.4 MB, free: 12.69 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.4027, allocations: 207.2 kB / 332.6 MB, free: 12.46 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4028, allocations: 5.375 kB / 332.7 MB, free: 12.46 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.076e-05/0.4028, allocations: 7.719 kB / 332.7 MB, free: 12.46 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.4028, allocations: 4.953 kB / 332.7 MB, free: 12.45 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.4028, allocations: 5.094 kB / 332.7 MB, free: 12.45 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.4029, allocations: 5.109 kB / 332.7 MB, free: 12.45 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4029, allocations: 0.8438 kB / 332.7 MB, free: 12.45 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004577/0.4033, allocations: 253.9 kB / 332.9 MB, free: 12.27 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.113e-05/0.4034, allocations: 97.41 kB / 333 MB, free: 12.16 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.4035, allocations: 5.969 kB / 333 MB, free: 12.16 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.622e-05/0.4035, allocations: 14.52 kB / 333 MB, free: 12.16 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.043e-05/0.4036, allocations: 17.33 kB / 333.1 MB, free: 12.14 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.4036, allocations: 2.906 kB / 333.1 MB, free: 12.14 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001245/0.4038, allocations: 128 kB / 333.2 MB, free: 12.04 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4038, allocations: 4 kB / 333.2 MB, free: 12.04 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003011/0.4041, allocations: 45.5 kB / 333.2 MB, free: 12.03 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.0005305/0.4046, allocations: 213.9 kB / 333.4 MB, free: 11.87 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004886/0.4051, allocations: 195.4 kB / 333.6 MB, free: 11.8 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4051, allocations: 0 / 333.6 MB, free: 11.8 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.4053, allocations: 71.12 kB / 333.7 MB, free: 11.77 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.4055, allocations: 3 kB / 333.7 MB, free: 11.77 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005707/0.4061, allocations: 272.3 kB / 334 MB, free: 11.54 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/0.4065, allocations: 0.7199 MB / 334.7 MB, free: 10.79 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.717e-05/0.4066, allocations: 12.88 kB / 334.7 MB, free: 10.77 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.057e-05/0.4066, allocations: 19.42 kB / 334.7 MB, free: 10.75 MB / 270.1 MB Notification: Performance of SimCode: time 2.364e-06/0.4066, allocations: 4 kB / 334.7 MB, free: 10.75 MB / 270.1 MB Notification: Performance of Templates: time 0.005562/0.4122, allocations: 1.95 MB / 336.7 MB, free: 8.797 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: