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.0008798/0.0008799, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006076/0.006076, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 205.4 MB / 222.4 MB, free: 5.797 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.000733/0.0007329, allocations: 12.52 kB / 279.5 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3479, allocations: 47.58 MB / 327 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.001922/0.3499, allocations: 1.555 MB / 328.6 MB, free: 156 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.3517, allocations: 0.9869 MB / 329.6 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.534e-05/0.3518, allocations: 2.188 kB / 329.6 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.3519, allocations: 16.95 kB / 329.6 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002043/0.3521, allocations: 14.92 kB / 329.6 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005031/0.3526, allocations: 163.3 kB / 329.8 MB, free: 15.24 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002423/0.3529, allocations: 210.9 kB / 330 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.3531, allocations: 58.98 kB / 330 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.926e-05/0.3532, allocations: 76.72 kB / 330.1 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.3533, allocations: 106.3 kB / 330.2 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.3534, allocations: 9.938 kB / 330.2 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002471/0.3536, allocations: 119 kB / 330.3 MB, free: 14.9 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.643e-05/0.3537, allocations: 49.41 kB / 330.4 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.3538, allocations: 108.5 kB / 330.5 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003711/0.3542, allocations: 283.5 kB / 330.8 MB, free: 14.57 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3542, allocations: 4 kB / 330.8 MB, free: 14.57 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.3542, allocations: 0 / 330.8 MB, free: 14.57 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.3542, allocations: 7.875 kB / 330.8 MB, free: 14.56 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.001201/0.3554, allocations: 0.5399 MB / 331.3 MB, free: 14.07 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3555, allocations: 9.938 kB / 331.3 MB, free: 14.07 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002931/0.3558, allocations: 32.48 kB / 331.4 MB, free: 14.06 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.3561, allocations: 247.2 kB / 331.6 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/0.3561, allocations: 16.91 kB / 331.6 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.376e-05/0.3562, allocations: 21.12 kB / 331.6 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005531/0.3568, allocations: 226.7 kB / 331.9 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.3568, allocations: 0 / 331.9 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.3568, allocations: 6.188 kB / 331.9 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.3568, allocations: 3.406 kB / 331.9 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00051/0.3573, allocations: 183.8 kB / 332 MB, free: 13.58 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.3585, allocations: 0.5878 MB / 332.6 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.3597, allocations: 378.7 kB / 333 MB, free: 12.91 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003241/0.36, allocations: 137.8 kB / 333.1 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.36, allocations: 2.188 kB / 333.1 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004415/0.3605, allocations: 184.2 kB / 333.3 MB, free: 12.73 MB / 270.1 MB Notification: Performance of pre-optimization done (n=22): time 1.973e-06/0.3605, allocations: 0 / 333.3 MB, free: 12.73 MB / 270.1 MB Notification: Performance of matching and sorting (n=22): time 0.001107/0.3616, allocations: 418.1 kB / 333.7 MB, free: 12.52 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.3617, allocations: 63.41 kB / 333.8 MB, free: 12.45 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.3619, allocations: 211.7 kB / 334 MB, free: 12.22 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.541e-05/0.3619, allocations: 45.69 kB / 334 MB, free: 12.17 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.3621, allocations: 124.6 kB / 334.2 MB, free: 12.05 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.651e-05/0.3621, allocations: 71.02 kB / 334.2 MB, free: 11.98 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.336e-05/0.3622, allocations: 45.69 kB / 334.3 MB, free: 11.93 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3623, allocations: 330.8 kB / 334.6 MB, free: 11.59 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003716/0.3627, allocations: 147.9 kB / 334.7 MB, free: 11.45 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003759/0.3631, allocations: 181.6 kB / 334.9 MB, free: 11.27 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006594/0.3638, allocations: 296.7 kB / 335.2 MB, free: 10.97 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3638, allocations: 3.938 kB / 335.2 MB, free: 10.97 MB / 270.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009615/0.3648, allocations: 418.7 kB / 335.6 MB, free: 10.55 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.3648, allocations: 8 kB / 335.6 MB, free: 10.55 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.3648, allocations: 0 / 335.6 MB, free: 10.55 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.3648, allocations: 0 / 335.6 MB, free: 10.55 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/0.3651, allocations: 79.88 kB / 335.7 MB, free: 10.47 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.3652, allocations: 4 kB / 335.7 MB, free: 10.46 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.3654, allocations: 59.53 kB / 335.8 MB, free: 10.41 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.3654, allocations: 12 kB / 335.8 MB, free: 10.39 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,globalSeed.seed,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001647/0.3656, allocations: 149.6 kB / 335.9 MB, free: 10.24 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.3656, allocations: 19.72 kB / 336 MB, free: 10.22 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.644e-05/0.3657, allocations: 21.88 kB / 336 MB, free: 10.2 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.3657, allocations: 4 kB / 336 MB, free: 10.19 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.3657, allocations: 0 / 336 MB, free: 10.19 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.3657, allocations: 3.984 kB / 336 MB, free: 10.19 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/0.3669, allocations: 0.6805 MB / 336.7 MB, free: 9.453 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.3669, allocations: 0 / 336.7 MB, free: 9.453 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.3672, allocations: 63.95 kB / 336.7 MB, free: 9.391 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3672, allocations: 0 / 336.7 MB, free: 9.391 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.3673, allocations: 4 kB / 336.7 MB, free: 9.387 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3673, allocations: 3.938 kB / 336.7 MB, free: 9.383 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3673, allocations: 0 / 336.7 MB, free: 9.383 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.3684, allocations: 0.5351 MB / 337.3 MB, free: 8.832 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.625e-05/0.3685, allocations: 100.8 kB / 337.4 MB, free: 8.715 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/0.3685, allocations: 12 kB / 337.4 MB, free: 8.703 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.3687, allocations: 35.97 kB / 337.4 MB, free: 8.668 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.3688, allocations: 11.97 kB / 337.4 MB, free: 8.656 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.3688, allocations: 4 kB / 337.4 MB, free: 8.652 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001444/0.369, allocations: 155.2 kB / 337.6 MB, free: 8.5 MB / 270.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.369, allocations: 0 / 337.6 MB, free: 8.5 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003973/0.3694, allocations: 67.98 kB / 337.6 MB, free: 8.434 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 (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.0005132/0.3699, allocations: 216.6 kB / 337.9 MB, free: 8.219 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0007614/0.3707, allocations: 323.7 kB / 338.2 MB, free: 7.902 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3707, allocations: 4.062 kB / 338.2 MB, free: 7.898 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003291/0.371, allocations: 135.9 kB / 338.3 MB, free: 7.766 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.3714, allocations: 23.92 kB / 338.3 MB, free: 7.742 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.3724, allocations: 0.5461 MB / 338.9 MB, free: 7.172 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.3728, allocations: 0.7398 MB / 339.6 MB, free: 6.406 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001251/0.3729, allocations: 25.94 kB / 339.6 MB, free: 6.379 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.643e-05/0.373, allocations: 27.44 kB / 339.7 MB, free: 6.352 MB / 270.1 MB Notification: Performance of SimCode: time 2.164e-06/0.373, allocations: 0 / 339.7 MB, free: 6.352 MB / 270.1 MB Notification: Performance of Templates: time 0.006761/0.3798, allocations: 2.922 MB / 342.6 MB, free: 3.426 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)