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/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.UniformNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009902/0.0009903, allocations: 197.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.196/1.196, allocations: 227.2 MB / 245 MB, free: 5.766 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008473/0.0008472, allocations: 102.9 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001907/0.0001907, allocations: 7.984 kB / 358 MB, free: 9.211 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1781, allocations: 51.49 MB / 409.5 MB, free: 26.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08816/0.2663, allocations: 79.96 MB / 489.5 MB, free: 10.62 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/0.2666, allocations: 80.7 kB / 489.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01496/0.2815, allocations: 5.258 MB / 494.8 MB, free: 5.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2816, allocations: 3.938 kB / 494.8 MB, free: 5.266 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.2816, allocations: 4 kB / 494.8 MB, free: 5.262 MB / 362.7 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.0008544/0.2825, allocations: 0.548 MB / 495.4 MB, free: 4.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.2825, allocations: 8.031 kB / 495.4 MB, free: 4.652 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.226e-05/0.2826, allocations: 58.41 kB / 495.4 MB, free: 4.586 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/0.2828, allocations: 35.7 kB / 495.5 MB, free: 4.551 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.2831, allocations: 240.1 kB / 495.7 MB, free: 4.277 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.2831, allocations: 23.94 kB / 495.7 MB, free: 4.254 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.252e-05/0.2831, allocations: 27.98 kB / 495.7 MB, free: 4.227 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004681/0.2836, allocations: 222.4 kB / 496 MB, free: 4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.2836, allocations: 0 / 496 MB, free: 4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.2837, allocations: 4 kB / 496 MB, free: 3.996 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.2837, allocations: 4 kB / 496 MB, free: 3.992 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000454/0.2841, allocations: 176.2 kB / 496.1 MB, free: 3.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000951/0.2851, allocations: 0.5981 MB / 496.7 MB, free: 3.172 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.2862, allocations: 382.5 kB / 497.1 MB, free: 2.789 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.2862, allocations: 8.016 kB / 497.1 MB, free: 2.781 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003993/0.2866, allocations: 199.1 kB / 497.3 MB, free: 2.578 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/0.2866, allocations: 0 / 497.3 MB, free: 2.578 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001044/0.2877, allocations: 485.4 kB / 497.8 MB, free: 2.082 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.2877, allocations: 67.77 kB / 497.9 MB, free: 2.004 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.2879, allocations: 187.9 kB / 498 MB, free: 1.816 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.2879, allocations: 41.69 kB / 498.1 MB, free: 1.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.397e-05/0.288, allocations: 132.5 kB / 498.2 MB, free: 1.637 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.298e-05/0.2881, allocations: 63.06 kB / 498.3 MB, free: 1.574 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.661e-05/0.2881, allocations: 12 kB / 498.3 MB, free: 1.562 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.985e-05/0.2882, allocations: 330.8 kB / 498.6 MB, free: 1.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/0.2885, allocations: 144.7 kB / 498.7 MB, free: 1.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00034/0.2889, allocations: 173.6 kB / 498.9 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/0.2892, allocations: 149.5 kB / 499.1 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.2892, allocations: 0 / 499.1 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007692/0.29, allocations: 413 kB / 499.5 MB, free: 368 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.29, allocations: 4 kB / 499.5 MB, free: 364 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.2901, allocations: 0 / 499.5 MB, free: 364 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.2901, allocations: 4 kB / 499.5 MB, free: 360 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/0.2904, allocations: 75.89 kB / 499.5 MB, free: 284 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.2904, allocations: 3.938 kB / 499.5 MB, free: 280 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.2906, allocations: 55.66 kB / 499.6 MB, free: 224 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/0.2906, allocations: 12 kB / 499.6 MB, free: 212 kB / 362.7 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,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0001411/0.2908, allocations: 146.7 kB / 499.8 MB, free: 56 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.2908, allocations: 27.61 kB / 499.8 MB, free: 28 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.626e-05/0.2909, allocations: 21.86 kB / 499.8 MB, free: 8 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.2909, allocations: 4 kB / 499.8 MB, free: 4 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.2909, allocations: 0 / 499.8 MB, free: 4 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2909, allocations: 3.984 kB / 499.8 MB, free: 0 / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.292, allocations: 0.6855 MB / 0.4888 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.292, allocations: 4 kB / 0.4888 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/0.2923, allocations: 47.95 kB / 0.4888 GB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.2923, allocations: 0 / 0.4888 GB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.2923, allocations: 15.98 kB / 0.4888 GB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2923, allocations: 0 / 0.4888 GB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2923, allocations: 0 / 0.4888 GB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009763/0.2933, allocations: 0.5373 MB / 0.4894 GB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.445e-05/0.2934, allocations: 100.8 kB / 0.4895 GB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.329e-05/0.2934, allocations: 12.05 kB / 0.4895 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.2936, allocations: 27.97 kB / 0.4895 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.2937, allocations: 11.98 kB / 0.4895 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.2937, allocations: 11.98 kB / 0.4895 GB, free: 14.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001166/0.2938, allocations: 151.2 kB / 0.4897 GB, free: 14.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2939, allocations: 0 / 0.4897 GB, free: 14.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003606/0.2942, allocations: 79.94 kB / 0.4897 GB, free: 14.23 MB / 378.7 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 (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.00158/0.2958, allocations: 1.202 MB / 0.4909 GB, free: 13.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000733/0.2966, allocations: 347.5 kB / 0.4912 GB, free: 12.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2966, allocations: 0 / 0.4912 GB, free: 12.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003107/0.2969, allocations: 135.9 kB / 0.4914 GB, free: 12.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.2971, allocations: 26.09 kB / 0.4914 GB, free: 12.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.2982, allocations: 0.967 MB / 0.4923 GB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.2985, allocations: 0.7479 MB / 0.4931 GB, free: 10.74 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001164/0.2986, allocations: 25.94 kB / 0.4931 GB, free: 10.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.2988, allocations: 63.41 kB / 0.4932 GB, free: 10.66 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.2988, allocations: 4 kB / 0.4932 GB, free: 10.66 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01523/0.314, allocations: 5.079 MB / 0.4981 GB, free: 5.715 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000158/0.3142, allocations: 231.6 kB / 0.4983 GB, free: 5.469 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/2.058, allocations: 0 / 0.4983 GB, free: 5.469 MB / 378.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat does not exist to compare? outputFormat=mat