Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.00125/0.00125, allocations: 106.4 kB / 17.06 MB, free: 6.027 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.001575/0.001575, allocations: 195 kB / 18 MB, free: 5.105 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.777/1.777, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.001167/0.001167, allocations: 55.92 kB / 327.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1283, allocations: 46.61 MB / 374.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.003202/0.1315, allocations: 1.483 MB / 376 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.1333, allocations: 0.5499 MB / 376.5 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.627e-05/0.1334, allocations: 4 kB / 376.5 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.1336, allocations: 7.875 kB / 376.5 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.1337, allocations: 23.78 kB / 376.5 MB, free: 2.496 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:994:5-1084:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:321:7-386:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift128plus.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. Notification: Performance of NFTyping.typeClassSections: time 0.0007936/0.1345, allocations: 155.5 kB / 376.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.1347, allocations: 119.6 kB / 376.8 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.85e-05/0.1348, allocations: 16.86 kB / 376.8 MB, free: 2.211 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.387e-05/0.1349, allocations: 47.84 kB / 376.9 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.152e-05/0.135, allocations: 55.75 kB / 376.9 MB, free: 2.109 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.135, allocations: 11.94 kB / 376.9 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002725/0.1353, allocations: 123.9 kB / 377.1 MB, free: 1.977 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.074e-05/0.1354, allocations: 27.92 kB / 377.1 MB, free: 1.949 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.635e-05/0.1355, allocations: 67.59 kB / 377.2 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003514/0.1358, allocations: 211.3 kB / 377.4 MB, free: 1.676 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.1358, allocations: 0 / 377.4 MB, free: 1.676 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1358, allocations: 0 / 377.4 MB, free: 1.676 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.1358, allocations: 0 / 377.4 MB, free: 1.676 MB / 318.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.0008137/0.1367, allocations: 450.9 kB / 377.8 MB, free: 1.184 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.1367, allocations: 12.02 kB / 377.8 MB, free: 1.172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000331/0.137, allocations: 40.72 kB / 377.9 MB, free: 1.133 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.1372, allocations: 207.9 kB / 378.1 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.1373, allocations: 4.375 kB / 378.1 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.1373, allocations: 8.375 kB / 378.1 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.1375, allocations: 111.9 kB / 378.2 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.1375, allocations: 192 / 378.2 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.1376, allocations: 3.938 kB / 378.2 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1376, allocations: 0 / 378.2 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000196/0.1378, allocations: 63.89 kB / 378.2 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006573/0.1385, allocations: 369.5 kB / 378.6 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.1388, allocations: 133 kB / 378.7 MB, free: 132 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.1389, allocations: 57.75 kB / 378.8 MB, free: 68 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.1389, allocations: 0 / 378.8 MB, free: 68 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2971/0.436, allocations: 131.8 kB / 378.9 MB, free: 12.95 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 4.418e-06/0.4361, allocations: 2.219 kB / 378.9 MB, free: 12.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006389/0.4367, allocations: 233.7 kB / 379.2 MB, free: 12.91 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.4368, allocations: 92.08 kB / 379.2 MB, free: 12.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.437, allocations: 183.6 kB / 379.4 MB, free: 12.72 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.437, allocations: 46.8 kB / 379.5 MB, free: 12.69 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.216e-05/0.4371, allocations: 103.1 kB / 379.6 MB, free: 12.61 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.666e-05/0.4371, allocations: 40.22 kB / 379.6 MB, free: 12.61 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.902e-05/0.4372, allocations: 57.55 kB / 379.7 MB, free: 12.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.342e-05/0.4373, allocations: 328.5 kB / 380 MB, free: 12.28 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.4375, allocations: 102.2 kB / 380.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.4377, allocations: 130.8 kB / 380.2 MB, free: 12.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000333/0.4381, allocations: 217.5 kB / 380.4 MB, free: 12.22 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.4381, allocations: 2.234 kB / 380.4 MB, free: 12.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004896/0.4386, allocations: 295.7 kB / 380.7 MB, free: 12.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.4386, allocations: 5.844 kB / 380.7 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.4386, allocations: 0 / 380.7 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.4387, allocations: 2.75 kB / 380.7 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.4388, allocations: 32.75 kB / 380.8 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.4388, allocations: 6.281 kB / 380.8 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.595e-05/0.4389, allocations: 21.06 kB / 380.8 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.439, allocations: 7.531 kB / 380.8 MB, free: 12.18 MB / 318.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.0001429/0.4391, allocations: 149.3 kB / 380.9 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.703e-05/0.4391, allocations: 18.28 kB / 381 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.917e-05/0.4392, allocations: 17.41 kB / 381 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.4392, allocations: 1.625 kB / 381 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.4392, allocations: 0.5312 kB / 381 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4392, allocations: 1 kB / 381 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.4395, allocations: 218 kB / 381.2 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4395, allocations: 3.531 kB / 381.2 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.363e-05/0.4396, allocations: 7.922 kB / 381.2 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.4396, allocations: 1.781 kB / 381.2 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/0.4396, allocations: 5.703 kB / 381.2 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.4396, allocations: 1.25 kB / 381.2 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/0.4396, allocations: 8.297 kB / 381.2 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000494/0.4401, allocations: 214 kB / 381.4 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.442e-05/0.4402, allocations: 93.27 kB / 381.5 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.417e-05/0.4403, allocations: 12.22 kB / 381.5 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.007e-05/0.4403, allocations: 8.922 kB / 381.5 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.075e-05/0.4404, allocations: 9.703 kB / 381.5 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.4404, allocations: 6.375 kB / 381.6 MB, free: 11.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001352/0.4406, allocations: 129.3 kB / 381.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4406, allocations: 0 / 381.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004027/0.441, allocations: 51.7 kB / 381.7 MB, free: 11.59 MB / 318.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.0005845/0.4416, allocations: 242 kB / 382 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005021/0.4421, allocations: 195.6 kB / 382.2 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4421, allocations: 1.062 kB / 382.2 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.4423, allocations: 61.95 kB / 382.2 MB, free: 11.44 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.4425, allocations: 8.234 kB / 382.2 MB, free: 11.44 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005566/0.443, allocations: 262.9 kB / 382.5 MB, free: 11.26 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.4433, allocations: 0.7075 MB / 383.2 MB, free: 10.57 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.149e-05/0.4433, allocations: 19.34 kB / 383.2 MB, free: 10.56 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.893e-05/0.4434, allocations: 14.39 kB / 383.2 MB, free: 10.55 MB / 318.1 MB Notification: Performance of SimCode: time 1.91e-07/0.4434, allocations: 1.125 kB / 383.2 MB, free: 10.55 MB / 318.1 MB Notification: Performance of Templates: time 0.00721/0.4506, allocations: 2.192 MB / 385.4 MB, free: 10.32 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1)