Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.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.NormalNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0122/0.0122, allocations: 98.34 kB / 15.73 MB, free: 6.008 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.001898/0.001898, allocations: 189.5 kB / 16.67 MB, free: 5.938 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.864/1.864, allocations: 205.1 MB / 222.6 MB, free: 4.52 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.001211/0.001211, allocations: 54.47 kB / 326.6 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1321, allocations: 46.63 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.003831/0.136, allocations: 1.821 MB / 375 MB, free: 15.47 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002615/0.1386, allocations: 1.278 MB / 376.3 MB, free: 14.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.1388, allocations: 8 kB / 376.3 MB, free: 14.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.139, allocations: 19.73 kB / 376.3 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.1392, allocations: 31.72 kB / 376.3 MB, free: 14.12 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.001328/0.1405, allocations: 311.1 kB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000325/0.1408, allocations: 215.5 kB / 376.9 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002649/0.1411, allocations: 80.17 kB / 376.9 MB, free: 13.53 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.1412, allocations: 87.64 kB / 377 MB, free: 13.45 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001892/0.1414, allocations: 111.5 kB / 377.1 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.084e-05/0.1415, allocations: 24 kB / 377.2 MB, free: 13.31 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005812/0.1421, allocations: 295.5 kB / 377.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.711e-05/0.1422, allocations: 59.77 kB / 377.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.1423, allocations: 99.5 kB / 377.6 MB, free: 12.87 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007334/0.1431, allocations: 406.6 kB / 378 MB, free: 12.47 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.307e-06/0.1431, allocations: 0 / 378 MB, free: 12.47 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1431, allocations: 0 / 378 MB, free: 12.47 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.1431, allocations: 0 / 378 MB, free: 12.47 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.001522/0.1447, allocations: 0.5812 MB / 378.6 MB, free: 11.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.856e-05/0.1447, allocations: 8.031 kB / 378.6 MB, free: 11.83 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002991/0.145, allocations: 36.78 kB / 378.6 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000357/0.1454, allocations: 240.8 kB / 378.9 MB, free: 11.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.588e-05/0.1454, allocations: 12.66 kB / 378.9 MB, free: 11.51 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.28e-05/0.1455, allocations: 20.38 kB / 378.9 MB, free: 11.49 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005787/0.1461, allocations: 211.2 kB / 379.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.1461, allocations: 0 / 379.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.1462, allocations: 4 kB / 379.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.1462, allocations: 4 kB / 379.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004685/0.1467, allocations: 156.1 kB / 379.3 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.1479, allocations: 0.5703 MB / 379.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.149, allocations: 306.6 kB / 380.1 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002974/0.1493, allocations: 124.7 kB / 380.2 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.1494, allocations: 0 / 380.2 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004012/0.1498, allocations: 167.2 kB / 380.4 MB, free: 9.891 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.473e-06/0.1498, allocations: 0 / 380.4 MB, free: 9.891 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001031/0.1508, allocations: 357.2 kB / 380.8 MB, free: 9.535 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.1509, allocations: 63.39 kB / 380.8 MB, free: 9.461 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.1511, allocations: 203.8 kB / 381 MB, free: 9.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.1512, allocations: 45.64 kB / 381.1 MB, free: 9.199 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.1513, allocations: 132.7 kB / 381.2 MB, free: 9.066 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.7e-05/0.1514, allocations: 75.38 kB / 381.3 MB, free: 8.992 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.1515, allocations: 65.69 kB / 381.3 MB, free: 8.922 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1517, allocations: 334.8 kB / 381.7 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003231/0.152, allocations: 131.9 kB / 381.8 MB, free: 8.457 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003558/0.1524, allocations: 173.4 kB / 382 MB, free: 8.281 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006447/0.153, allocations: 264.6 kB / 382.2 MB, free: 8.02 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.153, allocations: 3.938 kB / 382.2 MB, free: 8.016 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008081/0.1538, allocations: 374.8 kB / 382.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.1539, allocations: 12.06 kB / 382.6 MB, free: 7.633 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.1539, allocations: 0 / 382.6 MB, free: 7.633 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.1539, allocations: 0 / 382.6 MB, free: 7.633 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/0.1543, allocations: 63.92 kB / 382.7 MB, free: 7.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.1543, allocations: 8 kB / 382.7 MB, free: 7.562 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.1545, allocations: 47.77 kB / 382.7 MB, free: 7.516 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/0.1545, allocations: 11.98 kB / 382.7 MB, free: 7.504 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.0002109/0.1547, allocations: 145.6 kB / 382.9 MB, free: 7.352 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.701e-05/0.1548, allocations: 15.91 kB / 382.9 MB, free: 7.336 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.445e-05/0.1549, allocations: 29.84 kB / 382.9 MB, free: 7.309 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.1549, allocations: 4 kB / 382.9 MB, free: 7.305 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.1549, allocations: 0 / 382.9 MB, free: 7.305 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.1549, allocations: 0 / 382.9 MB, free: 7.305 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/0.1562, allocations: 0.6425 MB / 383.6 MB, free: 6.605 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.1563, allocations: 0 / 383.6 MB, free: 6.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.1565, allocations: 39.95 kB / 383.6 MB, free: 6.566 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.1565, allocations: 4 kB / 383.6 MB, free: 6.562 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.1566, allocations: 7.938 kB / 383.6 MB, free: 6.555 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.1566, allocations: 3.938 kB / 383.6 MB, free: 6.551 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1566, allocations: 0 / 383.6 MB, free: 6.551 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.1577, allocations: 0.4884 MB / 384.1 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.598e-05/0.1578, allocations: 97.02 kB / 384.2 MB, free: 5.934 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.716e-05/0.1578, allocations: 15.92 kB / 384.2 MB, free: 5.918 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.158, allocations: 19.98 kB / 384.2 MB, free: 5.898 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.205e-05/0.1581, allocations: 15.97 kB / 384.2 MB, free: 5.883 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.1581, allocations: 8 kB / 384.3 MB, free: 5.875 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001729/0.1583, allocations: 147.2 kB / 384.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1583, allocations: 0 / 384.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006324/0.159, allocations: 111.7 kB / 384.5 MB, free: 5.621 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.0009179/0.1599, allocations: 278.6 kB / 384.8 MB, free: 5.336 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009091/0.1608, allocations: 283.8 kB / 385.1 MB, free: 5.059 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.1608, allocations: 0 / 385.1 MB, free: 5.059 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003214/0.1612, allocations: 111.9 kB / 385.2 MB, free: 4.949 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.1616, allocations: 31.78 kB / 385.2 MB, free: 4.918 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.1626, allocations: 466.1 kB / 385.7 MB, free: 4.434 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.163, allocations: 0.7398 MB / 386.4 MB, free: 3.664 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001242/0.1632, allocations: 29.92 kB / 386.4 MB, free: 3.637 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.638e-05/0.1632, allocations: 27.42 kB / 386.4 MB, free: 3.609 MB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1633, allocations: 4 kB / 386.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of Templates: time 0.009815/0.1731, allocations: 3.768 MB / 390.2 MB, free: 15.83 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1)