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.001684/0.001684, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 225.6 MB / 234.8 MB, free: 3.191 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009147/0.0009147, allocations: 96.69 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.94e-05/2.984e-05, allocations: 4 kB / 343.8 MB, free: 8.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1072, allocations: 51.48 MB / 395.3 MB, free: 4.617 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3701/0.4774, allocations: 77.13 MB / 472.4 MB, free: 14.31 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.4777, allocations: 75.69 kB / 472.5 MB, free: 14.28 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01486/0.4926, allocations: 4.171 MB / 476.6 MB, free: 12 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4927, allocations: 4 kB / 476.6 MB, free: 12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.4927, allocations: 0 / 476.6 MB, free: 12 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.0005906/0.4933, allocations: 430.2 kB / 477.1 MB, free: 11.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.4933, allocations: 12.03 kB / 477.1 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000412/0.4938, allocations: 39.69 kB / 477.1 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.4939, allocations: 192.5 kB / 477.3 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.494, allocations: 3.188 kB / 477.3 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.419e-05/0.494, allocations: 5.969 kB / 477.3 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001179/0.4941, allocations: 47.98 kB / 477.4 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.4943, allocations: 100.1 kB / 477.5 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.4944, allocations: 0 / 477.5 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.4944, allocations: 0 / 477.5 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.4944, allocations: 0 / 477.5 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006903/0.4951, allocations: 359.8 kB / 477.8 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.4953, allocations: 95.47 kB / 477.9 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.473e-05/0.4954, allocations: 51.19 kB / 477.9 MB, free: 10.76 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.4954, allocations: 3.688 kB / 478 MB, free: 10.76 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.4957, allocations: 121.3 kB / 478.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 3.407e-06/0.4957, allocations: 3.984 kB / 478.1 MB, free: 10.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003632/0.4961, allocations: 173.5 kB / 478.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.4961, allocations: 94.89 kB / 478.3 MB, free: 10.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.4963, allocations: 154.9 kB / 478.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.828e-05/0.4963, allocations: 41.06 kB / 478.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.4964, allocations: 111.4 kB / 478.6 MB, free: 10.15 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.39e-05/0.4965, allocations: 42.19 kB / 478.7 MB, free: 10.12 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.543e-05/0.4965, allocations: 0 / 478.7 MB, free: 10.12 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.215e-05/0.4965, allocations: 328.2 kB / 479 MB, free: 9.805 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.4967, allocations: 71.77 kB / 479.1 MB, free: 9.762 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.4969, allocations: 106.9 kB / 479.2 MB, free: 9.688 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.4972, allocations: 89.94 kB / 479.3 MB, free: 9.641 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.4972, allocations: 0 / 479.3 MB, free: 9.641 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005464/0.4978, allocations: 235.7 kB / 479.5 MB, free: 9.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.4978, allocations: 4 kB / 479.5 MB, free: 9.477 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/0.4978, allocations: 5.406 kB / 479.5 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.4978, allocations: 64 / 479.5 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.498, allocations: 35.56 kB / 479.5 MB, free: 9.445 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.4981, allocations: 4 kB / 479.5 MB, free: 9.441 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.4982, allocations: 21.34 kB / 479.6 MB, free: 9.422 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.926e-05/0.4982, allocations: 11.98 kB / 479.6 MB, free: 9.414 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.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,$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,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 9.557e-05/0.4983, allocations: 122.2 kB / 479.7 MB, free: 9.293 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000261/0.4986, allocations: 173.8 kB / 479.9 MB, free: 9.156 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.4986, allocations: 11.91 kB / 479.9 MB, free: 9.145 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.4987, allocations: 10.69 kB / 479.9 MB, free: 9.141 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.4987, allocations: 4 kB / 479.9 MB, free: 9.137 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.4987, allocations: 3.422 kB / 479.9 MB, free: 9.137 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4987, allocations: 0 / 479.9 MB, free: 9.137 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.4989, allocations: 187.2 kB / 480.1 MB, free: 8.953 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.4989, allocations: 3.953 kB / 480.1 MB, free: 8.949 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.549e-05/0.499, allocations: 11.14 kB / 480.1 MB, free: 8.941 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.499, allocations: 4 kB / 480.1 MB, free: 8.938 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.499, allocations: 13.12 kB / 480.1 MB, free: 8.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.499, allocations: 0 / 480.1 MB, free: 8.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4991, allocations: 0 / 480.1 MB, free: 8.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002858/0.4993, allocations: 212.5 kB / 480.3 MB, free: 8.742 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.229e-05/0.4994, allocations: 90.8 kB / 480.4 MB, free: 8.637 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.955e-05/0.4995, allocations: 14.84 kB / 480.4 MB, free: 8.629 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.603e-05/0.4996, allocations: 9.734 kB / 480.4 MB, free: 8.621 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/0.4996, allocations: 13.16 kB / 480.4 MB, free: 8.617 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.4997, allocations: 9.781 kB / 480.4 MB, free: 8.609 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.395e-05/0.4998, allocations: 111.8 kB / 480.6 MB, free: 8.516 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4998, allocations: 0 / 480.6 MB, free: 8.516 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004577/0.5002, allocations: 62.08 kB / 480.6 MB, free: 8.461 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,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.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.001049/0.5013, allocations: 0.99 MB / 481.6 MB, free: 7.543 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003475/0.5017, allocations: 210 kB / 481.8 MB, free: 7.371 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.5017, allocations: 0.6562 kB / 481.8 MB, free: 7.371 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.824e-05/0.5018, allocations: 58.17 kB / 481.9 MB, free: 7.328 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.502, allocations: 3.188 kB / 481.9 MB, free: 7.328 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005798/0.5025, allocations: 232.2 kB / 482.1 MB, free: 7.09 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.5027, allocations: 0.7119 MB / 482.8 MB, free: 6.352 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.609e-05/0.5028, allocations: 27.06 kB / 482.8 MB, free: 6.324 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.467e-05/0.5029, allocations: 41.55 kB / 482.9 MB, free: 6.305 MB / 346.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5029, allocations: 0 / 482.9 MB, free: 6.305 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02561/0.5285, allocations: 3.321 MB / 486.2 MB, free: 3.066 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/0.5287, allocations: 159.7 kB / 486.4 MB, free: 2.875 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/2.179, allocations: 0 / 486.4 MB, free: 2.875 MB / 346.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