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.01132/0.01132, allocations: 100.7 kB / 15.73 MB, free: 6.027 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.002727/0.002727, allocations: 196.1 kB / 16.67 MB, free: 5.961 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.5 MB, free: 4.535 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.001368/0.001368, allocations: 45.88 kB / 326.6 MB, free: 14.26 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1202, allocations: 46.62 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.00315/0.1234, allocations: 1.829 MB / 375 MB, free: 15.47 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002297/0.1257, allocations: 1.282 MB / 376.3 MB, free: 14.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.1259, allocations: 4 kB / 376.3 MB, free: 14.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001554/0.126, allocations: 15.75 kB / 376.3 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.1261, allocations: 27.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.001102/0.1273, allocations: 323 kB / 376.7 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000256/0.1275, allocations: 215.5 kB / 376.9 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.1277, allocations: 76.19 kB / 376.9 MB, free: 13.53 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.1278, allocations: 95.67 kB / 377 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.128, allocations: 111.5 kB / 377.1 MB, free: 13.33 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.668e-05/0.128, allocations: 24 kB / 377.2 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004362/0.1285, allocations: 291.5 kB / 377.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.892e-05/0.1286, allocations: 59.81 kB / 377.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.1287, allocations: 95.5 kB / 377.6 MB, free: 12.87 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005344/0.1292, allocations: 402.5 kB / 378 MB, free: 12.47 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1292, allocations: 8 kB / 378 MB, free: 12.46 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1292, allocations: 0 / 378 MB, free: 12.46 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.1293, allocations: 0 / 378 MB, free: 12.46 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.00119/0.1305, allocations: 0.5773 MB / 378.6 MB, free: 11.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.1305, allocations: 8.031 kB / 378.6 MB, free: 11.83 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002398/0.1308, allocations: 40.78 kB / 378.6 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.131, allocations: 244.8 kB / 378.9 MB, free: 11.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.419e-05/0.1311, allocations: 20.66 kB / 378.9 MB, free: 11.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.912e-05/0.1311, allocations: 20.31 kB / 378.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004945/0.1316, allocations: 199.2 kB / 379.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1317, allocations: 0 / 379.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.1317, allocations: 4 kB / 379.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.1317, allocations: 8 kB / 379.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004398/0.1322, allocations: 156 kB / 379.3 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.1332, allocations: 0.5704 MB / 379.8 MB, free: 10.49 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.1343, allocations: 306.6 kB / 380.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.1346, allocations: 120.7 kB / 380.2 MB, free: 10.06 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.1346, allocations: 4 kB / 380.3 MB, free: 10.06 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003879/0.135, allocations: 163.3 kB / 380.4 MB, free: 9.887 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.653e-06/0.135, allocations: 0 / 380.4 MB, free: 9.887 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009739/0.136, allocations: 361.1 kB / 380.8 MB, free: 9.527 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.614e-05/0.1361, allocations: 63.41 kB / 380.8 MB, free: 9.453 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/0.1364, allocations: 211.8 kB / 381 MB, free: 9.234 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.843e-05/0.1364, allocations: 41.64 kB / 381.1 MB, free: 9.188 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.1365, allocations: 124.6 kB / 381.2 MB, free: 9.062 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.259e-05/0.1366, allocations: 79.44 kB / 381.3 MB, free: 8.984 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.1367, allocations: 69.69 kB / 381.3 MB, free: 8.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1369, allocations: 330.8 kB / 381.7 MB, free: 8.578 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003491/0.1372, allocations: 131.9 kB / 381.8 MB, free: 8.449 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003711/0.1376, allocations: 169.5 kB / 382 MB, free: 8.277 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006679/0.1383, allocations: 268.6 kB / 382.2 MB, free: 8.012 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.1383, allocations: 3.938 kB / 382.2 MB, free: 8.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000803/0.1391, allocations: 370.9 kB / 382.6 MB, free: 7.641 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.1392, allocations: 8.062 kB / 382.6 MB, free: 7.633 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.1392, allocations: 4 kB / 382.6 MB, free: 7.629 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.789e-05/0.1392, allocations: 0 / 382.6 MB, free: 7.629 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.1395, allocations: 71.88 kB / 382.7 MB, free: 7.559 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.1395, allocations: 4 kB / 382.7 MB, free: 7.555 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.1397, allocations: 47.77 kB / 382.7 MB, free: 7.508 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.1397, allocations: 8 kB / 382.7 MB, free: 7.5 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.0001716/0.1399, allocations: 149.6 kB / 382.9 MB, free: 7.344 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/0.14, allocations: 15.91 kB / 382.9 MB, free: 7.328 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.303e-05/0.14, allocations: 21.88 kB / 382.9 MB, free: 7.309 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.14, allocations: 4 kB / 382.9 MB, free: 7.305 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.1401, allocations: 11.86 kB / 382.9 MB, free: 7.293 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1401, allocations: 4 kB / 382.9 MB, free: 7.289 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.1412, allocations: 0.6269 MB / 383.6 MB, free: 6.605 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1412, allocations: 4 kB / 383.6 MB, free: 6.602 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/0.1415, allocations: 43.89 kB / 383.6 MB, free: 6.559 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1415, allocations: 0 / 383.6 MB, free: 6.559 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-05/0.1415, allocations: 11.98 kB / 383.6 MB, free: 6.547 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1415, allocations: 3.938 kB / 383.6 MB, free: 6.543 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1416, allocations: 4 kB / 383.6 MB, free: 6.539 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.1426, allocations: 488.1 kB / 384.1 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.744e-05/0.1427, allocations: 96.94 kB / 384.2 MB, free: 5.934 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/0.1428, allocations: 12 kB / 384.2 MB, free: 5.922 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.1429, allocations: 23.97 kB / 384.2 MB, free: 5.898 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.427e-05/0.143, allocations: 11.98 kB / 384.2 MB, free: 5.887 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.143, allocations: 11.98 kB / 384.3 MB, free: 5.875 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001328/0.1432, allocations: 147.2 kB / 384.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1432, allocations: 3.938 kB / 384.4 MB, free: 5.727 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004575/0.1437, allocations: 107.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.0006718/0.1443, allocations: 286.7 kB / 384.8 MB, free: 5.328 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007587/0.1451, allocations: 275.8 kB / 385.1 MB, free: 5.059 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1451, allocations: 0 / 385.1 MB, free: 5.059 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003231/0.1454, allocations: 119.9 kB / 385.2 MB, free: 4.941 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.1458, allocations: 27.91 kB / 385.2 MB, free: 4.914 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.1468, allocations: 470 kB / 385.7 MB, free: 4.426 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.1472, allocations: 0.7359 MB / 386.4 MB, free: 3.66 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001149/0.1473, allocations: 33.88 kB / 386.4 MB, free: 3.629 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.729e-05/0.1474, allocations: 27.42 kB / 386.5 MB, free: 3.602 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1474, allocations: 4 kB / 386.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of Templates: time 0.008256/0.1557, allocations: 3.767 MB / 390.2 MB, free: 15.82 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)