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.001058/0.001058, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001098/0.001098, allocations: 198.7 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.089/2.089, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.001377/0.001378, allocations: 59.92 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4024, allocations: 46.62 MB / 324.8 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.003406/0.4059, allocations: 1.564 MB / 326.4 MB, free: 0.6914 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.4072, allocations: 0.5741 MB / 327 MB, free: 260 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.095e-05/0.4072, allocations: 4 kB / 327 MB, free: 256 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.4074, allocations: 7.875 kB / 327 MB, free: 248 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 6.648e-05/0.4075, allocations: 15.08 kB / 327 MB, free: 236 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005983/0.4081, allocations: 132.7 kB / 327.1 MB, free: 144 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.4083, allocations: 118.1 kB / 327.3 MB, free: 72 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.713e-05/0.4084, allocations: 6.812 kB / 327.3 MB, free: 72 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.179e-05/0.4084, allocations: 49.77 kB / 327.3 MB, free: 40 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.022e-05/0.4085, allocations: 54.84 kB / 327.4 MB, free: 0 / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 3e-05/0.4085, allocations: 8.844 kB / 327.4 MB, free: 0 / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003266/0.4089, allocations: 126.6 kB / 327.5 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.264e-05/0.409, allocations: 35.91 kB / 327.5 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.566e-05/0.4091, allocations: 56.62 kB / 327.6 MB, free: 15.87 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003647/0.4094, allocations: 212.8 kB / 327.8 MB, free: 15.73 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.4094, allocations: 0 / 327.8 MB, free: 15.73 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4094, allocations: 0 / 327.8 MB, free: 15.73 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.4095, allocations: 0 / 327.8 MB, free: 15.73 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.0008546/0.4103, allocations: 461.5 kB / 328.2 MB, free: 15.27 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.4104, allocations: 12.42 kB / 328.3 MB, free: 15.27 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003503/0.4107, allocations: 35.36 kB / 328.3 MB, free: 15.26 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.4109, allocations: 199.5 kB / 328.5 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/0.411, allocations: 7.812 kB / 328.5 MB, free: 15.03 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.411, allocations: 9.328 kB / 328.5 MB, free: 15.03 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002712/0.4113, allocations: 116.6 kB / 328.6 MB, free: 14.94 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.4113, allocations: 192 / 328.6 MB, free: 14.94 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.4113, allocations: 4.938 kB / 328.6 MB, free: 14.94 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.4113, allocations: 5.031 kB / 328.6 MB, free: 14.93 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001861/0.4115, allocations: 57.08 kB / 328.7 MB, free: 14.91 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007519/0.4123, allocations: 378.1 kB / 329.1 MB, free: 14.54 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003447/0.4127, allocations: 131.8 kB / 329.2 MB, free: 14.44 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.4128, allocations: 56.19 kB / 329.2 MB, free: 14.41 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.908e-06/0.4128, allocations: 0 / 329.2 MB, free: 14.41 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003691/0.4132, allocations: 141.4 kB / 329.4 MB, free: 14.3 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.4132, allocations: 1.188 kB / 329.4 MB, free: 14.3 MB / 270.1 MB Notification: Performance of matching and sorting (n=16): time 0.000604/0.4138, allocations: 235.8 kB / 329.6 MB, free: 14.18 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.705e-05/0.4139, allocations: 93.22 kB / 329.7 MB, free: 14.08 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.4141, allocations: 183.1 kB / 329.9 MB, free: 13.93 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.013e-05/0.4142, allocations: 48.44 kB / 329.9 MB, free: 13.89 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.312e-05/0.4143, allocations: 105.4 kB / 330 MB, free: 13.79 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.757e-05/0.4143, allocations: 38.8 kB / 330.1 MB, free: 13.75 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.4144, allocations: 59.33 kB / 330.1 MB, free: 13.71 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.4146, allocations: 332 kB / 330.4 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.4148, allocations: 96.16 kB / 330.5 MB, free: 13.34 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.415, allocations: 132.6 kB / 330.7 MB, free: 13.27 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004143/0.4155, allocations: 215.5 kB / 330.9 MB, free: 13.15 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.4155, allocations: 0.875 kB / 330.9 MB, free: 13.15 MB / 270.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005669/0.4161, allocations: 295.8 kB / 331.2 MB, free: 13.01 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.4161, allocations: 9.391 kB / 331.2 MB, free: 13 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.4161, allocations: 0 / 331.2 MB, free: 13 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.4161, allocations: 2.219 kB / 331.2 MB, free: 13 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.4163, allocations: 32.58 kB / 331.2 MB, free: 12.99 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.4163, allocations: 2.156 kB / 331.2 MB, free: 12.99 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.71e-05/0.4164, allocations: 18.19 kB / 331.2 MB, free: 12.98 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.4164, allocations: 9.484 kB / 331.2 MB, free: 12.98 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.0001855/0.4166, allocations: 159.8 kB / 331.4 MB, free: 12.83 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.4167, allocations: 13.5 kB / 331.4 MB, free: 12.82 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.067e-05/0.4167, allocations: 12.22 kB / 331.4 MB, free: 12.81 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.4167, allocations: 1.094 kB / 331.4 MB, free: 12.81 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/0.4167, allocations: 1.062 kB / 331.4 MB, free: 12.81 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.4167, allocations: 1.188 kB / 331.4 MB, free: 12.81 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.417, allocations: 218.4 kB / 331.6 MB, free: 12.57 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.417, allocations: 1.25 kB / 331.6 MB, free: 12.57 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.336e-05/0.4171, allocations: 9.844 kB / 331.6 MB, free: 12.57 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4171, allocations: 1.031 kB / 331.6 MB, free: 12.57 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.4171, allocations: 9.078 kB / 331.7 MB, free: 12.56 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.4171, allocations: 1.281 kB / 331.7 MB, free: 12.56 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4171, allocations: 1.312 kB / 331.7 MB, free: 12.56 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003955/0.4175, allocations: 217 kB / 331.9 MB, free: 12.42 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.708e-05/0.4176, allocations: 97.3 kB / 332 MB, free: 12.31 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/0.4176, allocations: 9.812 kB / 332 MB, free: 12.31 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.705e-05/0.4177, allocations: 8.297 kB / 332 MB, free: 12.3 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.169e-05/0.4178, allocations: 17.8 kB / 332 MB, free: 12.29 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.4178, allocations: 2.812 kB / 332 MB, free: 12.29 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.4179, allocations: 120.6 kB / 332.1 MB, free: 12.2 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4179, allocations: 0 / 332.1 MB, free: 12.2 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003456/0.4182, allocations: 57.98 kB / 332.2 MB, free: 12.18 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.0007394/0.419, allocations: 232.5 kB / 332.4 MB, free: 12 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005917/0.4196, allocations: 198.9 kB / 332.6 MB, free: 11.92 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4196, allocations: 0 / 332.6 MB, free: 11.92 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.4198, allocations: 61.53 kB / 332.7 MB, free: 11.89 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.42, allocations: 7.984 kB / 332.7 MB, free: 11.88 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007346/0.4208, allocations: 293.1 kB / 333 MB, free: 11.57 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005086/0.4213, allocations: 0.708 MB / 333.7 MB, free: 10.83 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.853e-05/0.4214, allocations: 20.86 kB / 333.7 MB, free: 10.81 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.971e-05/0.4214, allocations: 15.44 kB / 333.7 MB, free: 10.79 MB / 270.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4214, allocations: 0 / 333.7 MB, free: 10.79 MB / 270.1 MB Notification: Performance of Templates: time 0.006732/0.4282, allocations: 2.084 MB / 335.8 MB, free: 8.707 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile (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)