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.001359/0.001359, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001684/0.001684, allocations: 195.7 kB / 16.26 MB, free: 6.625 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.707/1.707, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.001309/0.001309, allocations: 47.92 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.33, allocations: 46.63 MB / 324.8 MB, free: 1.895 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.004393/0.3344, allocations: 1.564 MB / 326.4 MB, free: 0.6602 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.3356, allocations: 0.5752 MB / 327 MB, free: 228 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.861e-05/0.3357, allocations: 0 / 327 MB, free: 228 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.3358, allocations: 7.922 kB / 327 MB, free: 220 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 6.018e-05/0.3359, allocations: 11.86 kB / 327 MB, free: 208 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006243/0.3365, allocations: 134.9 kB / 327.1 MB, free: 116 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.3368, allocations: 117.6 kB / 327.2 MB, free: 44 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.06e-05/0.3368, allocations: 10.89 kB / 327.3 MB, free: 40 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.378e-05/0.3369, allocations: 49.55 kB / 327.3 MB, free: 8 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.3371, allocations: 58.28 kB / 327.4 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.3371, allocations: 10.88 kB / 327.4 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002661/0.3374, allocations: 121.8 kB / 327.5 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.793e-05/0.3375, allocations: 35.52 kB / 327.5 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.427e-05/0.3376, allocations: 57.33 kB / 327.6 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000343/0.3379, allocations: 216.6 kB / 327.8 MB, free: 15.69 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3379, allocations: 0 / 327.8 MB, free: 15.69 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3379, allocations: 0 / 327.8 MB, free: 15.69 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.3379, allocations: 0 / 327.8 MB, free: 15.69 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.000805/0.3387, allocations: 457 kB / 328.2 MB, free: 15.24 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.3388, allocations: 9.875 kB / 328.3 MB, free: 15.24 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003533/0.3392, allocations: 38.34 kB / 328.3 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.3394, allocations: 204.3 kB / 328.5 MB, free: 15 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.3394, allocations: 10.69 kB / 328.5 MB, free: 14.99 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.3394, allocations: 5.438 kB / 328.5 MB, free: 14.99 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.3397, allocations: 109 kB / 328.6 MB, free: 14.91 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3397, allocations: 192 / 328.6 MB, free: 14.91 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.3398, allocations: 13.2 kB / 328.6 MB, free: 14.9 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.3398, allocations: 5.125 kB / 328.6 MB, free: 14.9 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.34, allocations: 52.81 kB / 328.7 MB, free: 14.88 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008682/0.3408, allocations: 382.3 kB / 329.1 MB, free: 14.5 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003619/0.3412, allocations: 135.9 kB / 329.2 MB, free: 14.4 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.3414, allocations: 50.98 kB / 329.2 MB, free: 14.37 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.3414, allocations: 1.062 kB / 329.2 MB, free: 14.37 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000383/0.3418, allocations: 145 kB / 329.4 MB, free: 14.26 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.3418, allocations: 0.9375 kB / 329.4 MB, free: 14.26 MB / 270.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006143/0.3424, allocations: 231.8 kB / 329.6 MB, free: 14.15 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.317e-05/0.3425, allocations: 92.94 kB / 329.7 MB, free: 14.05 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.3427, allocations: 178.9 kB / 329.9 MB, free: 13.9 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.933e-05/0.3427, allocations: 44.86 kB / 329.9 MB, free: 13.86 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.581e-05/0.3428, allocations: 110.2 kB / 330 MB, free: 13.75 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.959e-05/0.3429, allocations: 34.02 kB / 330.1 MB, free: 13.73 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.343, allocations: 68.62 kB / 330.1 MB, free: 13.67 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.3432, allocations: 327.1 kB / 330.4 MB, free: 13.35 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/0.3434, allocations: 96.05 kB / 330.5 MB, free: 13.31 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.3437, allocations: 132.9 kB / 330.7 MB, free: 13.23 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005038/0.3442, allocations: 220 kB / 330.9 MB, free: 13.12 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3442, allocations: 0 / 330.9 MB, free: 13.12 MB / 270.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005289/0.3447, allocations: 296.3 kB / 331.2 MB, free: 12.97 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3447, allocations: 4.406 kB / 331.2 MB, free: 12.97 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.3448, allocations: 5.156 kB / 331.2 MB, free: 12.97 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3448, allocations: 2.812 kB / 331.2 MB, free: 12.97 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.345, allocations: 31.28 kB / 331.2 MB, free: 12.96 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.345, allocations: 2.594 kB / 331.2 MB, free: 12.96 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.347e-05/0.3451, allocations: 17.56 kB / 331.2 MB, free: 12.95 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.3451, allocations: 10.53 kB / 331.2 MB, free: 12.94 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.0001522/0.3453, allocations: 151.6 kB / 331.4 MB, free: 12.8 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.3453, allocations: 17.72 kB / 331.4 MB, free: 12.79 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.962e-05/0.3454, allocations: 16.33 kB / 331.4 MB, free: 12.78 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3454, allocations: 1.5 kB / 331.4 MB, free: 12.78 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3454, allocations: 0 / 331.4 MB, free: 12.78 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.3454, allocations: 1.406 kB / 331.4 MB, free: 12.78 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.3456, allocations: 217.7 kB / 331.6 MB, free: 12.54 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3456, allocations: 1.438 kB / 331.6 MB, free: 12.54 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.793e-05/0.3457, allocations: 9.828 kB / 331.6 MB, free: 12.53 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.3457, allocations: 1.469 kB / 331.7 MB, free: 12.53 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.3457, allocations: 1.469 kB / 331.7 MB, free: 12.53 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3457, allocations: 5.062 kB / 331.7 MB, free: 12.53 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3457, allocations: 0 / 331.7 MB, free: 12.53 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004068/0.3461, allocations: 217 kB / 331.9 MB, free: 12.39 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.926e-05/0.3462, allocations: 101.8 kB / 332 MB, free: 12.28 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.345e-05/0.3463, allocations: 10.06 kB / 332 MB, free: 12.27 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.962e-05/0.3463, allocations: 8.25 kB / 332 MB, free: 12.27 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.487e-05/0.3464, allocations: 13.36 kB / 332 MB, free: 12.26 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.3464, allocations: 7.391 kB / 332 MB, free: 12.26 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.3466, allocations: 123.9 kB / 332.1 MB, free: 12.16 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3466, allocations: 0 / 332.1 MB, free: 12.16 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000385/0.347, allocations: 58.33 kB / 332.2 MB, free: 12.14 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.0006772/0.3477, allocations: 215.4 kB / 332.4 MB, free: 11.98 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005112/0.3482, allocations: 212.5 kB / 332.6 MB, free: 11.89 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3482, allocations: 0 / 332.6 MB, free: 11.89 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.3484, allocations: 58 kB / 332.7 MB, free: 11.86 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.3486, allocations: 7.281 kB / 332.7 MB, free: 11.86 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000642/0.3492, allocations: 296.4 kB / 333 MB, free: 11.58 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.3496, allocations: 0.708 MB / 333.7 MB, free: 10.84 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 6.532e-05/0.3497, allocations: 12.88 kB / 333.7 MB, free: 10.83 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.729e-05/0.3497, allocations: 27.42 kB / 333.7 MB, free: 10.8 MB / 270.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3497, allocations: 0 / 333.7 MB, free: 10.8 MB / 270.1 MB Notification: Performance of Templates: time 0.006244/0.356, allocations: 2.084 MB / 335.8 MB, free: 8.715 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)