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.001606/0.001607, allocations: 110.4 kB / 16.92 MB, free: 6.332 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.002283/0.002283, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.927/1.927, allocations: 205.1 MB / 223.7 MB, free: 12.34 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.001871/0.001871, allocations: 60.14 kB / 280 MB, free: 3.176 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1412, allocations: 46.62 MB / 326.6 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.003426/0.1447, allocations: 1.84 MB / 328.5 MB, free: 2.617 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001879/0.1466, allocations: 0.9946 MB / 329.5 MB, free: 1.613 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.776e-05/0.1467, allocations: 4 kB / 329.5 MB, free: 1.609 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.1468, allocations: 19.73 kB / 329.5 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.147, allocations: 39.66 kB / 329.5 MB, free: 1.551 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.0006032/0.1477, allocations: 183.5 kB / 329.7 MB, free: 1.371 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002378/0.1479, allocations: 219.5 kB / 329.9 MB, free: 1.156 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.1481, allocations: 72.05 kB / 330 MB, free: 1.086 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.1482, allocations: 99.61 kB / 330.1 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.1484, allocations: 107.5 kB / 330.2 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.411e-05/0.1485, allocations: 24 kB / 330.2 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002418/0.1487, allocations: 139.8 kB / 330.3 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.193e-05/0.1488, allocations: 63.75 kB / 330.4 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.1489, allocations: 107.4 kB / 330.5 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004033/0.1493, allocations: 299.4 kB / 330.8 MB, free: 268 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.1493, allocations: 0 / 330.8 MB, free: 268 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1493, allocations: 0 / 330.8 MB, free: 268 kB / 270.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1494, allocations: 0 / 330.8 MB, free: 268 kB / 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.001282/0.1506, allocations: 0.5583 MB / 331.4 MB, free: 15.66 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.1507, allocations: 12.03 kB / 331.4 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002316/0.1509, allocations: 36.64 kB / 331.4 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.1512, allocations: 236.8 kB / 331.6 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.1513, allocations: 16.66 kB / 331.7 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.599e-05/0.1513, allocations: 16.38 kB / 331.7 MB, free: 15.31 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004672/0.1518, allocations: 210.9 kB / 331.9 MB, free: 15.1 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1518, allocations: 7.984 kB / 331.9 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.1518, allocations: 4 kB / 331.9 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.1519, allocations: 7.938 kB / 331.9 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004338/0.1523, allocations: 152.1 kB / 332 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.1533, allocations: 0.5699 MB / 332.6 MB, free: 14.31 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.1544, allocations: 310.6 kB / 332.9 MB, free: 14 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002951/0.1547, allocations: 112.7 kB / 333 MB, free: 13.88 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.1547, allocations: 12.06 kB / 333 MB, free: 13.87 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000381/0.1551, allocations: 159.3 kB / 333.2 MB, free: 13.7 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.583e-06/0.1551, allocations: 0 / 333.2 MB, free: 13.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.00106/0.1562, allocations: 361.1 kB / 333.5 MB, free: 13.34 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.1563, allocations: 59.39 kB / 333.6 MB, free: 13.27 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.1566, allocations: 211.7 kB / 333.8 MB, free: 13.05 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.551e-05/0.1566, allocations: 41.7 kB / 333.9 MB, free: 13 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.1567, allocations: 124.6 kB / 334 MB, free: 12.88 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.934e-05/0.1568, allocations: 82.89 kB / 334.1 MB, free: 12.8 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.1569, allocations: 61.69 kB / 334.1 MB, free: 12.73 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002173/0.1571, allocations: 338.8 kB / 334.4 MB, free: 12.39 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003491/0.1575, allocations: 127.9 kB / 334.6 MB, free: 12.27 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003483/0.1578, allocations: 169.4 kB / 334.7 MB, free: 12.09 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000615/0.1585, allocations: 260.6 kB / 335 MB, free: 11.84 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1585, allocations: 7.938 kB / 335 MB, free: 11.83 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000801/0.1593, allocations: 370.7 kB / 335.4 MB, free: 11.46 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.1593, allocations: 7.938 kB / 335.4 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1593, allocations: 4.031 kB / 335.4 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.1594, allocations: 4 kB / 335.4 MB, free: 11.45 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002999/0.1597, allocations: 71.88 kB / 335.4 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.1597, allocations: 7.938 kB / 335.5 MB, free: 11.37 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.1599, allocations: 35.72 kB / 335.5 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.1599, allocations: 8 kB / 335.5 MB, free: 11.32 MB / 286.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.0001538/0.1601, allocations: 157.6 kB / 335.7 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/0.1601, allocations: 15.81 kB / 335.7 MB, free: 11.14 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.816e-05/0.1602, allocations: 21.88 kB / 335.7 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1602, allocations: 0 / 335.7 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.1602, allocations: 4 kB / 335.7 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.1602, allocations: 7.984 kB / 335.7 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.1614, allocations: 0.6338 MB / 336.3 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1614, allocations: 0 / 336.3 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.1617, allocations: 43.89 kB / 336.4 MB, free: 10.38 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1617, allocations: 4 kB / 336.4 MB, free: 10.38 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.1617, allocations: 8 kB / 336.4 MB, free: 10.37 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1617, allocations: 0 / 336.4 MB, free: 10.37 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1617, allocations: 0 / 336.4 MB, free: 10.37 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.1628, allocations: 499.9 kB / 336.9 MB, free: 9.863 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.961e-05/0.1629, allocations: 92.86 kB / 337 MB, free: 9.754 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.481e-05/0.1629, allocations: 12 kB / 337 MB, free: 9.742 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.1631, allocations: 19.97 kB / 337 MB, free: 9.723 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.125e-05/0.1632, allocations: 19.98 kB / 337 MB, free: 9.703 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.1632, allocations: 7.984 kB / 337 MB, free: 9.695 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001345/0.1633, allocations: 147.2 kB / 337.2 MB, free: 9.551 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1633, allocations: 0 / 337.2 MB, free: 9.551 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003799/0.1637, allocations: 79.89 kB / 337.2 MB, free: 9.473 MB / 286.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.0004902/0.1642, allocations: 221.3 kB / 337.5 MB, free: 9.258 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007609/0.165, allocations: 299.4 kB / 337.8 MB, free: 8.965 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.165, allocations: 0 / 337.8 MB, free: 8.965 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002994/0.1653, allocations: 115.9 kB / 337.9 MB, free: 8.852 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.1657, allocations: 31.92 kB / 337.9 MB, free: 8.82 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009075/0.1666, allocations: 458.7 kB / 338.3 MB, free: 8.348 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.1669, allocations: 0.7359 MB / 339.1 MB, free: 7.582 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001214/0.167, allocations: 33.94 kB / 339.1 MB, free: 7.547 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.01e-05/0.1671, allocations: 23.42 kB / 339.1 MB, free: 7.523 MB / 286.1 MB Notification: Performance of SimCode: time 4.8e-07/0.1671, allocations: 0 / 339.1 MB, free: 7.523 MB / 286.1 MB Notification: Performance of Templates: time 0.007306/0.1744, allocations: 3.084 MB / 342.2 MB, free: 4.438 MB / 286.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)