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.0009888/0.0009946, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001135/0.001135, allocations: 172.7 kB / 15.95 MB, free: 208 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.916/1.916, 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.0004786/0.0004786, allocations: 8 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3418, allocations: 47.58 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.002159/0.3441, allocations: 1.513 MB / 328 MB, free: 204 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002138/0.3462, allocations: 0.9311 MB / 328.9 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.3464, allocations: 2.125 kB / 328.9 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001475/0.3465, allocations: 17.02 kB / 328.9 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.3468, allocations: 27.06 kB / 329 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005593/0.3473, allocations: 143.2 kB / 329.1 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002597/0.3476, allocations: 194.9 kB / 329.3 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.3478, allocations: 54.98 kB / 329.3 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.3479, allocations: 80.58 kB / 329.4 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.3481, allocations: 98.3 kB / 329.5 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.57e-05/0.3481, allocations: 13.88 kB / 329.5 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002624/0.3484, allocations: 118.8 kB / 329.7 MB, free: 15 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.229e-05/0.3485, allocations: 40.36 kB / 329.7 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.538e-05/0.3486, allocations: 53.77 kB / 329.7 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003041/0.3489, allocations: 207.2 kB / 329.9 MB, free: 14.79 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3489, allocations: 0 / 329.9 MB, free: 14.79 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3489, allocations: 1.156 kB / 329.9 MB, free: 14.79 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.3489, allocations: 0 / 329.9 MB, free: 14.79 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.001261/0.3502, allocations: 0.5532 MB / 330.5 MB, free: 14.29 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.3503, allocations: 8.906 kB / 330.5 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002405/0.3505, allocations: 32.77 kB / 330.5 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.3508, allocations: 240.6 kB / 330.8 MB, free: 14.02 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.056e-05/0.3509, allocations: 12.97 kB / 330.8 MB, free: 14.02 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.792e-05/0.351, allocations: 20.78 kB / 330.8 MB, free: 14.01 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005717/0.3516, allocations: 217.8 kB / 331 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.3516, allocations: 0 / 331 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/0.3516, allocations: 5.219 kB / 331 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.3516, allocations: 6.688 kB / 331 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005147/0.3521, allocations: 180.1 kB / 331.2 MB, free: 13.81 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.3534, allocations: 0.5805 MB / 331.8 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.3547, allocations: 384.7 kB / 332.2 MB, free: 13.13 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003679/0.3551, allocations: 137.9 kB / 332.3 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.3551, allocations: 2.281 kB / 332.3 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004845/0.3556, allocations: 187.3 kB / 332.5 MB, free: 12.95 MB / 270.1 MB Notification: Performance of pre-optimization done (n=22): time 1.984e-06/0.3556, allocations: 0 / 332.5 MB, free: 12.95 MB / 270.1 MB Notification: Performance of matching and sorting (n=22): time 0.001206/0.3568, allocations: 418.9 kB / 332.9 MB, free: 12.77 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.824e-05/0.3569, allocations: 57.62 kB / 332.9 MB, free: 12.71 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003743/0.3573, allocations: 213.8 kB / 333.2 MB, free: 12.54 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.635e-05/0.3573, allocations: 35.73 kB / 333.2 MB, free: 12.51 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.3575, allocations: 132.3 kB / 333.3 MB, free: 12.38 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.505e-05/0.3575, allocations: 68.42 kB / 333.4 MB, free: 12.32 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.814e-05/0.3576, allocations: 5.094 kB / 333.4 MB, free: 12.32 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.3578, allocations: 337.2 kB / 333.7 MB, free: 11.99 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003724/0.3581, allocations: 153 kB / 333.9 MB, free: 11.87 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003458/0.3585, allocations: 178.2 kB / 334 MB, free: 11.69 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003245/0.3588, allocations: 157.2 kB / 334.2 MB, free: 11.54 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3589, allocations: 0 / 334.2 MB, free: 11.54 MB / 270.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008043/0.3597, allocations: 408.4 kB / 334.6 MB, free: 11.14 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3597, allocations: 11.97 kB / 334.6 MB, free: 11.12 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3597, allocations: 0 / 334.6 MB, free: 11.12 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.3597, allocations: 4 kB / 334.6 MB, free: 11.12 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.36, allocations: 79.88 kB / 334.7 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3601, allocations: 0 / 334.7 MB, free: 11.04 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.3602, allocations: 55.61 kB / 334.7 MB, free: 10.99 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.3603, allocations: 11.98 kB / 334.8 MB, free: 10.98 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.0001655/0.3605, allocations: 146 kB / 334.9 MB, free: 10.82 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.3605, allocations: 23.67 kB / 334.9 MB, free: 10.8 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.919e-05/0.3606, allocations: 33.84 kB / 335 MB, free: 10.77 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.3606, allocations: 0 / 335 MB, free: 10.77 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3606, allocations: 0 / 335 MB, free: 10.77 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3606, allocations: 0 / 335 MB, free: 10.77 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.3618, allocations: 0.6739 MB / 335.6 MB, free: 10.04 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3618, allocations: 0 / 335.6 MB, free: 10.04 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.362, allocations: 55.89 kB / 335.7 MB, free: 9.98 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.3621, allocations: 4 kB / 335.7 MB, free: 9.977 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.3621, allocations: 4 kB / 335.7 MB, free: 9.973 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.3621, allocations: 0 / 335.7 MB, free: 9.973 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3621, allocations: 0 / 335.7 MB, free: 9.973 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.3631, allocations: 0.5456 MB / 336.2 MB, free: 9.414 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.802e-05/0.3632, allocations: 100.8 kB / 336.3 MB, free: 9.297 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.363e-05/0.3633, allocations: 15.94 kB / 336.4 MB, free: 9.281 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.3635, allocations: 27.97 kB / 336.4 MB, free: 9.254 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.881e-05/0.3635, allocations: 15.98 kB / 336.4 MB, free: 9.238 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.3635, allocations: 7.984 kB / 336.4 MB, free: 9.23 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001443/0.3637, allocations: 147.2 kB / 336.5 MB, free: 9.086 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3637, allocations: 0 / 336.5 MB, free: 9.086 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003929/0.3641, allocations: 75.97 kB / 336.6 MB, free: 9.012 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.0005537/0.3647, allocations: 220.6 kB / 336.8 MB, free: 8.793 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0007505/0.3654, allocations: 328 kB / 337.2 MB, free: 8.473 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3654, allocations: 3.938 kB / 337.2 MB, free: 8.469 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003119/0.3658, allocations: 132 kB / 337.3 MB, free: 8.34 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.3661, allocations: 27.89 kB / 337.3 MB, free: 8.312 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009694/0.3671, allocations: 0.5187 MB / 337.8 MB, free: 7.77 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.3675, allocations: 0.7359 MB / 338.6 MB, free: 7.008 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.3676, allocations: 29.94 kB / 338.6 MB, free: 6.977 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.405e-05/0.3677, allocations: 19.44 kB / 338.6 MB, free: 6.957 MB / 270.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3677, allocations: 0 / 338.6 MB, free: 6.957 MB / 270.1 MB Notification: Performance of Templates: time 0.007017/0.3747, allocations: 2.859 MB / 341.5 MB, free: 4.094 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.makefile (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)