Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.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: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001007/0.001007, allocations: 98.75 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001135/0.001136, allocations: 201.2 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002566/0.0002567, allocations: 7.984 kB / 306.7 MB, free: 1.277 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1386, allocations: 51.49 MB / 358.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.00166/0.1403, allocations: 1.215 MB / 359.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.1414, allocations: 0.5693 MB / 360 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.596e-05/0.1415, allocations: 4 kB / 360 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.861e-05/0.1416, allocations: 7.922 kB / 360 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.434e-05/0.1416, allocations: 19.91 kB / 360 MB, free: 11.96 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.000451/0.1421, allocations: 115.7 kB / 360.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.1422, allocations: 63.86 kB / 360.2 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.974e-05/0.1423, allocations: 20.86 kB / 360.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.892e-05/0.1424, allocations: 43.83 kB / 360.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.1425, allocations: 47.81 kB / 360.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.1425, allocations: 7.938 kB / 360.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.1427, allocations: 75.88 kB / 360.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.301e-05/0.1428, allocations: 31.89 kB / 360.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.85e-05/0.1428, allocations: 45.64 kB / 360.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.143, allocations: 139.9 kB / 360.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.143, allocations: 0 / 360.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.143, allocations: 0 / 360.6 MB, free: 11.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.143, allocations: 4 kB / 360.6 MB, free: 11.36 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006073/0.1437, allocations: 430.8 kB / 361 MB, free: 10.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.1437, allocations: 8.031 kB / 361 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.19e-05/0.1438, allocations: 38.55 kB / 361.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003103/0.1441, allocations: 43.78 kB / 361.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.1443, allocations: 198.7 kB / 361.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.1443, allocations: 12 kB / 361.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.1443, allocations: 11.94 kB / 361.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.1446, allocations: 115.4 kB / 361.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.1446, allocations: 0 / 361.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.1446, allocations: 7.984 kB / 361.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1446, allocations: 0 / 361.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.1448, allocations: 63.91 kB / 361.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007416/0.1456, allocations: 460.8 kB / 361.9 MB, free: 9.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003527/0.1459, allocations: 145.2 kB / 362.1 MB, free: 9.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.146, allocations: 0 / 362.1 MB, free: 9.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003207/0.1463, allocations: 147.6 kB / 362.2 MB, free: 9.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/0.1463, allocations: 0 / 362.2 MB, free: 9.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007346/0.147, allocations: 407.8 kB / 362.6 MB, free: 9.078 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.741e-05/0.1471, allocations: 93.03 kB / 362.7 MB, free: 8.969 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.1473, allocations: 178.3 kB / 362.9 MB, free: 8.785 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.583e-05/0.1474, allocations: 49.69 kB / 362.9 MB, free: 8.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.374e-05/0.1475, allocations: 104.5 kB / 363 MB, free: 8.625 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.38e-05/0.1475, allocations: 43.53 kB / 363.1 MB, free: 8.582 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-06/0.1475, allocations: 0 / 363.1 MB, free: 8.582 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1477, allocations: 330.8 kB / 363.4 MB, free: 8.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.1479, allocations: 104.5 kB / 363.5 MB, free: 8.141 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.1481, allocations: 132.4 kB / 363.6 MB, free: 8.004 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.1483, allocations: 111.9 kB / 363.8 MB, free: 7.895 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1483, allocations: 0 / 363.8 MB, free: 7.895 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005854/0.1489, allocations: 305.8 kB / 364.1 MB, free: 7.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.149, allocations: 4 kB / 364.1 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.149, allocations: 0 / 364.1 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.149, allocations: 4 kB / 364.1 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.1491, allocations: 27.98 kB / 364.1 MB, free: 7.555 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.1492, allocations: 12 kB / 364.1 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.897e-05/0.1492, allocations: 27.73 kB / 364.1 MB, free: 7.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.1493, allocations: 4 kB / 364.1 MB, free: 7.512 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,$PRE.uniformNoise1.state[1],uniformNoise1.state[1],$PRE.uniformNoise1.state[2],uniformNoise1.state[2],$PRE.uniformNoise1.state[3],uniformNoise1.state[3],$PRE.uniformNoise1.state[4],uniformNoise1.state[4],$PRE.uniformNoise1.r,uniformNoise1.r,$PRE.uniformNoise1.r_raw,uniformNoise1.r_raw,$PRE.uniformNoise2.state[1],uniformNoise2.state[1],$PRE.uniformNoise2.state[2],uniformNoise2.state[2],$PRE.uniformNoise2.state[3],uniformNoise2.state[3],$PRE.uniformNoise2.state[4],uniformNoise2.state[4],$PRE.uniformNoise2.r,uniformNoise2.r,$PRE.uniformNoise2.r_raw,uniformNoise2.r_raw,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000197/0.1495, allocations: 157.8 kB / 364.3 MB, free: 7.348 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.1495, allocations: 11.81 kB / 364.3 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.1495, allocations: 13.41 kB / 364.3 MB, free: 7.324 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.1495, allocations: 7.984 kB / 364.3 MB, free: 7.316 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1496, allocations: 0 / 364.3 MB, free: 7.316 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.1496, allocations: 4 kB / 364.3 MB, free: 7.312 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.1498, allocations: 201.6 kB / 364.5 MB, free: 7.066 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.1498, allocations: 3.953 kB / 364.5 MB, free: 7.062 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.043e-05/0.1498, allocations: 11.98 kB / 364.5 MB, free: 7.051 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1499, allocations: 4 kB / 364.5 MB, free: 7.047 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.1499, allocations: 0 / 364.5 MB, free: 7.047 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.1499, allocations: 3.938 kB / 364.5 MB, free: 7.043 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1499, allocations: 4 kB / 364.5 MB, free: 7.039 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003819/0.1503, allocations: 243.3 kB / 364.8 MB, free: 6.773 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.005e-05/0.1503, allocations: 92.92 kB / 364.9 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.1504, allocations: 11.98 kB / 364.9 MB, free: 6.652 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.898e-05/0.1504, allocations: 8 kB / 364.9 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.1505, allocations: 15.91 kB / 364.9 MB, free: 6.629 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.1505, allocations: 4 kB / 364.9 MB, free: 6.625 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001006/0.1506, allocations: 128.2 kB / 365 MB, free: 6.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1506, allocations: 0 / 365 MB, free: 6.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002933/0.1509, allocations: 44 kB / 365.1 MB, free: 6.457 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw,$whenCondition1,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw) * Number of discrete states: 8 (uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001121/0.1521, allocations: 1.016 MB / 366.1 MB, free: 5.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004017/0.1525, allocations: 204.9 kB / 366.3 MB, free: 5.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1525, allocations: 0 / 366.3 MB, free: 5.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.1526, allocations: 59.92 kB / 366.4 MB, free: 5.172 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.1528, allocations: 12.11 kB / 366.4 MB, free: 5.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009291/0.1537, allocations: 0.8171 MB / 367.2 MB, free: 4.285 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.1541, allocations: 0.716 MB / 367.9 MB, free: 3.543 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.284e-05/0.1541, allocations: 16.88 kB / 367.9 MB, free: 3.523 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.511e-05/0.1542, allocations: 35.42 kB / 368 MB, free: 3.488 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1542, allocations: 0 / 368 MB, free: 3.488 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01445/0.1687, allocations: 3.246 MB / 371.2 MB, free: 364 kB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/0.1689, allocations: 212.2 kB / 371.4 MB, free: 112 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.84/2.009, allocations: 4 kB / 371.4 MB, free: 108 kB / 302.1 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat does not exist to compare? outputFormat=mat