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.0009396/0.0009393, allocations: 92.97 kB / 16.32 MB, free: 5.637 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.0009203/0.0009203, allocations: 183.9 kB / 17.21 MB, free: 5.559 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.691/1.691, allocations: 205.4 MB / 223.4 MB, free: 5.52 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.0004988/0.0004991, allocations: 8 kB / 280.1 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3032, allocations: 47.58 MB / 327.7 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.001715/0.305, allocations: 1.211 MB / 328.9 MB, free: 476 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.3061, allocations: 0.5486 MB / 329.5 MB, free: 44 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.446e-05/0.3062, allocations: 0.9688 kB / 329.5 MB, free: 44 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 8.558e-05/0.3063, allocations: 4.469 kB / 329.5 MB, free: 40 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 6.557e-05/0.3063, allocations: 18.62 kB / 329.5 MB, free: 24 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005049/0.3068, allocations: 125.7 kB / 329.6 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.307, allocations: 98.59 kB / 329.7 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.385e-05/0.307, allocations: 16.14 kB / 329.7 MB, free: 15.87 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.736e-05/0.3071, allocations: 41.39 kB / 329.8 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.936e-05/0.3072, allocations: 52.38 kB / 329.8 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.3072, allocations: 6.5 kB / 329.8 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002332/0.3075, allocations: 107 kB / 329.9 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.422e-05/0.3075, allocations: 27.44 kB / 330 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.169e-05/0.3076, allocations: 48.62 kB / 330 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.3078, allocations: 145.3 kB / 330.2 MB, free: 15.6 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.3078, allocations: 0.8438 kB / 330.2 MB, free: 15.6 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.3078, allocations: 4 kB / 330.2 MB, free: 15.59 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.3078, allocations: 0 / 330.2 MB, free: 15.59 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.0006004/0.3084, allocations: 440.1 kB / 330.6 MB, free: 15.16 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3085, allocations: 8.781 kB / 330.6 MB, free: 15.16 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002836/0.3088, allocations: 40.72 kB / 330.6 MB, free: 15.14 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.309, allocations: 186.3 kB / 330.8 MB, free: 14.93 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.309, allocations: 14.3 kB / 330.8 MB, free: 14.92 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.309, allocations: 6.219 kB / 330.8 MB, free: 14.92 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.3093, allocations: 122.3 kB / 331 MB, free: 14.83 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3093, allocations: 3.938 kB / 331 MB, free: 14.83 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.3093, allocations: 1.594 kB / 331 MB, free: 14.83 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.3093, allocations: 5.672 kB / 331 MB, free: 14.82 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001762/0.3095, allocations: 63.28 kB / 331 MB, free: 14.8 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006688/0.3102, allocations: 388 kB / 331.4 MB, free: 14.42 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/0.3105, allocations: 139.1 kB / 331.6 MB, free: 14.33 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.3106, allocations: 59.7 kB / 331.6 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.3107, allocations: 0.875 kB / 331.6 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002903/0.311, allocations: 148.7 kB / 331.8 MB, free: 14.18 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.311, allocations: 0 / 331.8 MB, free: 14.18 MB / 270.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005399/0.3115, allocations: 254.1 kB / 332 MB, free: 14.06 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.673e-05/0.3116, allocations: 92.75 kB / 332.1 MB, free: 13.96 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.3118, allocations: 175 kB / 332.3 MB, free: 13.82 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.321e-05/0.3118, allocations: 43.97 kB / 332.3 MB, free: 13.78 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.905e-05/0.3119, allocations: 110 kB / 332.4 MB, free: 13.67 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.3119, allocations: 38.39 kB / 332.5 MB, free: 13.64 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.312e-05/0.312, allocations: 5.344 kB / 332.5 MB, free: 13.64 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3121, allocations: 326.9 kB / 332.8 MB, free: 13.31 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.3123, allocations: 104.3 kB / 332.9 MB, free: 13.27 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.3125, allocations: 139.7 kB / 333 MB, free: 13.19 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.3127, allocations: 119.6 kB / 333.1 MB, free: 13.13 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.3127, allocations: 4.984 kB / 333.1 MB, free: 13.13 MB / 270.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005016/0.3132, allocations: 300.4 kB / 333.4 MB, free: 12.98 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.3132, allocations: 5.281 kB / 333.4 MB, free: 12.98 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3133, allocations: 1 kB / 333.4 MB, free: 12.98 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.3133, allocations: 6.625 kB / 333.4 MB, free: 12.98 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.3134, allocations: 34.17 kB / 333.5 MB, free: 12.97 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3135, allocations: 1.844 kB / 333.5 MB, free: 12.97 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.832e-05/0.3135, allocations: 23.48 kB / 333.5 MB, free: 12.95 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.3136, allocations: 6.281 kB / 333.5 MB, free: 12.95 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,$PRE.uniformNoise2.state[1],uniformNoise2.state[1],$PRE.uniformNoise2.state[2],uniformNoise2.state[2],$PRE.uniformNoise2.state[3],uniformNoise2.state[3],$PRE.uniformNoise2.state[4],uniformNoise2.state[4],$PRE.uniformNoise2.r,uniformNoise2.r,$PRE.uniformNoise2.r_raw,uniformNoise2.r_raw,$PRE.uniformNoise1.state[1],uniformNoise1.state[1],$PRE.uniformNoise1.state[2],uniformNoise1.state[2],$PRE.uniformNoise1.state[3],uniformNoise1.state[3],$PRE.uniformNoise1.state[4],uniformNoise1.state[4],$PRE.uniformNoise1.r,uniformNoise1.r,$PRE.uniformNoise1.r_raw,uniformNoise1.r_raw,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000144/0.3137, allocations: 151.3 kB / 333.7 MB, free: 12.81 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.3137, allocations: 17.58 kB / 333.7 MB, free: 12.8 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.197e-05/0.3138, allocations: 12.47 kB / 333.7 MB, free: 12.79 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.3138, allocations: 4.891 kB / 333.7 MB, free: 12.79 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3138, allocations: 4.906 kB / 333.7 MB, free: 12.79 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3138, allocations: 1.812 kB / 333.7 MB, free: 12.79 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.314, allocations: 202.6 kB / 333.9 MB, free: 12.56 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.314, allocations: 0 / 333.9 MB, free: 12.56 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5e-05/0.3141, allocations: 15.78 kB / 333.9 MB, free: 12.55 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.3141, allocations: 5.031 kB / 333.9 MB, free: 12.55 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.3141, allocations: 2.25 kB / 333.9 MB, free: 12.55 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3141, allocations: 1.156 kB / 333.9 MB, free: 12.55 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3141, allocations: 0 / 333.9 MB, free: 12.55 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/0.3145, allocations: 223.7 kB / 334.1 MB, free: 12.41 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/0.3145, allocations: 97.73 kB / 334.2 MB, free: 12.3 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.3146, allocations: 14.78 kB / 334.2 MB, free: 12.29 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.507e-05/0.3146, allocations: 4.562 kB / 334.3 MB, free: 12.29 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.3147, allocations: 17.36 kB / 334.3 MB, free: 12.28 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.3147, allocations: 15.2 kB / 334.3 MB, free: 12.27 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.559e-05/0.3148, allocations: 120.3 kB / 334.4 MB, free: 12.18 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3148, allocations: 3.938 kB / 334.4 MB, free: 12.17 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003091/0.3151, allocations: 57.83 kB / 334.5 MB, free: 12.15 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 (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.0004539/0.3156, allocations: 218.3 kB / 334.7 MB, free: 11.99 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003951/0.316, allocations: 191.8 kB / 334.9 MB, free: 11.92 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.316, allocations: 0 / 334.9 MB, free: 11.92 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.3162, allocations: 70.38 kB / 334.9 MB, free: 11.89 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.3163, allocations: 6.938 kB / 334.9 MB, free: 11.88 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000476/0.3168, allocations: 270.3 kB / 335.2 MB, free: 11.62 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.3171, allocations: 0.7121 MB / 335.9 MB, free: 10.88 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.727e-05/0.3172, allocations: 20.86 kB / 335.9 MB, free: 10.86 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.959e-05/0.3172, allocations: 19.44 kB / 336 MB, free: 10.84 MB / 270.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3172, allocations: 0 / 336 MB, free: 10.84 MB / 270.1 MB Notification: Performance of Templates: time 0.004886/0.3221, allocations: 1.95 MB / 337.9 MB, free: 8.887 MB / 270.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)