Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.001194/0.001195, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001301/0.001301, allocations: 199.2 kB / 16.14 MB, free: 6.715 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.522/1.522, allocations: 205.1 MB / 222 MB, free: 4.773 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.001216/0.001216, allocations: 52.39 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.27, allocations: 46.63 MB / 324.7 MB, free: 2.047 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.003009/0.273, allocations: 1.559 MB / 326.2 MB, free: 0.8164 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.2742, allocations: 0.593 MB / 326.8 MB, free: 376 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.673e-05/0.2742, allocations: 1.094 kB / 326.8 MB, free: 376 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.2744, allocations: 3.938 kB / 326.8 MB, free: 372 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 6.19e-05/0.2744, allocations: 10 kB / 326.8 MB, free: 364 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004566/0.2749, allocations: 128.9 kB / 327 MB, free: 272 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.275, allocations: 108.8 kB / 327.1 MB, free: 208 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.143e-05/0.2751, allocations: 10.77 kB / 327.1 MB, free: 204 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.864e-05/0.2752, allocations: 44.86 kB / 327.1 MB, free: 176 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.248e-05/0.2752, allocations: 55.27 kB / 327.2 MB, free: 136 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.2753, allocations: 5.156 kB / 327.2 MB, free: 136 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002152/0.2755, allocations: 119.4 kB / 327.3 MB, free: 72 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 5.077e-05/0.2755, allocations: 32.09 kB / 327.3 MB, free: 48 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 5.231e-05/0.2756, allocations: 52.03 kB / 327.4 MB, free: 8 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.2759, allocations: 210.7 kB / 327.6 MB, free: 15.87 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2759, allocations: 1.438 kB / 327.6 MB, free: 15.87 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.2759, allocations: 3.938 kB / 327.6 MB, free: 15.86 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.2759, allocations: 0 / 327.6 MB, free: 15.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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006339/0.2766, allocations: 468.4 kB / 328.1 MB, free: 15.4 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.2766, allocations: 9.875 kB / 328.1 MB, free: 15.4 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003169/0.277, allocations: 34.88 kB / 328.1 MB, free: 15.39 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.2772, allocations: 199.2 kB / 328.3 MB, free: 15.17 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.2772, allocations: 7.641 kB / 328.3 MB, free: 15.16 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.2772, allocations: 9.719 kB / 328.3 MB, free: 15.16 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002529/0.2775, allocations: 116.8 kB / 328.4 MB, free: 15.07 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.2775, allocations: 4.188 kB / 328.4 MB, free: 15.07 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.2775, allocations: 5.031 kB / 328.4 MB, free: 15.07 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.2775, allocations: 1.156 kB / 328.4 MB, free: 15.07 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.2777, allocations: 52.56 kB / 328.5 MB, free: 15.05 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007738/0.2785, allocations: 377.8 kB / 328.9 MB, free: 14.67 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000358/0.2789, allocations: 128.2 kB / 329 MB, free: 14.58 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.279, allocations: 51.95 kB / 329 MB, free: 14.55 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.279, allocations: 9.031 kB / 329 MB, free: 14.54 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003316/0.2794, allocations: 137.2 kB / 329.2 MB, free: 14.44 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.2794, allocations: 0 / 329.2 MB, free: 14.44 MB / 270.1 MB Notification: Performance of matching and sorting (n=16): time 0.000569/0.2799, allocations: 240.2 kB / 329.4 MB, free: 14.32 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.397e-05/0.28, allocations: 89.53 kB / 329.5 MB, free: 14.22 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.2802, allocations: 178.3 kB / 329.7 MB, free: 14.08 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.225e-05/0.2803, allocations: 45.36 kB / 329.7 MB, free: 14.04 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.594e-05/0.2804, allocations: 105 kB / 329.8 MB, free: 13.93 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.2804, allocations: 38.33 kB / 329.9 MB, free: 13.9 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.2805, allocations: 68.83 kB / 329.9 MB, free: 13.85 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.2807, allocations: 327.3 kB / 330.2 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.2809, allocations: 100.3 kB / 330.3 MB, free: 13.48 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/0.2811, allocations: 131.9 kB / 330.5 MB, free: 13.41 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.2815, allocations: 213.2 kB / 330.7 MB, free: 13.3 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.2816, allocations: 4 kB / 330.7 MB, free: 13.29 MB / 270.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005691/0.2821, allocations: 295 kB / 331 MB, free: 13.15 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.2822, allocations: 6.062 kB / 331 MB, free: 13.15 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.2822, allocations: 0 / 331 MB, free: 13.15 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.2822, allocations: 2.188 kB / 331 MB, free: 13.15 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.2824, allocations: 33.59 kB / 331 MB, free: 13.14 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.2824, allocations: 1.312 kB / 331 MB, free: 13.14 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.017e-05/0.2825, allocations: 25.8 kB / 331 MB, free: 13.12 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.2825, allocations: 9.812 kB / 331 MB, free: 13.11 MB / 270.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.000145/0.2826, allocations: 147.2 kB / 331.2 MB, free: 12.98 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.2827, allocations: 13.59 kB / 331.2 MB, free: 12.97 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/0.2827, allocations: 16.3 kB / 331.2 MB, free: 12.96 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2827, allocations: 5.406 kB / 331.2 MB, free: 12.95 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.2827, allocations: 1.469 kB / 331.2 MB, free: 12.95 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2827, allocations: 0 / 331.2 MB, free: 12.95 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.283, allocations: 215.2 kB / 331.4 MB, free: 12.71 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.283, allocations: 0 / 331.4 MB, free: 12.71 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.598e-05/0.283, allocations: 10.92 kB / 331.4 MB, free: 12.71 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.283, allocations: 0.9062 kB / 331.4 MB, free: 12.71 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.2831, allocations: 9.281 kB / 331.5 MB, free: 12.7 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2831, allocations: 0.9688 kB / 331.5 MB, free: 12.7 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.2831, allocations: 5.5 kB / 331.5 MB, free: 12.7 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003687/0.2834, allocations: 216.3 kB / 331.7 MB, free: 12.56 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.177e-05/0.2835, allocations: 101.3 kB / 331.8 MB, free: 12.45 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.2836, allocations: 6.375 kB / 331.8 MB, free: 12.45 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.186e-05/0.2836, allocations: 11.36 kB / 331.8 MB, free: 12.44 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.2837, allocations: 10.02 kB / 331.8 MB, free: 12.44 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.2837, allocations: 3.281 kB / 331.8 MB, free: 12.44 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000101/0.2838, allocations: 124.6 kB / 331.9 MB, free: 12.34 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2838, allocations: 4 kB / 331.9 MB, free: 12.34 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002971/0.2841, allocations: 50.11 kB / 332 MB, free: 12.32 MB / 270.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.0004951/0.2846, allocations: 227.3 kB / 332.2 MB, free: 12.15 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000454/0.2851, allocations: 193.3 kB / 332.4 MB, free: 12.07 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2851, allocations: 0 / 332.4 MB, free: 12.07 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.2852, allocations: 58.34 kB / 332.4 MB, free: 12.05 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000178/0.2854, allocations: 11.25 kB / 332.5 MB, free: 12.04 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005495/0.286, allocations: 297.2 kB / 332.7 MB, free: 11.77 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.2863, allocations: 0.7122 MB / 333.5 MB, free: 11.03 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.78e-05/0.2864, allocations: 16.86 kB / 333.5 MB, free: 11.01 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.734e-05/0.2865, allocations: 19.42 kB / 333.5 MB, free: 10.99 MB / 270.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2865, allocations: 0 / 333.5 MB, free: 10.99 MB / 270.1 MB Notification: Performance of Templates: time 0.005755/0.2922, allocations: 2.013 MB / 335.5 MB, free: 8.977 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1)