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.009129/0.00914, allocations: 96.48 kB / 15.73 MB, free: 6.484 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.001767/0.001767, allocations: 191.4 kB / 16.67 MB, free: 6.391 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.646/1.646, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.001151/0.001151, allocations: 55.47 kB / 326.6 MB, free: 14.57 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1213, allocations: 46.62 MB / 373.2 MB, free: 1.426 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.004213/0.1256, allocations: 1.833 MB / 375 MB, free: 15.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002412/0.128, allocations: 1.002 MB / 376 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002086/0.1283, allocations: 0 / 376 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.1285, allocations: 23.67 kB / 376 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002693/0.1288, allocations: 31.73 kB / 376.1 MB, free: 14.51 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.0009073/0.1297, allocations: 183.5 kB / 376.2 MB, free: 14.33 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003532/0.1301, allocations: 227.5 kB / 376.5 MB, free: 14.11 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002185/0.1303, allocations: 72.17 kB / 376.5 MB, free: 14.04 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001864/0.1305, allocations: 99.61 kB / 376.6 MB, free: 13.94 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.1307, allocations: 111.6 kB / 376.7 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.417e-05/0.1308, allocations: 20 kB / 376.8 MB, free: 13.81 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003289/0.1311, allocations: 147.8 kB / 376.9 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.859e-05/0.1312, allocations: 59.75 kB / 377 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.1314, allocations: 95.47 kB / 377.1 MB, free: 13.51 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005078/0.1319, allocations: 306.8 kB / 377.4 MB, free: 13.21 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1319, allocations: 0 / 377.4 MB, free: 13.21 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.586e-06/0.1319, allocations: 0 / 377.4 MB, free: 13.21 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.1319, allocations: 3.938 kB / 377.4 MB, free: 13.21 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.001286/0.1332, allocations: 0.5658 MB / 377.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.1333, allocations: 8.031 kB / 377.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002472/0.1335, allocations: 36.78 kB / 378 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.1339, allocations: 244.8 kB / 378.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.1339, allocations: 16.66 kB / 378.2 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.147e-05/0.134, allocations: 20.38 kB / 378.3 MB, free: 12.24 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004751/0.1345, allocations: 203.2 kB / 378.4 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.1345, allocations: 0 / 378.4 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.1345, allocations: 4 kB / 378.5 MB, free: 12.03 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.1345, allocations: 4 kB / 378.5 MB, free: 12.03 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004447/0.135, allocations: 160 kB / 378.6 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.1361, allocations: 0.5704 MB / 379.2 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.1372, allocations: 302.6 kB / 379.5 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/0.1375, allocations: 120.7 kB / 379.6 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.1375, allocations: 3.984 kB / 379.6 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004369/0.138, allocations: 163.3 kB / 379.8 MB, free: 10.65 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.513e-06/0.138, allocations: 0 / 379.8 MB, free: 10.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001036/0.139, allocations: 361.1 kB / 380.1 MB, free: 10.29 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.1391, allocations: 63.41 kB / 380.2 MB, free: 10.21 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.1393, allocations: 207.8 kB / 380.4 MB, free: 10 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/0.1393, allocations: 37.69 kB / 380.4 MB, free: 9.957 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.1395, allocations: 132.7 kB / 380.5 MB, free: 9.824 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.103e-05/0.1395, allocations: 75.38 kB / 380.6 MB, free: 9.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.1397, allocations: 69.69 kB / 380.7 MB, free: 9.676 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1398, allocations: 330.8 kB / 381 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003292/0.1402, allocations: 135.9 kB / 381.1 MB, free: 9.211 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003592/0.1405, allocations: 165.5 kB / 381.3 MB, free: 9.043 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006191/0.1412, allocations: 264.6 kB / 381.6 MB, free: 8.781 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.1412, allocations: 7.938 kB / 381.6 MB, free: 8.773 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000837/0.142, allocations: 374.9 kB / 381.9 MB, free: 8.402 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.1421, allocations: 12 kB / 381.9 MB, free: 8.391 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1421, allocations: 0 / 381.9 MB, free: 8.391 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.1421, allocations: 8.031 kB / 382 MB, free: 8.383 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/0.1424, allocations: 63.89 kB / 382 MB, free: 8.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1424, allocations: 0 / 382 MB, free: 8.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.1426, allocations: 43.77 kB / 382.1 MB, free: 8.277 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/0.1426, allocations: 12 kB / 382.1 MB, free: 8.266 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.0001705/0.1428, allocations: 153.6 kB / 382.2 MB, free: 8.105 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.1429, allocations: 15.91 kB / 382.2 MB, free: 8.09 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.215e-05/0.1429, allocations: 25.86 kB / 382.3 MB, free: 8.066 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1429, allocations: 7.938 kB / 382.3 MB, free: 8.059 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.143, allocations: 0 / 382.3 MB, free: 8.059 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.143, allocations: 7.922 kB / 382.3 MB, free: 8.051 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.1441, allocations: 0.6425 MB / 382.9 MB, free: 7.352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1441, allocations: 3.984 kB / 382.9 MB, free: 7.348 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/0.1444, allocations: 43.91 kB / 383 MB, free: 7.305 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1444, allocations: 0 / 383 MB, free: 7.305 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.1444, allocations: 7.984 kB / 383 MB, free: 7.297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.1444, allocations: 4 kB / 383 MB, free: 7.293 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.1444, allocations: 0 / 383 MB, free: 7.293 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000975/0.1454, allocations: 488.1 kB / 383.5 MB, free: 6.801 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.18e-05/0.1455, allocations: 105 kB / 383.6 MB, free: 6.68 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/0.1455, allocations: 7.938 kB / 383.6 MB, free: 6.672 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.1457, allocations: 19.97 kB / 383.6 MB, free: 6.652 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.762e-05/0.1458, allocations: 11.98 kB / 383.6 MB, free: 6.641 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.1458, allocations: 8 kB / 383.6 MB, free: 6.633 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001338/0.1459, allocations: 159.1 kB / 383.8 MB, free: 6.477 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1459, allocations: 0 / 383.8 MB, free: 6.477 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000383/0.1463, allocations: 75.81 kB / 383.8 MB, free: 6.402 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.0005004/0.1468, allocations: 218.8 kB / 384 MB, free: 6.176 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007757/0.1476, allocations: 275.8 kB / 384.3 MB, free: 5.906 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1476, allocations: 0 / 384.3 MB, free: 5.906 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003187/0.148, allocations: 115.9 kB / 384.4 MB, free: 5.793 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.1483, allocations: 31.78 kB / 384.5 MB, free: 5.762 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.1494, allocations: 466.2 kB / 384.9 MB, free: 5.277 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.1498, allocations: 0.7398 MB / 385.7 MB, free: 4.508 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001374/0.15, allocations: 29.94 kB / 385.7 MB, free: 4.48 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.159e-05/0.1501, allocations: 27.38 kB / 385.7 MB, free: 4.453 MB / 318.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1501, allocations: 0 / 385.7 MB, free: 4.453 MB / 318.1 MB Notification: Performance of Templates: time 0.007828/0.1579, allocations: 3.12 MB / 388.8 MB, free: 1.328 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)