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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.002015/0.002015, allocations: 196.4 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009002/0.0009006, allocations: 85.19 kB / 292.1 MB, free: 5.914 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.224e-05/3.231e-05, allocations: 4 kB / 350.6 MB, free: 2.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1016, allocations: 51.48 MB / 402.1 MB, free: 14.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4138/0.5155, allocations: 77.79 MB / 479.9 MB, free: 11.65 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.5158, allocations: 74.89 kB / 480 MB, free: 11.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01046/0.5263, allocations: 4.189 MB / 484.2 MB, free: 8.016 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5263, allocations: 0 / 484.2 MB, free: 8.016 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.5264, allocations: 4 kB / 484.2 MB, free: 8.012 MB / 346.7 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.0005548/0.5269, allocations: 436.5 kB / 484.6 MB, free: 7.559 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.527, allocations: 8.031 kB / 484.6 MB, free: 7.551 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.283e-05/0.5271, allocations: 38.81 kB / 484.6 MB, free: 7.508 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002731/0.5273, allocations: 43.78 kB / 484.7 MB, free: 7.465 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.5275, allocations: 191.3 kB / 484.9 MB, free: 7.242 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.5275, allocations: 11.61 kB / 484.9 MB, free: 7.234 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.5275, allocations: 11.55 kB / 484.9 MB, free: 7.227 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.5277, allocations: 106 kB / 485 MB, free: 7.129 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.5277, allocations: 0 / 485 MB, free: 7.129 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.5278, allocations: 0 / 485 MB, free: 7.129 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.5278, allocations: 0 / 485 MB, free: 7.129 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.809e-05/0.5278, allocations: 54.78 kB / 485.1 MB, free: 7.086 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005494/0.5284, allocations: 465 kB / 485.5 MB, free: 6.621 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.5286, allocations: 102.9 kB / 485.6 MB, free: 6.523 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.7e-05/0.5286, allocations: 48.94 kB / 485.7 MB, free: 6.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.5287, allocations: 0 / 485.7 MB, free: 6.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.5288, allocations: 133.5 kB / 485.8 MB, free: 6.355 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.022e-06/0.5288, allocations: 0 / 485.8 MB, free: 6.355 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002664/0.5291, allocations: 174.7 kB / 486 MB, free: 6.207 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.5291, allocations: 88.48 kB / 486 MB, free: 6.105 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.5293, allocations: 159.1 kB / 486.2 MB, free: 5.965 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.5293, allocations: 44.88 kB / 486.2 MB, free: 5.922 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/0.5294, allocations: 103 kB / 486.3 MB, free: 5.832 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.5294, allocations: 51.22 kB / 486.4 MB, free: 5.789 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.172e-05/0.5294, allocations: 7.188 kB / 486.4 MB, free: 5.785 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.388e-05/0.5295, allocations: 338.1 kB / 486.7 MB, free: 5.453 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.5296, allocations: 71.88 kB / 486.8 MB, free: 5.402 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.5297, allocations: 109.3 kB / 486.9 MB, free: 5.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.5298, allocations: 83.83 kB / 487 MB, free: 5.266 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5298, allocations: 0 / 487 MB, free: 5.266 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003123/0.5302, allocations: 263.2 kB / 487.3 MB, free: 5.066 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.5302, allocations: 5.406 kB / 487.3 MB, free: 5.062 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.5302, allocations: 0 / 487.3 MB, free: 5.062 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.5302, allocations: 5.875 kB / 487.3 MB, free: 5.059 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.5304, allocations: 27.92 kB / 487.3 MB, free: 5.031 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.5304, allocations: 0 / 487.3 MB, free: 5.031 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.998e-05/0.5305, allocations: 22.89 kB / 487.3 MB, free: 5.012 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.5305, allocations: 11.62 kB / 487.3 MB, free: 5.004 MB / 346.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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 7.634e-05/0.5306, allocations: 143.8 kB / 487.5 MB, free: 4.859 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.5306, allocations: 15 kB / 487.5 MB, free: 4.848 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.5306, allocations: 12.97 kB / 487.5 MB, free: 4.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.5306, allocations: 0 / 487.5 MB, free: 4.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.5306, allocations: 0 / 487.5 MB, free: 4.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5306, allocations: 4 kB / 487.5 MB, free: 4.836 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.5308, allocations: 219.3 kB / 487.7 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5308, allocations: 0 / 487.7 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.493e-05/0.5308, allocations: 15.98 kB / 487.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.5309, allocations: 4 kB / 487.7 MB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.5309, allocations: 2.25 kB / 487.7 MB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.5309, allocations: 0.8125 kB / 487.7 MB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5309, allocations: 7.938 kB / 487.7 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.5311, allocations: 215.3 kB / 487.9 MB, free: 4.359 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.005e-05/0.5312, allocations: 92.17 kB / 488 MB, free: 4.254 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.301e-05/0.5312, allocations: 14.67 kB / 488.1 MB, free: 4.242 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.911e-05/0.5313, allocations: 7.984 kB / 488.1 MB, free: 4.234 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.5313, allocations: 15.55 kB / 488.1 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.5313, allocations: 4 kB / 488.1 MB, free: 4.219 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.429e-05/0.5314, allocations: 126.1 kB / 488.2 MB, free: 4.109 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5314, allocations: 0 / 488.2 MB, free: 4.109 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002723/0.5317, allocations: 63.11 kB / 488.3 MB, free: 4.055 MB / 346.7 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]) * 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.0007637/0.5325, allocations: 0.9901 MB / 489.3 MB, free: 3.137 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002586/0.5327, allocations: 230.6 kB / 489.5 MB, free: 2.945 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5328, allocations: 0 / 489.5 MB, free: 2.945 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.732e-05/0.5328, allocations: 56.8 kB / 489.5 MB, free: 2.906 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000108/0.5329, allocations: 0.875 kB / 489.5 MB, free: 2.906 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004137/0.5334, allocations: 252.7 kB / 489.8 MB, free: 2.656 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.5335, allocations: 0.716 MB / 490.5 MB, free: 1.914 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.558e-05/0.5335, allocations: 16.88 kB / 490.5 MB, free: 1.895 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.455e-05/0.5336, allocations: 39.17 kB / 490.6 MB, free: 1.875 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5336, allocations: 0.6562 kB / 490.6 MB, free: 1.875 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0153/0.5489, allocations: 3.683 MB / 494.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002259/0.5492, allocations: 185.7 kB / 494.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/2.199, allocations: 4 kB / 494.4 MB, free: 14.18 MB / 362.7 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