Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.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.UniformNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001692/0.001692, 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.002234/0.002234, allocations: 196 kB / 16.53 MB, free: 6.664 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.628/1.628, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.001393/0.001394, allocations: 51.92 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2674, allocations: 46.64 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.003759/0.2712, allocations: 1.837 MB / 327.1 MB, free: 404 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.273, allocations: 0.9941 MB / 328.1 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.566e-05/0.2732, allocations: 2.5 kB / 328.1 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.2733, allocations: 19.73 kB / 328.2 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001922/0.2735, allocations: 43.22 kB / 328.2 MB, free: 15.56 MB / 270.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.0006025/0.2741, allocations: 181.2 kB / 328.4 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002452/0.2744, allocations: 216.5 kB / 328.6 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.2746, allocations: 73.5 kB / 328.7 MB, free: 15.26 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.2747, allocations: 99.83 kB / 328.8 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.2749, allocations: 119.2 kB / 328.9 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.414e-05/0.2749, allocations: 21.72 kB / 328.9 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002734/0.2752, allocations: 135.3 kB / 329 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.245e-05/0.2753, allocations: 64.28 kB / 329.1 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.2754, allocations: 93.03 kB / 329.2 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004149/0.2758, allocations: 305.1 kB / 329.5 MB, free: 14.7 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2759, allocations: 0 / 329.5 MB, free: 14.7 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2759, allocations: 0 / 329.5 MB, free: 14.7 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.2759, allocations: 4 kB / 329.5 MB, free: 14.7 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001207/0.2771, allocations: 0.5541 MB / 330 MB, free: 14.19 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.2771, allocations: 9.844 kB / 330.1 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002235/0.2774, allocations: 36.3 kB / 330.1 MB, free: 14.17 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.2777, allocations: 242.5 kB / 330.3 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/0.2777, allocations: 16.44 kB / 330.3 MB, free: 13.91 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.978e-05/0.2778, allocations: 21.69 kB / 330.4 MB, free: 13.9 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004835/0.2783, allocations: 197.7 kB / 330.6 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.2783, allocations: 0 / 330.6 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.2783, allocations: 10 kB / 330.6 MB, free: 13.78 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.2783, allocations: 3.25 kB / 330.6 MB, free: 13.78 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004556/0.2788, allocations: 155.3 kB / 330.7 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.2799, allocations: 0.5755 MB / 331.3 MB, free: 13.2 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.281, allocations: 305.1 kB / 331.6 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/0.2813, allocations: 117.6 kB / 331.7 MB, free: 12.99 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.2814, allocations: 6.484 kB / 331.7 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004321/0.2818, allocations: 170.1 kB / 331.9 MB, free: 12.87 MB / 270.1 MB Notification: Performance of pre-optimization done (n=22): time 1.813e-06/0.2818, allocations: 0 / 331.9 MB, free: 12.87 MB / 270.1 MB Notification: Performance of matching and sorting (n=22): time 0.001217/0.2831, allocations: 355.1 kB / 332.2 MB, free: 12.7 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.122e-05/0.2831, allocations: 56.94 kB / 332.3 MB, free: 12.64 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.2835, allocations: 214.3 kB / 332.5 MB, free: 12.47 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/0.2835, allocations: 40.69 kB / 332.5 MB, free: 12.43 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.2837, allocations: 124.8 kB / 332.7 MB, free: 12.32 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.581e-05/0.2838, allocations: 75.88 kB / 332.7 MB, free: 12.25 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.2839, allocations: 68.38 kB / 332.8 MB, free: 12.2 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.2841, allocations: 335.7 kB / 333.1 MB, free: 11.87 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/0.2844, allocations: 129.8 kB / 333.2 MB, free: 11.75 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003996/0.2848, allocations: 165.4 kB / 333.4 MB, free: 11.58 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007203/0.2856, allocations: 264.6 kB / 333.7 MB, free: 11.32 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.2856, allocations: 3.938 kB / 333.7 MB, free: 11.32 MB / 270.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008236/0.2864, allocations: 378.7 kB / 334 MB, free: 10.94 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.2865, allocations: 4 kB / 334 MB, free: 10.94 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.2865, allocations: 4 kB / 334.1 MB, free: 10.93 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.006e-05/0.2865, allocations: 0 / 334.1 MB, free: 10.93 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/0.2869, allocations: 67.92 kB / 334.1 MB, free: 10.87 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.2869, allocations: 4 kB / 334.1 MB, free: 10.86 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.2871, allocations: 51.58 kB / 334.2 MB, free: 10.81 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.2871, allocations: 8 kB / 334.2 MB, free: 10.8 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,globalSeed.seed,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 1 * 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.0001895/0.2873, allocations: 149.6 kB / 334.3 MB, free: 10.65 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.2874, allocations: 23.72 kB / 334.3 MB, free: 10.62 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.169e-05/0.2875, allocations: 25.86 kB / 334.4 MB, free: 10.6 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.2875, allocations: 0 / 334.4 MB, free: 10.6 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.2875, allocations: 4 kB / 334.4 MB, free: 10.59 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.2875, allocations: 0 / 334.4 MB, free: 10.59 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.2887, allocations: 0.6449 MB / 335 MB, free: 9.895 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.2887, allocations: 0 / 335 MB, free: 9.895 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002372/0.2889, allocations: 39.97 kB / 335.1 MB, free: 9.855 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.2889, allocations: 0 / 335.1 MB, free: 9.855 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.289, allocations: 7.984 kB / 335.1 MB, free: 9.848 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.289, allocations: 0 / 335.1 MB, free: 9.848 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.289, allocations: 4 kB / 335.1 MB, free: 9.844 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.29, allocations: 495.8 kB / 335.6 MB, free: 9.344 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.375e-05/0.2901, allocations: 96.84 kB / 335.7 MB, free: 9.23 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.57e-05/0.2901, allocations: 12 kB / 335.7 MB, free: 9.219 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.2903, allocations: 23.97 kB / 335.7 MB, free: 9.195 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.2904, allocations: 11.98 kB / 335.7 MB, free: 9.184 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.2904, allocations: 8 kB / 335.7 MB, free: 9.176 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001427/0.2906, allocations: 155.1 kB / 335.9 MB, free: 9.023 MB / 270.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.2906, allocations: 0 / 335.9 MB, free: 9.023 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004075/0.291, allocations: 75.89 kB / 335.9 MB, free: 8.949 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000488/0.2915, allocations: 220.7 kB / 336.1 MB, free: 8.73 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000748/0.2922, allocations: 295.5 kB / 336.4 MB, free: 8.441 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2922, allocations: 0 / 336.4 MB, free: 8.441 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000314/0.2926, allocations: 115.9 kB / 336.5 MB, free: 8.328 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.2929, allocations: 27.92 kB / 336.6 MB, free: 8.301 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000899/0.2938, allocations: 467.9 kB / 337 MB, free: 7.82 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.2941, allocations: 0.7359 MB / 337.8 MB, free: 7.055 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001225/0.2943, allocations: 33.94 kB / 337.8 MB, free: 7.02 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.817e-05/0.2943, allocations: 27.42 kB / 337.8 MB, free: 6.992 MB / 270.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2943, allocations: 0 / 337.8 MB, free: 6.992 MB / 270.1 MB Notification: Performance of Templates: time 0.006651/0.301, allocations: 3.075 MB / 340.9 MB, free: 3.914 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe 2>&1)