Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.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.UniformNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 99.7 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.001253/0.001253, allocations: 177.3 kB / 15.95 MB, free: 216 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.869/1.869, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0004827/0.000483, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3631, allocations: 47.59 MB / 326.5 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.003042/0.3663, allocations: 1.508 MB / 328 MB, free: 232 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002166/0.3685, allocations: 0.9451 MB / 328.9 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.3686, allocations: 2.438 kB / 328.9 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.3688, allocations: 15.8 kB / 328.9 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000207/0.369, allocations: 24.67 kB / 328.9 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005797/0.3696, allocations: 146 kB / 329.1 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002302/0.3698, allocations: 130 kB / 329.2 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002089/0.3701, allocations: 50.48 kB / 329.3 MB, free: 15.24 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.3702, allocations: 80.11 kB / 329.3 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.3704, allocations: 94 kB / 329.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.398e-05/0.3704, allocations: 9.812 kB / 329.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002564/0.3707, allocations: 99.44 kB / 329.5 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.346e-05/0.3708, allocations: 44.84 kB / 329.6 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.659e-05/0.3708, allocations: 48.52 kB / 329.6 MB, free: 15 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003167/0.3712, allocations: 207.9 kB / 329.8 MB, free: 14.86 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.3712, allocations: 0 / 329.8 MB, free: 14.86 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3712, allocations: 0 / 329.8 MB, free: 14.86 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.3712, allocations: 0 / 329.8 MB, free: 14.86 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001271/0.3725, allocations: 0.5536 MB / 330.4 MB, free: 14.36 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.3725, allocations: 12.09 kB / 330.4 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002602/0.3728, allocations: 32.23 kB / 330.4 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/0.3732, allocations: 241.8 kB / 330.7 MB, free: 14.09 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.72e-05/0.3732, allocations: 16.95 kB / 330.7 MB, free: 14.08 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.178e-05/0.3733, allocations: 21.19 kB / 330.7 MB, free: 14.07 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005606/0.3739, allocations: 207.9 kB / 330.9 MB, free: 13.96 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.3739, allocations: 0 / 330.9 MB, free: 13.96 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.3739, allocations: 5.25 kB / 330.9 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.374, allocations: 7.125 kB / 330.9 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005543/0.3745, allocations: 179.1 kB / 331.1 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.3758, allocations: 0.5811 MB / 331.7 MB, free: 13.37 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.377, allocations: 384.6 kB / 332.1 MB, free: 13.2 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.377, allocations: 6.047 kB / 332.1 MB, free: 13.2 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004521/0.3775, allocations: 183.4 kB / 332.2 MB, free: 13.09 MB / 270.1 MB Notification: Performance of pre-optimization done (n=22): time 2.285e-06/0.3775, allocations: 3.938 kB / 332.2 MB, free: 13.08 MB / 270.1 MB Notification: Performance of matching and sorting (n=22): time 0.001214/0.3787, allocations: 489.5 kB / 332.7 MB, free: 12.82 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001553/0.3789, allocations: 68.77 kB / 332.8 MB, free: 12.74 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.3791, allocations: 205.8 kB / 333 MB, free: 12.58 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.043e-05/0.3792, allocations: 36.42 kB / 333 MB, free: 12.55 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.829e-05/0.3793, allocations: 136.4 kB / 333.2 MB, free: 12.42 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.961e-05/0.3794, allocations: 65.27 kB / 333.2 MB, free: 12.36 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.724e-05/0.3794, allocations: 13.09 kB / 333.2 MB, free: 12.35 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3795, allocations: 336.2 kB / 333.6 MB, free: 12.02 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000368/0.3799, allocations: 148.4 kB / 333.7 MB, free: 11.96 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004612/0.3804, allocations: 178.1 kB / 333.9 MB, free: 11.83 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003978/0.3808, allocations: 153.2 kB / 334 MB, free: 11.68 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.3808, allocations: 0 / 334 MB, free: 11.68 MB / 270.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008843/0.3817, allocations: 416.4 kB / 334.4 MB, free: 11.27 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.3817, allocations: 4 kB / 334.4 MB, free: 11.27 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.3818, allocations: 3.984 kB / 334.4 MB, free: 11.27 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.3818, allocations: 4 kB / 334.4 MB, free: 11.26 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003114/0.3821, allocations: 79.88 kB / 334.5 MB, free: 11.18 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.3821, allocations: 0 / 334.5 MB, free: 11.18 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.3823, allocations: 59.59 kB / 334.6 MB, free: 11.12 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/0.3824, allocations: 12 kB / 334.6 MB, free: 11.11 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 1 * 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.0001632/0.3826, allocations: 146 kB / 334.7 MB, free: 10.96 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.3826, allocations: 27.67 kB / 334.8 MB, free: 10.93 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.901e-05/0.3827, allocations: 21.88 kB / 334.8 MB, free: 10.91 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3827, allocations: 0 / 334.8 MB, free: 10.91 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.3827, allocations: 0 / 334.8 MB, free: 10.91 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3827, allocations: 3.984 kB / 334.8 MB, free: 10.91 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.384, allocations: 0.6767 MB / 335.5 MB, free: 10.18 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.384, allocations: 4 kB / 335.5 MB, free: 10.17 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/0.3843, allocations: 55.95 kB / 335.5 MB, free: 10.12 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/0.3843, allocations: 4 kB / 335.5 MB, free: 10.11 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.3843, allocations: 0 / 335.5 MB, free: 10.11 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3843, allocations: 4 kB / 335.5 MB, free: 10.11 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3843, allocations: 3.984 kB / 335.5 MB, free: 10.11 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.3854, allocations: 0.5389 MB / 336.1 MB, free: 9.551 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.698e-05/0.3855, allocations: 100.8 kB / 336.2 MB, free: 9.434 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.823e-05/0.3856, allocations: 12.05 kB / 336.2 MB, free: 9.422 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.3858, allocations: 27.98 kB / 336.2 MB, free: 9.395 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/0.3858, allocations: 15.97 kB / 336.2 MB, free: 9.379 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.3859, allocations: 4 kB / 336.2 MB, free: 9.375 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001572/0.386, allocations: 151.2 kB / 336.4 MB, free: 9.227 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.386, allocations: 0 / 336.4 MB, free: 9.227 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004412/0.3865, allocations: 71.92 kB / 336.5 MB, free: 9.156 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005392/0.387, allocations: 228.4 kB / 336.7 MB, free: 8.93 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0008171/0.3879, allocations: 324 kB / 337 MB, free: 8.613 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3879, allocations: 0 / 337 MB, free: 8.613 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000344/0.3882, allocations: 135.9 kB / 337.1 MB, free: 8.48 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.3885, allocations: 23.98 kB / 337.1 MB, free: 8.457 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009523/0.3895, allocations: 0.5226 MB / 337.7 MB, free: 7.91 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.3899, allocations: 0.7437 MB / 338.4 MB, free: 7.141 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.39, allocations: 25.94 kB / 338.4 MB, free: 7.113 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.255e-05/0.3901, allocations: 23.42 kB / 338.5 MB, free: 7.09 MB / 270.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3901, allocations: 4 kB / 338.5 MB, free: 7.086 MB / 270.1 MB Notification: Performance of Templates: time 0.007278/0.3974, allocations: 2.852 MB / 341.3 MB, free: 4.23 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.sim & ./Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe 2>&1) Environment - environmentSimulation: