Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.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.NormalNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009741/0.0009741, allocations: 100.2 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.0009821/0.0009821, 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 2.032/2.032, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0005028/0.0005029, allocations: 10.81 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3078, allocations: 47.59 MB / 326.4 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.002516/0.3104, allocations: 1.504 MB / 327.9 MB, free: 240 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.3129, allocations: 1.205 MB / 329.2 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.313, allocations: 2.062 kB / 329.2 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001444/0.3132, allocations: 21.02 kB / 329.2 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.536e-05/0.3133, allocations: 15.53 kB / 329.2 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009388/0.3142, allocations: 244.7 kB / 329.4 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.3145, allocations: 122.3 kB / 329.6 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.3146, allocations: 54.44 kB / 329.6 MB, free: 15 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.3148, allocations: 83.44 kB / 329.7 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.3149, allocations: 96.3 kB / 329.8 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.315, allocations: 9.844 kB / 329.8 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005681/0.3155, allocations: 278.7 kB / 330.1 MB, free: 14.76 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.805e-05/0.3156, allocations: 45.69 kB / 330.1 MB, free: 14.72 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.751e-05/0.3157, allocations: 48.61 kB / 330.2 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004342/0.3161, allocations: 270.7 kB / 330.4 MB, free: 14.5 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.3162, allocations: 4 kB / 330.4 MB, free: 14.5 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3162, allocations: 1 kB / 330.4 MB, free: 14.5 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.3162, allocations: 0 / 330.4 MB, free: 14.5 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.001216/0.3174, allocations: 0.5642 MB / 331 MB, free: 13.99 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.3175, allocations: 12.69 kB / 331 MB, free: 13.99 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002298/0.3177, allocations: 30.3 kB / 331 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.318, allocations: 244.9 kB / 331.3 MB, free: 13.72 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.504e-05/0.318, allocations: 16.91 kB / 331.3 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.683e-05/0.3181, allocations: 17.16 kB / 331.3 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004894/0.3186, allocations: 212 kB / 331.5 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.3186, allocations: 0 / 331.5 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.3186, allocations: 9.219 kB / 331.5 MB, free: 13.58 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.3187, allocations: 7.219 kB / 331.5 MB, free: 13.58 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004575/0.3191, allocations: 175.7 kB / 331.7 MB, free: 13.51 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.3202, allocations: 0.5878 MB / 332.3 MB, free: 13 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.3214, allocations: 381.5 kB / 332.7 MB, free: 12.83 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.3214, allocations: 5.781 kB / 332.7 MB, free: 12.83 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004369/0.3218, allocations: 181.8 kB / 332.8 MB, free: 12.71 MB / 270.1 MB Notification: Performance of pre-optimization done (n=22): time 1.984e-06/0.3219, allocations: 1.094 kB / 332.8 MB, free: 12.71 MB / 270.1 MB Notification: Performance of matching and sorting (n=22): time 0.001154/0.323, allocations: 493.7 kB / 333.3 MB, free: 12.44 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.3231, allocations: 63.33 kB / 333.4 MB, free: 12.37 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.3233, allocations: 207.8 kB / 333.6 MB, free: 12.15 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.717e-05/0.3234, allocations: 41.7 kB / 333.6 MB, free: 12.1 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.3235, allocations: 128.5 kB / 333.8 MB, free: 11.97 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.87e-05/0.3235, allocations: 75.08 kB / 333.8 MB, free: 11.9 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.641e-05/0.3236, allocations: 7.938 kB / 333.8 MB, free: 11.89 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3237, allocations: 334.8 kB / 334.2 MB, free: 11.55 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003338/0.3241, allocations: 147.9 kB / 334.3 MB, free: 11.41 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003619/0.3244, allocations: 178.2 kB / 334.5 MB, free: 11.23 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003632/0.3248, allocations: 153.2 kB / 334.6 MB, free: 11.08 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3248, allocations: 0 / 334.6 MB, free: 11.08 MB / 270.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000826/0.3256, allocations: 420.3 kB / 335 MB, free: 10.67 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.3257, allocations: 7.281 kB / 335 MB, free: 10.66 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3257, allocations: 0 / 335 MB, free: 10.66 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/0.3257, allocations: 7.938 kB / 335.1 MB, free: 10.66 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003021/0.326, allocations: 75.89 kB / 335.1 MB, free: 10.58 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.3261, allocations: 4 kB / 335.1 MB, free: 10.58 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.3262, allocations: 51.66 kB / 335.2 MB, free: 10.53 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.3263, allocations: 11.94 kB / 335.2 MB, free: 10.52 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.000166/0.3265, allocations: 150 kB / 335.3 MB, free: 10.36 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-05/0.3265, allocations: 23.67 kB / 335.4 MB, free: 10.34 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.914e-05/0.3266, allocations: 25.86 kB / 335.4 MB, free: 10.31 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3266, allocations: 0 / 335.4 MB, free: 10.31 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.3266, allocations: 7.984 kB / 335.4 MB, free: 10.3 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.3266, allocations: 0 / 335.4 MB, free: 10.3 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.3278, allocations: 0.6777 MB / 336.1 MB, free: 9.566 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3278, allocations: 0 / 336.1 MB, free: 9.566 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.328, allocations: 47.97 kB / 336.1 MB, free: 9.52 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.328, allocations: 7.984 kB / 336.1 MB, free: 9.512 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.3281, allocations: 0 / 336.1 MB, free: 9.512 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.3281, allocations: 4 kB / 336.1 MB, free: 9.508 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3281, allocations: 4 kB / 336.1 MB, free: 9.504 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.3291, allocations: 0.5428 MB / 336.7 MB, free: 8.945 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.054e-05/0.3292, allocations: 100.8 kB / 336.8 MB, free: 8.828 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.031e-05/0.3293, allocations: 8.062 kB / 336.8 MB, free: 8.82 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.3295, allocations: 27.97 kB / 336.8 MB, free: 8.793 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.965e-05/0.3295, allocations: 11.98 kB / 336.8 MB, free: 8.781 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.3296, allocations: 7.984 kB / 336.8 MB, free: 8.773 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001279/0.3297, allocations: 151.2 kB / 337 MB, free: 8.625 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3297, allocations: 0 / 337 MB, free: 8.625 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005029/0.3302, allocations: 99.98 kB / 337.1 MB, free: 8.527 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.0007234/0.3309, allocations: 284.5 kB / 337.4 MB, free: 8.246 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0007872/0.3317, allocations: 328 kB / 337.7 MB, free: 7.926 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3318, allocations: 0 / 337.7 MB, free: 7.926 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003313/0.3321, allocations: 135.9 kB / 337.8 MB, free: 7.793 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.3324, allocations: 23.92 kB / 337.8 MB, free: 7.77 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009115/0.3333, allocations: 0.5187 MB / 338.4 MB, free: 7.227 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.3336, allocations: 0.7437 MB / 339.1 MB, free: 6.457 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.3338, allocations: 33.92 kB / 339.1 MB, free: 6.422 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.417e-05/0.3339, allocations: 27.42 kB / 339.2 MB, free: 6.395 MB / 270.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3339, allocations: 0 / 339.2 MB, free: 6.395 MB / 270.1 MB Notification: Performance of Templates: time 0.007863/0.3417, allocations: 3.506 MB / 342.7 MB, free: 2.883 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.sim & ./Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1) Environment - environmentSimulation: