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.00174/0.00174, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001787/0.001787, allocations: 196.2 kB / 16.53 MB, free: 6.699 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.634/1.634, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.001504/0.001504, allocations: 52.2 kB / 278.7 MB, free: 12.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3038, allocations: 46.63 MB / 325.3 MB, free: 1.992 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.002991/0.3068, allocations: 1.483 MB / 326.8 MB, free: 0.8125 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.3081, allocations: 0.5533 MB / 327.3 MB, free: 400 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.37e-05/0.3081, allocations: 5 kB / 327.3 MB, free: 396 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.3083, allocations: 7.875 kB / 327.4 MB, free: 388 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 6.148e-05/0.3083, allocations: 22.03 kB / 327.4 MB, free: 368 kB / 254.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.0006022/0.3089, allocations: 149.2 kB / 327.5 MB, free: 260 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.3091, allocations: 118.4 kB / 327.6 MB, free: 188 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.731e-05/0.3092, allocations: 11.09 kB / 327.6 MB, free: 184 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.524e-05/0.3092, allocations: 49.28 kB / 327.7 MB, free: 152 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.503e-05/0.3093, allocations: 59.19 kB / 327.8 MB, free: 108 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.3093, allocations: 9.094 kB / 327.8 MB, free: 108 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000255/0.3096, allocations: 126.7 kB / 327.9 MB, free: 44 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 5.903e-05/0.3097, allocations: 31.19 kB / 327.9 MB, free: 20 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.3098, allocations: 55.91 kB / 328 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003761/0.3102, allocations: 213.1 kB / 328.2 MB, free: 15.84 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3102, allocations: 0 / 328.2 MB, free: 15.84 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3102, allocations: 3.938 kB / 328.2 MB, free: 15.83 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.852e-06/0.3102, allocations: 4 kB / 328.2 MB, free: 15.83 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.0007448/0.3109, allocations: 457 kB / 328.6 MB, free: 15.38 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.311, allocations: 9.531 kB / 328.6 MB, free: 15.38 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003526/0.3114, allocations: 39.2 kB / 328.7 MB, free: 15.36 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.3116, allocations: 207.4 kB / 328.9 MB, free: 15.13 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.3116, allocations: 3.75 kB / 328.9 MB, free: 15.13 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.3116, allocations: 8.969 kB / 328.9 MB, free: 15.13 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.3119, allocations: 113.3 kB / 329 MB, free: 15.05 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.3119, allocations: 192 / 329 MB, free: 15.05 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.3119, allocations: 5.156 kB / 329 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.3119, allocations: 0 / 329 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001807/0.3121, allocations: 60.89 kB / 329.1 MB, free: 15.02 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007023/0.3128, allocations: 376.6 kB / 329.4 MB, free: 14.64 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000317/0.3132, allocations: 135.6 kB / 329.6 MB, free: 14.55 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.3133, allocations: 59.88 kB / 329.6 MB, free: 14.51 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.317e-06/0.3133, allocations: 0 / 329.6 MB, free: 14.51 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003281/0.3137, allocations: 146 kB / 329.8 MB, free: 14.39 MB / 270.1 MB Notification: Performance of pre-optimization done (n=16): time 1.462e-06/0.3137, allocations: 0 / 329.8 MB, free: 14.39 MB / 270.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005861/0.3143, allocations: 232.6 kB / 330 MB, free: 14.29 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/0.3143, allocations: 97.12 kB / 330.1 MB, free: 14.18 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.3145, allocations: 170.2 kB / 330.3 MB, free: 14.04 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.708e-05/0.3146, allocations: 49.03 kB / 330.3 MB, free: 14 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.072e-05/0.3147, allocations: 101.6 kB / 330.4 MB, free: 13.9 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.112e-05/0.3147, allocations: 42.56 kB / 330.4 MB, free: 13.86 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.974e-05/0.3148, allocations: 60.08 kB / 330.5 MB, free: 13.82 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.315, allocations: 331.1 kB / 330.8 MB, free: 13.49 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.3152, allocations: 100.5 kB / 330.9 MB, free: 13.45 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.3154, allocations: 127.9 kB / 331.1 MB, free: 13.38 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004011/0.3158, allocations: 220.5 kB / 331.3 MB, free: 13.26 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3158, allocations: 0 / 331.3 MB, free: 13.26 MB / 270.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000598/0.3164, allocations: 295.3 kB / 331.6 MB, free: 13.11 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.3165, allocations: 5.875 kB / 331.6 MB, free: 13.11 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3165, allocations: 0 / 331.6 MB, free: 13.11 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.3165, allocations: 2.156 kB / 331.6 MB, free: 13.11 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.3167, allocations: 28.14 kB / 331.6 MB, free: 13.11 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.3167, allocations: 6.219 kB / 331.6 MB, free: 13.1 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.236e-05/0.3168, allocations: 22.92 kB / 331.6 MB, free: 13.09 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/0.3168, allocations: 5.5 kB / 331.6 MB, free: 13.09 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.0001617/0.317, allocations: 147.3 kB / 331.8 MB, free: 12.95 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.317, allocations: 13.72 kB / 331.8 MB, free: 12.94 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.413e-05/0.3171, allocations: 19.83 kB / 331.8 MB, free: 12.93 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3171, allocations: 5.062 kB / 331.8 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.3171, allocations: 5.219 kB / 331.8 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.3171, allocations: 1.031 kB / 331.8 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.3173, allocations: 215.2 kB / 332 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3173, allocations: 0 / 332 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.877e-05/0.3174, allocations: 10.61 kB / 332 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.3174, allocations: 0 / 332 MB, free: 12.68 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.3174, allocations: 6.906 kB / 332 MB, free: 12.67 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3174, allocations: 0 / 332 MB, free: 12.67 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3174, allocations: 1.438 kB / 332 MB, free: 12.67 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003769/0.3178, allocations: 220.9 kB / 332.3 MB, free: 12.53 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.941e-05/0.3179, allocations: 101.2 kB / 332.4 MB, free: 12.42 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.78e-05/0.3179, allocations: 13.92 kB / 332.4 MB, free: 12.41 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.955e-05/0.318, allocations: 7.938 kB / 332.4 MB, free: 12.41 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.263e-05/0.3181, allocations: 12.98 kB / 332.4 MB, free: 12.4 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.3181, allocations: 3.469 kB / 332.4 MB, free: 12.4 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.3182, allocations: 138.4 kB / 332.5 MB, free: 12.29 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3182, allocations: 0 / 332.5 MB, free: 12.29 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003151/0.3186, allocations: 46.34 kB / 332.6 MB, free: 12.28 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.0005028/0.3191, allocations: 222.3 kB / 332.8 MB, free: 12.11 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004272/0.3195, allocations: 208.4 kB / 333 MB, free: 11.97 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3195, allocations: 0 / 333 MB, free: 11.97 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.3197, allocations: 64.03 kB / 333.1 MB, free: 11.91 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.3199, allocations: 13.09 kB / 333.1 MB, free: 11.9 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004911/0.3204, allocations: 253.1 kB / 333.3 MB, free: 11.62 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.3207, allocations: 0.708 MB / 334 MB, free: 10.89 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.732e-05/0.3208, allocations: 20.81 kB / 334 MB, free: 10.86 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/0.3208, allocations: 19.44 kB / 334.1 MB, free: 10.84 MB / 270.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3208, allocations: 0 / 334.1 MB, free: 10.84 MB / 270.1 MB Notification: Performance of Templates: time 0.005871/0.3267, allocations: 2.111 MB / 336.2 MB, free: 8.73 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)