Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Noise.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 115.5 kB / 17.69 MB, free: 5.426 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.001052/0.001053, allocations: 192 kB / 18.63 MB, free: 4.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009878/0.0009879, allocations: 43.16 kB / 302.1 MB, free: 5.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1162, allocations: 49.45 MB / 351.5 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003956/0.1202, allocations: 1.834 MB / 353.3 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002378/0.1226, allocations: 1.247 MB / 354.6 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.447e-05/0.1227, allocations: 4 kB / 354.6 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.1229, allocations: 19.73 kB / 354.6 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.036e-05/0.123, allocations: 27.67 kB / 354.6 MB, free: 0.5586 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0008459/0.1238, allocations: 315.2 kB / 354.9 MB, free: 256 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.1241, allocations: 219.5 kB / 355.2 MB, free: 36 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001933/0.1243, allocations: 64.2 kB / 355.2 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.1244, allocations: 99.53 kB / 355.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005512/0.1249, allocations: 119.5 kB / 355.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.123e-05/0.125, allocations: 20 kB / 355.5 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004633/0.1255, allocations: 279.5 kB / 355.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.682e-05/0.1256, allocations: 55.83 kB / 355.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.1257, allocations: 107.4 kB / 355.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005267/0.1262, allocations: 378.9 kB / 356.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1262, allocations: 0 / 356.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.1262, allocations: 4 kB / 356.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.1263, allocations: 0 / 356.3 MB, free: 14.93 MB / 302.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.001203/0.1275, allocations: 0.57 MB / 356.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.1275, allocations: 12.03 kB / 356.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002484/0.1278, allocations: 32.64 kB / 356.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.128, allocations: 241.5 kB / 357.1 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.646e-05/0.1281, allocations: 24.22 kB / 357.1 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.706e-05/0.1281, allocations: 20 kB / 357.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004581/0.1286, allocations: 199.5 kB / 357.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1286, allocations: 0 / 357.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.1287, allocations: 8 kB / 357.4 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.1287, allocations: 7.984 kB / 357.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000424/0.1291, allocations: 152.4 kB / 357.5 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.1301, allocations: 0.5784 MB / 358.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.1312, allocations: 306.7 kB / 358.4 MB, free: 12.65 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002844/0.1315, allocations: 116.7 kB / 358.5 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.1315, allocations: 4 kB / 358.5 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003804/0.1319, allocations: 159.3 kB / 358.7 MB, free: 12.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.753e-06/0.1319, allocations: 4 kB / 358.7 MB, free: 12.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009503/0.1329, allocations: 358.8 kB / 359 MB, free: 12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.1329, allocations: 55.41 kB / 359.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.1331, allocations: 215.6 kB / 359.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.1332, allocations: 41.69 kB / 359.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.132e-05/0.1333, allocations: 124.7 kB / 359.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.753e-05/0.1333, allocations: 78.91 kB / 359.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.952e-05/0.1334, allocations: 61.69 kB / 359.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1336, allocations: 346.8 kB / 359.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003205/0.1339, allocations: 127.9 kB / 360 MB, free: 10.92 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003304/0.1342, allocations: 157.7 kB / 360.2 MB, free: 10.76 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005909/0.1348, allocations: 272.3 kB / 360.5 MB, free: 10.49 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1348, allocations: 0 / 360.5 MB, free: 10.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007556/0.1356, allocations: 374.8 kB / 360.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.1356, allocations: 4 kB / 360.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.1356, allocations: 7.984 kB / 360.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1357, allocations: 0 / 360.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/0.136, allocations: 71.91 kB / 360.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.136, allocations: 7.938 kB / 360.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003039/0.1363, allocations: 35.73 kB / 361 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.1363, allocations: 15.92 kB / 361 MB, free: 9.977 MB / 302.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.0001807/0.1365, allocations: 141.6 kB / 361.1 MB, free: 9.828 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.1366, allocations: 19.81 kB / 361.1 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.644e-05/0.1367, allocations: 29.8 kB / 361.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1367, allocations: 0 / 361.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/0.1367, allocations: 4 kB / 361.2 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1367, allocations: 0 / 361.2 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.1379, allocations: 0.6347 MB / 361.8 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.1379, allocations: 4 kB / 361.8 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/0.1381, allocations: 43.95 kB / 361.8 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1381, allocations: 0 / 361.8 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.1382, allocations: 4 kB / 361.8 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.1382, allocations: 0 / 361.8 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.1382, allocations: 11.92 kB / 361.9 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009831/0.1392, allocations: 0.4929 MB / 362.4 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.286e-05/0.1392, allocations: 96.84 kB / 362.4 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.233e-05/0.1393, allocations: 8.062 kB / 362.5 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.1395, allocations: 15.98 kB / 362.5 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/0.1395, allocations: 15.97 kB / 362.5 MB, free: 8.363 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.1396, allocations: 4 kB / 362.5 MB, free: 8.359 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.1397, allocations: 151.2 kB / 362.6 MB, free: 8.211 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1397, allocations: 4 kB / 362.6 MB, free: 8.207 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000499/0.1402, allocations: 99.89 kB / 362.7 MB, free: 8.109 MB / 302.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.0006641/0.1409, allocations: 262.7 kB / 363 MB, free: 7.871 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007768/0.1417, allocations: 283.7 kB / 363.3 MB, free: 7.594 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.1417, allocations: 0 / 363.3 MB, free: 7.594 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003149/0.142, allocations: 113.7 kB / 363.4 MB, free: 7.484 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.1424, allocations: 27.92 kB / 363.4 MB, free: 7.457 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.1435, allocations: 454.8 kB / 363.9 MB, free: 6.988 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.1439, allocations: 0.7359 MB / 364.6 MB, free: 6.227 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001188/0.144, allocations: 29.94 kB / 364.6 MB, free: 6.199 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.025e-05/0.1441, allocations: 27.44 kB / 364.6 MB, free: 6.172 MB / 302.1 MB Notification: Performance of SimCode: time 1.713e-06/0.1441, allocations: 4 kB / 364.7 MB, free: 6.168 MB / 302.1 MB Notification: Performance of Templates: time 0.008329/0.1525, allocations: 3.595 MB / 368.2 MB, free: 2.594 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1)