Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.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.006421/0.006421, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001236/0.001236, allocations: 197.6 kB / 16.68 MB, free: 5.969 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.575/1.575, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.001697/0.001698, allocations: 59.03 kB / 326.6 MB, free: 14.3 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1337, allocations: 46.62 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.004147/0.1379, allocations: 1.829 MB / 375 MB, free: 15.45 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00239/0.1403, allocations: 1.009 MB / 376 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002256/0.1406, allocations: 0 / 376 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000178/0.1408, allocations: 19.73 kB / 376 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003163/0.1412, allocations: 31.73 kB / 376.1 MB, free: 14.38 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.0009492/0.1421, allocations: 191.4 kB / 376.3 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003785/0.1425, allocations: 219.5 kB / 376.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002069/0.1427, allocations: 76.17 kB / 376.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.1429, allocations: 99.61 kB / 376.6 MB, free: 13.81 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.1431, allocations: 107.6 kB / 376.7 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.207e-05/0.1432, allocations: 24 kB / 376.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003652/0.1435, allocations: 139.8 kB / 376.9 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.196e-05/0.1436, allocations: 63.83 kB / 377 MB, free: 13.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.1438, allocations: 95.45 kB / 377.1 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004811/0.1443, allocations: 306.8 kB / 377.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.1443, allocations: 7.938 kB / 377.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1443, allocations: 0 / 377.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.1443, allocations: 0 / 377.4 MB, free: 13.08 MB / 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.001285/0.1456, allocations: 0.5619 MB / 377.9 MB, free: 12.47 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1457, allocations: 8.031 kB / 377.9 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002456/0.1459, allocations: 36.78 kB / 378 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.1462, allocations: 240.8 kB / 378.2 MB, free: 12.15 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.383e-05/0.1463, allocations: 12.66 kB / 378.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.986e-05/0.1463, allocations: 28.31 kB / 378.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004842/0.1468, allocations: 199.2 kB / 378.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.1468, allocations: 0 / 378.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.1469, allocations: 11.94 kB / 378.5 MB, free: 11.9 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.351e-06/0.1469, allocations: 0 / 378.5 MB, free: 11.9 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004484/0.1473, allocations: 152.1 kB / 378.6 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.1484, allocations: 0.5781 MB / 379.2 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.1494, allocations: 311.8 kB / 379.5 MB, free: 10.81 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003097/0.1498, allocations: 116.7 kB / 379.6 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.1498, allocations: 4 kB / 379.6 MB, free: 10.69 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004307/0.1502, allocations: 167.2 kB / 379.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.1503, allocations: 4 kB / 379.8 MB, free: 10.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001068/0.1513, allocations: 357.2 kB / 380.1 MB, free: 10.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/0.1514, allocations: 55.41 kB / 380.2 MB, free: 10.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.1517, allocations: 211.8 kB / 380.4 MB, free: 9.871 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.209e-05/0.1517, allocations: 41.69 kB / 380.4 MB, free: 9.824 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.1519, allocations: 128.7 kB / 380.6 MB, free: 9.695 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.351e-05/0.1519, allocations: 75.38 kB / 380.6 MB, free: 9.621 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.1521, allocations: 69.69 kB / 380.7 MB, free: 9.547 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1522, allocations: 334.8 kB / 381 MB, free: 9.211 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003576/0.1526, allocations: 131.8 kB / 381.1 MB, free: 9.082 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003722/0.153, allocations: 169.5 kB / 381.3 MB, free: 8.91 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006297/0.1536, allocations: 260.6 kB / 381.6 MB, free: 8.652 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.1536, allocations: 7.938 kB / 381.6 MB, free: 8.645 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008281/0.1545, allocations: 378.8 kB / 381.9 MB, free: 8.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.1545, allocations: 4.156 kB / 382 MB, free: 8.266 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.1545, allocations: 7.984 kB / 382 MB, free: 8.258 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/0.1546, allocations: 0 / 382 MB, free: 8.258 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.1549, allocations: 67.92 kB / 382 MB, free: 8.191 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.1549, allocations: 4 kB / 382 MB, free: 8.188 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.1551, allocations: 47.77 kB / 382.1 MB, free: 8.141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.1551, allocations: 12 kB / 382.1 MB, free: 8.129 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.0001956/0.1553, allocations: 149.6 kB / 382.2 MB, free: 7.973 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.1554, allocations: 19.91 kB / 382.3 MB, free: 7.953 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.537e-05/0.1554, allocations: 21.88 kB / 382.3 MB, free: 7.934 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1555, allocations: 0 / 382.3 MB, free: 7.934 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.1555, allocations: 7.984 kB / 382.3 MB, free: 7.926 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1555, allocations: 0 / 382.3 MB, free: 7.926 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.1567, allocations: 0.6463 MB / 382.9 MB, free: 7.223 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1567, allocations: 3.938 kB / 382.9 MB, free: 7.219 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.157, allocations: 43.95 kB / 383 MB, free: 7.176 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.157, allocations: 0 / 383 MB, free: 7.176 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.157, allocations: 7.984 kB / 383 MB, free: 7.168 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.157, allocations: 0 / 383 MB, free: 7.168 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1571, allocations: 4 kB / 383 MB, free: 7.164 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.1582, allocations: 492 kB / 383.5 MB, free: 6.668 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.952e-05/0.1583, allocations: 92.95 kB / 383.6 MB, free: 6.559 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.1583, allocations: 15.98 kB / 383.6 MB, free: 6.543 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.1585, allocations: 19.98 kB / 383.6 MB, free: 6.523 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.014e-05/0.1586, allocations: 15.97 kB / 383.6 MB, free: 6.508 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.1586, allocations: 8 kB / 383.6 MB, free: 6.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000168/0.1588, allocations: 147.2 kB / 383.8 MB, free: 6.355 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.094e-06/0.1588, allocations: 4 kB / 383.8 MB, free: 6.352 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004551/0.1592, allocations: 79.75 kB / 383.8 MB, free: 6.273 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.0006868/0.1599, allocations: 215 kB / 384.1 MB, free: 6.051 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007802/0.1607, allocations: 283.8 kB / 384.3 MB, free: 5.773 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1607, allocations: 0 / 384.3 MB, free: 5.773 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003222/0.1611, allocations: 111.9 kB / 384.4 MB, free: 5.664 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.1615, allocations: 31.78 kB / 384.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.1627, allocations: 453.8 kB / 384.9 MB, free: 5.16 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004771/0.1632, allocations: 0.7476 MB / 385.7 MB, free: 4.383 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001345/0.1633, allocations: 25.94 kB / 385.7 MB, free: 4.359 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.174e-05/0.1634, allocations: 23.42 kB / 385.7 MB, free: 4.336 MB / 318.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1634, allocations: 4 kB / 385.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of Templates: time 0.008783/0.1722, allocations: 3.12 MB / 388.8 MB, free: 1.207 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.sim & ./Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe 2>&1)