Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001451/0.001451, allocations: 105.2 kB / 17.06 MB, free: 5.785 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.001659/0.001659, allocations: 198.9 kB / 18 MB, free: 4.93 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.808/1.808, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.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.002001/0.002002, allocations: 47.94 kB / 327.9 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1594, allocations: 46.62 MB / 374.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.004476/0.164, allocations: 1.836 MB / 376.3 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002903/0.1669, allocations: 1.009 MB / 377.3 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.1671, allocations: 0 / 377.3 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.1673, allocations: 23.73 kB / 377.4 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003123/0.1677, allocations: 27.72 kB / 377.4 MB, free: 1.637 MB / 318.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.00101/0.1687, allocations: 187.5 kB / 377.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003965/0.1691, allocations: 223.5 kB / 377.8 MB, free: 1.234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002481/0.1694, allocations: 64.27 kB / 377.8 MB, free: 1.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.1695, allocations: 99.61 kB / 377.9 MB, free: 1.074 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.1698, allocations: 119.4 kB / 378.1 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.484e-05/0.1699, allocations: 23.94 kB / 378.1 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003502/0.1702, allocations: 139.9 kB / 378.2 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.432e-05/0.1703, allocations: 59.77 kB / 378.3 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.1705, allocations: 103.4 kB / 378.4 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000535/0.171, allocations: 307 kB / 378.7 MB, free: 344 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.171, allocations: 0 / 378.7 MB, free: 344 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1711, allocations: 0 / 378.7 MB, free: 344 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.1711, allocations: 0 / 378.7 MB, free: 344 kB / 318.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.3077/0.4788, allocations: 0.5558 MB / 379.2 MB, free: 13 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.4788, allocations: 9.469 kB / 379.2 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003397/0.4792, allocations: 36.06 kB / 379.3 MB, free: 12.99 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.4795, allocations: 237 kB / 379.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/0.4795, allocations: 14.88 kB / 379.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.15e-05/0.4796, allocations: 17.19 kB / 379.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000499/0.4801, allocations: 196 kB / 379.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.4801, allocations: 2.188 kB / 379.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.4801, allocations: 9.719 kB / 379.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.4801, allocations: 4.125 kB / 379.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004484/0.4806, allocations: 152.9 kB / 379.9 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.4817, allocations: 0.5668 MB / 380.5 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.4828, allocations: 310.2 kB / 380.8 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/0.4831, allocations: 112.8 kB / 380.9 MB, free: 12.42 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.4831, allocations: 9.359 kB / 380.9 MB, free: 12.42 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000425/0.4835, allocations: 169.9 kB / 381.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.874e-06/0.4835, allocations: 0.5 kB / 381.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001161/0.4847, allocations: 353.4 kB / 381.4 MB, free: 12.32 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.4848, allocations: 61.7 kB / 381.5 MB, free: 12.26 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.485, allocations: 214.5 kB / 381.7 MB, free: 12.15 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.4851, allocations: 37.66 kB / 381.7 MB, free: 12.12 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.549e-05/0.4852, allocations: 134.3 kB / 381.8 MB, free: 12.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.05e-05/0.4852, allocations: 70 kB / 381.9 MB, free: 11.97 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.4854, allocations: 64.86 kB / 382 MB, free: 11.93 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.908e-05/0.4855, allocations: 335.4 kB / 382.3 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000396/0.4859, allocations: 136.6 kB / 382.4 MB, free: 11.58 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003794/0.4863, allocations: 160.5 kB / 382.6 MB, free: 11.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006291/0.4869, allocations: 267.5 kB / 382.9 MB, free: 11.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4869, allocations: 5.172 kB / 382.9 MB, free: 11.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008031/0.4877, allocations: 381.1 kB / 383.2 MB, free: 11.29 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.4878, allocations: 6.062 kB / 383.2 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.4878, allocations: 0.7031 kB / 383.2 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.4878, allocations: 2.688 kB / 383.2 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.4881, allocations: 75.55 kB / 383.3 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.4881, allocations: 2.094 kB / 383.3 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.4883, allocations: 46.02 kB / 383.4 MB, free: 11.26 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.4883, allocations: 9.453 kB / 383.4 MB, free: 11.26 MB / 318.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.000129/0.4885, allocations: 145 kB / 383.5 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.447e-05/0.4885, allocations: 26.95 kB / 383.5 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.444e-05/0.4886, allocations: 20.59 kB / 383.6 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.4886, allocations: 1.969 kB / 383.6 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.4886, allocations: 0.5156 kB / 383.6 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.4886, allocations: 1.906 kB / 383.6 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.4897, allocations: 0.6456 MB / 384.2 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4897, allocations: 0 / 384.2 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/0.49, allocations: 41.67 kB / 384.2 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.49, allocations: 3.281 kB / 384.2 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.49, allocations: 7.094 kB / 384.3 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.49, allocations: 0.5156 kB / 384.3 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.49, allocations: 1.781 kB / 384.3 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.4911, allocations: 492.5 kB / 384.7 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.111e-05/0.4911, allocations: 92.41 kB / 384.8 MB, free: 10.33 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.4912, allocations: 9.578 kB / 384.8 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.4913, allocations: 21.62 kB / 384.9 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.121e-05/0.4914, allocations: 16.77 kB / 384.9 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.4914, allocations: 7.172 kB / 384.9 MB, free: 10.32 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001304/0.4916, allocations: 153.8 kB / 385 MB, free: 10.22 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4916, allocations: 4 kB / 385 MB, free: 10.21 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003726/0.492, allocations: 71.73 kB / 385.1 MB, free: 10.2 MB / 318.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.0004489/0.4924, allocations: 226.2 kB / 385.3 MB, free: 10.05 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007431/0.4932, allocations: 287.3 kB / 385.6 MB, free: 9.98 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4932, allocations: 0 / 385.6 MB, free: 9.98 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003316/0.4935, allocations: 110.8 kB / 385.7 MB, free: 9.957 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.4939, allocations: 33.17 kB / 385.7 MB, free: 9.938 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009278/0.4948, allocations: 453.3 kB / 386.2 MB, free: 9.672 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.4951, allocations: 0.7353 MB / 386.9 MB, free: 8.973 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001348/0.4952, allocations: 33.2 kB / 387 MB, free: 8.965 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.979e-05/0.4953, allocations: 23.66 kB / 387 MB, free: 8.957 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4953, allocations: 4 kB / 387 MB, free: 8.953 MB / 318.1 MB Notification: Performance of Templates: time 0.008646/0.504, allocations: 3.202 MB / 390.2 MB, free: 8.656 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe 2>&1)