Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.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_trunk_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_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0013/0.001301, allocations: 115.9 kB / 18.41 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001611/0.001611, allocations: 207.5 kB / 19.36 MB, free: 3.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 64.2 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1288, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.004504/0.1334, allocations: 1.863 MB / 360.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00307/0.1365, allocations: 1.302 MB / 362.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.1366, allocations: 8 kB / 362.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.1368, allocations: 19.73 kB / 362.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000181/0.137, allocations: 27.73 kB / 362.1 MB, free: 10.1 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.001294/0.1383, allocations: 307.1 kB / 362.4 MB, free: 9.797 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004008/0.1387, allocations: 219.4 kB / 362.6 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002579/0.139, allocations: 72.25 kB / 362.7 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.1392, allocations: 103.5 kB / 362.8 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007307/0.1399, allocations: 110.7 kB / 362.9 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.563e-05/0.14, allocations: 20 kB / 362.9 MB, free: 9.289 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005951/0.1406, allocations: 283.5 kB / 363.2 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.038e-05/0.1407, allocations: 59.81 kB / 363.3 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.1409, allocations: 107.3 kB / 363.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006969/0.1416, allocations: 394.9 kB / 363.8 MB, free: 8.461 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1416, allocations: 0 / 363.8 MB, free: 8.461 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1416, allocations: 0 / 363.8 MB, free: 8.461 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.1416, allocations: 0 / 363.8 MB, free: 8.461 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.001525/0.1431, allocations: 0.5778 MB / 364.3 MB, free: 7.832 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.1432, allocations: 8.031 kB / 364.3 MB, free: 7.824 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003295/0.1435, allocations: 36.59 kB / 364.4 MB, free: 7.789 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.1439, allocations: 248.6 kB / 364.6 MB, free: 7.508 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.487e-05/0.144, allocations: 12.66 kB / 364.6 MB, free: 7.496 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.433e-05/0.1441, allocations: 28.11 kB / 364.7 MB, free: 7.469 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006487/0.1447, allocations: 202.7 kB / 364.9 MB, free: 7.266 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1447, allocations: 0 / 364.9 MB, free: 7.266 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.1448, allocations: 4 kB / 364.9 MB, free: 7.262 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.1448, allocations: 4 kB / 364.9 MB, free: 7.258 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006954/0.1455, allocations: 152.4 kB / 365 MB, free: 7.109 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/0.147, allocations: 0.5711 MB / 365.6 MB, free: 6.488 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.1484, allocations: 306.6 kB / 365.9 MB, free: 6.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004284/0.1489, allocations: 112.8 kB / 366 MB, free: 6.066 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.1489, allocations: 0 / 366 MB, free: 6.066 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005599/0.1495, allocations: 182.2 kB / 366.2 MB, free: 5.879 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 2.284e-06/0.1495, allocations: 0 / 366.2 MB, free: 5.879 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001343/0.1508, allocations: 353.2 kB / 366.5 MB, free: 5.527 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.1509, allocations: 59.39 kB / 366.6 MB, free: 5.457 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/0.1512, allocations: 226.7 kB / 366.8 MB, free: 5.223 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/0.1513, allocations: 33.7 kB / 366.8 MB, free: 5.184 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.1514, allocations: 132.5 kB / 367 MB, free: 5.047 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.054e-05/0.1515, allocations: 67.02 kB / 367 MB, free: 4.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.1517, allocations: 69.67 kB / 367.1 MB, free: 4.906 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.1518, allocations: 330.8 kB / 367.4 MB, free: 4.574 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004859/0.1523, allocations: 135.9 kB / 367.6 MB, free: 4.441 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005204/0.1529, allocations: 165.6 kB / 367.7 MB, free: 4.273 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009016/0.1538, allocations: 271.2 kB / 368 MB, free: 4 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1538, allocations: 3.938 kB / 368 MB, free: 3.996 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001181/0.155, allocations: 379.8 kB / 368.4 MB, free: 3.621 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.155, allocations: 8 kB / 368.4 MB, free: 3.613 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.1551, allocations: 0 / 368.4 MB, free: 3.613 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.1551, allocations: 0 / 368.4 MB, free: 3.613 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004619/0.1556, allocations: 71.88 kB / 368.4 MB, free: 3.543 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.1556, allocations: 4.031 kB / 368.4 MB, free: 3.539 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.1558, allocations: 55.58 kB / 368.5 MB, free: 3.484 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/0.1559, allocations: 8 kB / 368.5 MB, free: 3.477 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.0002115/0.1561, allocations: 145.6 kB / 368.6 MB, free: 3.324 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.964e-05/0.1562, allocations: 23.8 kB / 368.7 MB, free: 3.301 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.797e-05/0.1563, allocations: 21.88 kB / 368.7 MB, free: 3.273 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.1563, allocations: 4 kB / 368.7 MB, free: 3.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1563, allocations: 0 / 368.7 MB, free: 3.27 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.1563, allocations: 3.984 kB / 368.7 MB, free: 3.266 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.1579, allocations: 0.6267 MB / 369.3 MB, free: 2.582 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.1579, allocations: 0 / 369.3 MB, free: 2.582 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003514/0.1582, allocations: 47.95 kB / 369.4 MB, free: 2.535 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.1583, allocations: 0 / 369.4 MB, free: 2.535 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/0.1583, allocations: 3.984 kB / 369.4 MB, free: 2.531 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.1583, allocations: 7.938 kB / 369.4 MB, free: 2.523 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1583, allocations: 0 / 369.4 MB, free: 2.523 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.1598, allocations: 479.6 kB / 369.9 MB, free: 2.043 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.688e-05/0.1599, allocations: 101 kB / 369.9 MB, free: 1.926 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.625e-05/0.16, allocations: 11.92 kB / 370 MB, free: 1.914 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/0.1603, allocations: 19.98 kB / 370 MB, free: 1.895 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.3e-05/0.1603, allocations: 11.97 kB / 370 MB, free: 1.883 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/0.1604, allocations: 8 kB / 370 MB, free: 1.875 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001997/0.1606, allocations: 156.7 kB / 370.2 MB, free: 1.723 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1606, allocations: 0 / 370.2 MB, free: 1.723 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004917/0.1611, allocations: 103.8 kB / 370.3 MB, free: 1.621 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.0006218/0.1617, allocations: 271.7 kB / 370.5 MB, free: 1.371 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007778/0.1625, allocations: 271.8 kB / 370.8 MB, free: 1.105 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1625, allocations: 0 / 370.8 MB, free: 1.105 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003066/0.1629, allocations: 118.4 kB / 370.9 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.1632, allocations: 41.36 kB / 370.9 MB, free: 0.957 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.1645, allocations: 454.7 kB / 371.4 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.193/0.3575, allocations: 0.734 MB / 372.1 MB, free: 19.56 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002428/0.3578, allocations: 30.8 kB / 372.1 MB, free: 19.56 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.358, allocations: 29.41 kB / 372.2 MB, free: 19.55 MB / 302.1 MB Notification: Performance of SimCode: time 1.743e-06/0.358, allocations: 0.8125 kB / 372.2 MB, free: 19.55 MB / 302.1 MB Notification: Performance of Templates: time 0.01001/0.368, allocations: 3.565 MB / 375.7 MB, free: 19.41 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1)