Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,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_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,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_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001084/0.001083, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001077/0.001077, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 247.5 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 58.16 kB / 308.4 MB, free: 15.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1201, allocations: 50.54 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003369/0.1235, allocations: 1.857 MB / 360.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.1253, allocations: 1.021 MB / 361.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.427e-05/0.1254, allocations: 3.938 kB / 361.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.1255, allocations: 15.75 kB / 361.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000199/0.1257, allocations: 39.7 kB / 361.8 MB, free: 10.41 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0006007/0.1263, allocations: 183.5 kB / 362 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002768/0.1266, allocations: 223.4 kB / 362.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.1268, allocations: 68.23 kB / 362.3 MB, free: 9.945 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.127, allocations: 99.61 kB / 362.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005495/0.1275, allocations: 118.2 kB / 362.5 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.294e-05/0.1276, allocations: 24 kB / 362.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000239/0.1278, allocations: 123.8 kB / 362.7 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.477e-05/0.1279, allocations: 59.81 kB / 362.7 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.128, allocations: 95.41 kB / 362.8 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004322/0.1284, allocations: 291.1 kB / 363.1 MB, free: 9.152 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1285, allocations: 0 / 363.1 MB, free: 9.152 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.437e-06/0.1285, allocations: 0 / 363.1 MB, free: 9.152 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1285, allocations: 7.938 kB / 363.1 MB, free: 9.145 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.001127/0.1296, allocations: 0.5622 MB / 363.7 MB, free: 8.531 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1297, allocations: 8.031 kB / 363.7 MB, free: 8.523 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002184/0.1299, allocations: 36.64 kB / 363.7 MB, free: 8.488 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.1302, allocations: 248.6 kB / 364 MB, free: 8.207 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.1302, allocations: 20.66 kB / 364 MB, free: 8.188 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.684e-05/0.1303, allocations: 20.12 kB / 364 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004593/0.1307, allocations: 198.7 kB / 364.2 MB, free: 7.969 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1307, allocations: 0 / 364.2 MB, free: 7.969 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.1308, allocations: 4 kB / 364.2 MB, free: 7.965 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1308, allocations: 4 kB / 364.2 MB, free: 7.961 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004637/0.1312, allocations: 152.4 kB / 364.3 MB, free: 7.812 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009901/0.1322, allocations: 0.5788 MB / 364.9 MB, free: 7.184 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.1333, allocations: 302.7 kB / 365.2 MB, free: 6.879 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003054/0.1336, allocations: 108.8 kB / 365.3 MB, free: 6.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.467e-05/0.1337, allocations: 3.984 kB / 365.3 MB, free: 6.766 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004706/0.1341, allocations: 178.7 kB / 365.5 MB, free: 6.582 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/0.1342, allocations: 3.938 kB / 365.5 MB, free: 6.578 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001102/0.1353, allocations: 349.2 kB / 365.8 MB, free: 6.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.097e-05/0.1354, allocations: 59.39 kB / 365.9 MB, free: 6.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003108/0.1357, allocations: 222.7 kB / 366.1 MB, free: 5.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.053e-05/0.1357, allocations: 41.69 kB / 366.2 MB, free: 5.883 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.1359, allocations: 132.5 kB / 366.3 MB, free: 5.746 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.036e-05/0.136, allocations: 74.98 kB / 366.4 MB, free: 5.672 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.1361, allocations: 69.62 kB / 366.4 MB, free: 5.598 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.1363, allocations: 334.8 kB / 366.8 MB, free: 5.262 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003425/0.1366, allocations: 127.9 kB / 366.9 MB, free: 5.137 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003678/0.137, allocations: 161.6 kB / 367 MB, free: 4.973 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006287/0.1376, allocations: 275.2 kB / 367.3 MB, free: 4.695 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.1377, allocations: 0 / 367.3 MB, free: 4.695 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008506/0.1385, allocations: 383.8 kB / 367.7 MB, free: 4.316 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.1385, allocations: 6.812 kB / 367.7 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.1386, allocations: 3.984 kB / 367.7 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.1386, allocations: 4 kB / 367.7 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/0.1389, allocations: 71.88 kB / 367.8 MB, free: 4.234 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.901e-05/0.1389, allocations: 4 kB / 367.8 MB, free: 4.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.1391, allocations: 43.59 kB / 367.8 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.1392, allocations: 12 kB / 367.8 MB, free: 4.176 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.0001704/0.1393, allocations: 149.6 kB / 368 MB, free: 4.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.1394, allocations: 19.8 kB / 368 MB, free: 4 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.234e-05/0.1395, allocations: 25.86 kB / 368 MB, free: 3.969 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1395, allocations: 0 / 368 MB, free: 3.969 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/0.1395, allocations: 8 kB / 368 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1395, allocations: 3.984 kB / 368 MB, free: 3.957 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.1408, allocations: 0.619 MB / 368.7 MB, free: 3.281 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1408, allocations: 0 / 368.7 MB, free: 3.281 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.141, allocations: 43.95 kB / 368.7 MB, free: 3.238 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.141, allocations: 4 kB / 368.7 MB, free: 3.234 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/0.1411, allocations: 4 kB / 368.7 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1411, allocations: 0 / 368.7 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1411, allocations: 0 / 368.7 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.1424, allocations: 487.6 kB / 369.2 MB, free: 2.742 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.299e-05/0.1425, allocations: 92.91 kB / 369.3 MB, free: 2.633 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.501e-05/0.1425, allocations: 16 kB / 369.3 MB, free: 2.617 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.1427, allocations: 19.97 kB / 369.3 MB, free: 2.598 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.75e-05/0.1428, allocations: 15.98 kB / 369.3 MB, free: 2.582 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.1428, allocations: 7.984 kB / 369.3 MB, free: 2.574 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001661/0.143, allocations: 156.7 kB / 369.5 MB, free: 2.422 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.143, allocations: 0 / 369.5 MB, free: 2.422 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004166/0.1434, allocations: 71.78 kB / 369.5 MB, free: 2.352 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 (17): * Single equations (assignments): 15 * 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.0005378/0.144, allocations: 195.3 kB / 369.7 MB, free: 2.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008535/0.1448, allocations: 287.7 kB / 370 MB, free: 1.898 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1448, allocations: 0 / 370 MB, free: 1.898 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003692/0.1452, allocations: 111.9 kB / 370.1 MB, free: 1.789 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.1456, allocations: 32 kB / 370.2 MB, free: 1.758 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.1468, allocations: 458.8 kB / 370.6 MB, free: 1.289 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000457/0.1472, allocations: 0.7398 MB / 371.3 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.1474, allocations: 29.92 kB / 371.4 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.473e-05/0.1475, allocations: 27.42 kB / 371.4 MB, free: 476 kB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1475, allocations: 0 / 371.4 MB, free: 476 kB / 302.1 MB Notification: Performance of Templates: time 0.1805/0.328, allocations: 2.872 MB / 374.3 MB, free: 19.63 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1)