Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.0008375/0.0008375, allocations: 90.52 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.007203/0.007203, allocations: 171.1 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.563/1.563, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004165/0.0004165, allocations: 16 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2892, allocations: 47.58 MB / 327 MB, free: 1.375 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.001652/0.291, allocations: 1.229 MB / 328.3 MB, free: 404 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.2921, allocations: 0.5696 MB / 328.8 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.389e-05/0.2921, allocations: 1.969 kB / 328.8 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.183e-05/0.2922, allocations: 3.938 kB / 328.8 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.639e-05/0.2923, allocations: 13.06 kB / 328.8 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005279/0.2928, allocations: 124 kB / 329 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.293, allocations: 117.6 kB / 329.1 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.931e-05/0.2931, allocations: 6.906 kB / 329.1 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.431e-05/0.2931, allocations: 44.91 kB / 329.1 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.493e-05/0.2932, allocations: 54.59 kB / 329.2 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.2932, allocations: 5.969 kB / 329.2 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000236/0.2935, allocations: 124.3 kB / 329.3 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.901e-05/0.2936, allocations: 27.05 kB / 329.3 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.884e-05/0.2936, allocations: 81.91 kB / 329.4 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002969/0.2939, allocations: 198.6 kB / 329.6 MB, free: 15.44 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.061e-05/0.294, allocations: 5.219 kB / 329.6 MB, free: 15.43 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.294, allocations: 3.938 kB / 329.6 MB, free: 15.43 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.294, allocations: 0 / 329.6 MB, free: 15.43 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.000691/0.2947, allocations: 433.9 kB / 330 MB, free: 15 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.2947, allocations: 9.25 kB / 330.1 MB, free: 15 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003008/0.295, allocations: 37.72 kB / 330.1 MB, free: 14.98 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.2952, allocations: 199.8 kB / 330.3 MB, free: 14.76 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.2953, allocations: 14.77 kB / 330.3 MB, free: 14.75 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.2953, allocations: 5.5 kB / 330.3 MB, free: 14.75 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.2955, allocations: 120.7 kB / 330.4 MB, free: 14.66 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.2956, allocations: 192 / 330.4 MB, free: 14.66 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.2956, allocations: 5.031 kB / 330.4 MB, free: 14.66 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.2956, allocations: 5.75 kB / 330.4 MB, free: 14.66 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.2958, allocations: 71.02 kB / 330.5 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007219/0.2965, allocations: 376.2 kB / 330.9 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003406/0.2969, allocations: 151.5 kB / 331 MB, free: 14.16 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.297, allocations: 59.19 kB / 331.1 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.036e-06/0.297, allocations: 1.406 kB / 331.1 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003081/0.2974, allocations: 149 kB / 331.2 MB, free: 14.01 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.293e-06/0.2974, allocations: 3.938 kB / 331.2 MB, free: 14 MB / 270.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005614/0.2979, allocations: 248.5 kB / 331.5 MB, free: 13.89 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/0.298, allocations: 95.94 kB / 331.6 MB, free: 13.79 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.2982, allocations: 179.8 kB / 331.7 MB, free: 13.64 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.711e-05/0.2983, allocations: 48.06 kB / 331.8 MB, free: 13.6 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.569e-05/0.2984, allocations: 106.1 kB / 331.9 MB, free: 13.49 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.852e-05/0.2984, allocations: 42.34 kB / 331.9 MB, free: 13.46 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-05/0.2985, allocations: 33.05 kB / 332 MB, free: 13.43 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.2986, allocations: 332.2 kB / 332.3 MB, free: 13.1 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.2989, allocations: 104.4 kB / 332.4 MB, free: 13.05 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.2991, allocations: 131.9 kB / 332.5 MB, free: 12.98 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/0.2995, allocations: 226.6 kB / 332.7 MB, free: 12.87 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2995, allocations: 1.125 kB / 332.7 MB, free: 12.87 MB / 270.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005432/0.3, allocations: 302.5 kB / 333 MB, free: 12.72 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3001, allocations: 9.375 kB / 333 MB, free: 12.72 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3001, allocations: 1 kB / 333 MB, free: 12.72 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.3001, allocations: 6.016 kB / 333.1 MB, free: 12.71 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.3003, allocations: 30.64 kB / 333.1 MB, free: 12.71 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.3003, allocations: 5.438 kB / 333.1 MB, free: 12.7 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.234e-05/0.3004, allocations: 20.31 kB / 333.1 MB, free: 12.69 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.3004, allocations: 9.422 kB / 333.1 MB, free: 12.69 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.0001485/0.3005, allocations: 152 kB / 333.3 MB, free: 12.55 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.3006, allocations: 17.48 kB / 333.3 MB, free: 12.54 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.5e-05/0.3006, allocations: 11.78 kB / 333.3 MB, free: 12.53 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.3007, allocations: 2.375 kB / 333.3 MB, free: 12.53 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3007, allocations: 0 / 333.3 MB, free: 12.53 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.3007, allocations: 1.156 kB / 333.3 MB, free: 12.53 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.3009, allocations: 210.3 kB / 333.5 MB, free: 12.29 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3009, allocations: 5.078 kB / 333.5 MB, free: 12.29 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.227e-05/0.301, allocations: 11.5 kB / 333.5 MB, free: 12.29 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.301, allocations: 1.125 kB / 333.5 MB, free: 12.29 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.301, allocations: 2.062 kB / 333.5 MB, free: 12.29 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.301, allocations: 1.219 kB / 333.5 MB, free: 12.29 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.301, allocations: 3.984 kB / 333.5 MB, free: 12.28 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004129/0.3014, allocations: 232.4 kB / 333.8 MB, free: 12.14 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.599e-05/0.3015, allocations: 102 kB / 333.9 MB, free: 12.02 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.3016, allocations: 9.844 kB / 333.9 MB, free: 12.02 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.13e-05/0.3016, allocations: 9.484 kB / 333.9 MB, free: 12.02 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/0.3017, allocations: 17.33 kB / 333.9 MB, free: 12 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.3017, allocations: 2.531 kB / 333.9 MB, free: 12 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.3018, allocations: 129.4 kB / 334 MB, free: 11.9 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3018, allocations: 0 / 334 MB, free: 11.9 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003394/0.3022, allocations: 54.17 kB / 334.1 MB, free: 11.89 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.0005627/0.3028, allocations: 221.5 kB / 334.3 MB, free: 11.69 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004172/0.3032, allocations: 195.7 kB / 334.5 MB, free: 11.5 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3032, allocations: 128 / 334.5 MB, free: 11.5 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.3034, allocations: 71.91 kB / 334.5 MB, free: 11.43 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.3035, allocations: 8.609 kB / 334.6 MB, free: 11.42 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005049/0.3041, allocations: 283.1 kB / 334.8 MB, free: 11.11 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.3043, allocations: 0.7121 MB / 335.5 MB, free: 10.38 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.388e-05/0.3044, allocations: 16.88 kB / 335.6 MB, free: 10.36 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.815e-05/0.3044, allocations: 23.44 kB / 335.6 MB, free: 10.33 MB / 270.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3044, allocations: 0 / 335.6 MB, free: 10.33 MB / 270.1 MB Notification: Performance of Templates: time 0.005133/0.3096, allocations: 1.986 MB / 337.6 MB, free: 8.344 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & ./Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1)