Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.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.009216/0.009216, allocations: 101.5 kB / 15.73 MB, free: 6.051 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.002163/0.002163, allocations: 188.4 kB / 16.67 MB, free: 5.98 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.701/1.701, allocations: 205.1 MB / 222.6 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.001226/0.001226, allocations: 49.95 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1369, 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.003765/0.1408, allocations: 1.821 MB / 375 MB, free: 15.47 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003256/0.144, allocations: 1.274 MB / 376.3 MB, free: 14.19 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.1443, allocations: 8 kB / 376.3 MB, free: 14.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000194/0.1445, allocations: 23.73 kB / 376.3 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.1446, allocations: 23.73 kB / 376.3 MB, free: 14.13 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.001202/0.1458, allocations: 315.1 kB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.1461, allocations: 215.5 kB / 376.9 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002388/0.1464, allocations: 76.19 kB / 376.9 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.1465, allocations: 99.61 kB / 377 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.1467, allocations: 103.6 kB / 377.1 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.372e-05/0.1467, allocations: 24 kB / 377.1 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005183/0.1472, allocations: 299.5 kB / 377.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.65e-05/0.1473, allocations: 59.75 kB / 377.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.1475, allocations: 103.5 kB / 377.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006102/0.1481, allocations: 398.9 kB / 378 MB, free: 12.47 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1481, allocations: 0 / 378 MB, free: 12.47 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1481, allocations: 0 / 378 MB, free: 12.47 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.1482, 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.00147/0.1496, allocations: 0.5779 MB / 378.6 MB, free: 11.85 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.1497, allocations: 8.031 kB / 378.6 MB, free: 11.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002563/0.15, allocations: 32.66 kB / 378.6 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.1503, allocations: 236.8 kB / 378.8 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.955e-05/0.1503, allocations: 16.64 kB / 378.9 MB, free: 11.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.573e-05/0.1504, allocations: 24.28 kB / 378.9 MB, free: 11.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005287/0.1509, allocations: 203.2 kB / 379.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/0.151, allocations: 0 / 379.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.224e-05/0.151, allocations: 11.98 kB / 379.1 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.151, allocations: 4 kB / 379.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004693/0.1515, allocations: 152.1 kB / 379.2 MB, free: 11.13 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.1528, allocations: 0.5625 MB / 379.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.1539, allocations: 310.6 kB / 380.1 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003012/0.1542, allocations: 120.7 kB / 380.2 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.429e-05/0.1542, allocations: 4 kB / 380.2 MB, free: 10.08 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004496/0.1547, allocations: 167.1 kB / 380.4 MB, free: 9.906 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 2.004e-06/0.1547, allocations: 4 kB / 380.4 MB, free: 9.902 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001098/0.1558, allocations: 357.1 kB / 380.7 MB, free: 9.547 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.426e-05/0.1559, allocations: 59.41 kB / 380.8 MB, free: 9.477 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.1562, allocations: 207.7 kB / 381 MB, free: 9.262 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.703e-05/0.1562, allocations: 45.69 kB / 381 MB, free: 9.211 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.1564, allocations: 124.5 kB / 381.2 MB, free: 9.086 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.278e-05/0.1565, allocations: 75.06 kB / 381.2 MB, free: 9.012 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.1567, allocations: 65.69 kB / 381.3 MB, free: 8.941 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1568, allocations: 334.8 kB / 381.6 MB, free: 8.605 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003375/0.1572, allocations: 131.9 kB / 381.8 MB, free: 8.477 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/0.1575, allocations: 169.4 kB / 381.9 MB, free: 8.305 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005908/0.1581, allocations: 264.6 kB / 382.2 MB, free: 8.043 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.1582, allocations: 3.938 kB / 382.2 MB, free: 8.039 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007978/0.159, allocations: 378.7 kB / 382.6 MB, free: 7.664 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.159, allocations: 12.06 kB / 382.6 MB, free: 7.652 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.159, allocations: 3.938 kB / 382.6 MB, free: 7.648 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.1591, allocations: 0 / 382.6 MB, free: 7.648 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003081/0.1594, allocations: 67.88 kB / 382.6 MB, free: 7.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.1594, allocations: 8.031 kB / 382.7 MB, free: 7.574 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.1596, allocations: 39.67 kB / 382.7 MB, free: 7.535 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.1596, allocations: 15.98 kB / 382.7 MB, free: 7.52 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.0001975/0.1598, allocations: 141.6 kB / 382.8 MB, free: 7.371 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.1599, allocations: 19.72 kB / 382.9 MB, free: 7.352 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.619e-05/0.16, allocations: 33.84 kB / 382.9 MB, free: 7.32 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.16, allocations: 4 kB / 382.9 MB, free: 7.316 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.16, allocations: 0 / 382.9 MB, free: 7.316 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.16, allocations: 0 / 382.9 MB, free: 7.316 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.1613, allocations: 0.6347 MB / 383.5 MB, free: 6.625 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1614, allocations: 0 / 383.5 MB, free: 6.625 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.1616, allocations: 43.95 kB / 383.6 MB, free: 6.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.1616, allocations: 4 kB / 383.6 MB, free: 6.578 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.1616, allocations: 3.938 kB / 383.6 MB, free: 6.574 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1617, allocations: 0 / 383.6 MB, free: 6.574 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.1617, allocations: 3.984 kB / 383.6 MB, free: 6.57 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.1627, allocations: 499.9 kB / 384.1 MB, free: 6.066 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.969e-05/0.1628, allocations: 92.83 kB / 384.2 MB, free: 5.957 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.922e-05/0.1629, allocations: 20.11 kB / 384.2 MB, free: 5.938 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.1631, allocations: 19.98 kB / 384.2 MB, free: 5.918 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.727e-05/0.1631, allocations: 15.97 kB / 384.2 MB, free: 5.902 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/0.1632, allocations: 4 kB / 384.2 MB, free: 5.898 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002187/0.1634, allocations: 147.2 kB / 384.4 MB, free: 5.754 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1634, allocations: 0 / 384.4 MB, free: 5.754 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006384/0.1641, allocations: 111.9 kB / 384.5 MB, free: 5.645 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.0007912/0.1649, allocations: 278.8 kB / 384.8 MB, free: 5.359 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008335/0.1657, allocations: 275.8 kB / 385 MB, free: 5.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1657, allocations: 0 / 385 MB, free: 5.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004785/0.1662, allocations: 115.9 kB / 385.1 MB, free: 4.977 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.1666, allocations: 35.66 kB / 385.2 MB, free: 4.941 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.1678, allocations: 466.9 kB / 385.6 MB, free: 4.457 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005704/0.1684, allocations: 0.7398 MB / 386.4 MB, free: 3.688 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001359/0.1686, allocations: 33.92 kB / 386.4 MB, free: 3.656 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.631e-05/0.1687, allocations: 23.42 kB / 386.4 MB, free: 3.633 MB / 318.1 MB Notification: Performance of SimCode: time 3.115e-06/0.1687, allocations: 4 kB / 386.4 MB, free: 3.629 MB / 318.1 MB Notification: Performance of Templates: time 0.01008/0.1788, allocations: 3.764 MB / 390.2 MB, free: 15.86 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.sim & ./Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1)