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.002474/0.002474, allocations: 196.1 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.527/1.527, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008733/0.0008732, allocations: 86.83 kB / 292.1 MB, free: 5.906 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.669e-05/3.671e-05, allocations: 7.984 kB / 350.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1117, allocations: 51.48 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3108/0.4226, allocations: 79.89 MB / 482 MB, free: 9.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001989/0.4228, allocations: 79.7 kB / 482.1 MB, free: 9.547 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01363/0.4365, allocations: 5.232 MB / 487.3 MB, free: 5.094 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.4365, allocations: 7.984 kB / 487.3 MB, free: 5.086 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.4365, allocations: 4 kB / 487.3 MB, free: 5.082 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007165/0.4373, allocations: 0.515 MB / 487.9 MB, free: 4.543 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.4373, allocations: 8.031 kB / 487.9 MB, free: 4.535 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.657e-05/0.4374, allocations: 56.83 kB / 487.9 MB, free: 4.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.4376, allocations: 39.7 kB / 488 MB, free: 4.441 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.4378, allocations: 232.6 kB / 488.2 MB, free: 4.191 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.4379, allocations: 22.19 kB / 488.2 MB, free: 4.176 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.888e-05/0.4379, allocations: 22.48 kB / 488.2 MB, free: 4.164 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.4382, allocations: 169.2 kB / 488.4 MB, free: 4.031 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.4383, allocations: 0 / 488.4 MB, free: 4.031 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.4383, allocations: 6.812 kB / 488.4 MB, free: 4.031 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.4383, allocations: 4 kB / 488.4 MB, free: 4.027 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/0.4385, allocations: 105.3 kB / 488.5 MB, free: 3.957 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009056/0.4394, allocations: 0.6045 MB / 489.1 MB, free: 3.398 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005484/0.44, allocations: 240.1 kB / 489.3 MB, free: 3.203 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.4401, allocations: 84.91 kB / 489.4 MB, free: 3.145 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.4401, allocations: 0 / 489.4 MB, free: 3.145 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002051/0.4403, allocations: 135.2 kB / 489.6 MB, free: 3.031 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.393e-06/0.4403, allocations: 0 / 489.6 MB, free: 3.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003471/0.4407, allocations: 203.1 kB / 489.8 MB, free: 2.867 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.4407, allocations: 57.75 kB / 489.8 MB, free: 2.801 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.4409, allocations: 186 kB / 490 MB, free: 2.641 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.4409, allocations: 40.94 kB / 490 MB, free: 2.602 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.833e-05/0.441, allocations: 137.5 kB / 490.2 MB, free: 2.484 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.101e-05/0.441, allocations: 75.7 kB / 490.2 MB, free: 2.422 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.494e-05/0.4411, allocations: 3.5 kB / 490.2 MB, free: 2.422 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.589e-05/0.4411, allocations: 335.9 kB / 490.6 MB, free: 2.094 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.4413, allocations: 88.98 kB / 490.7 MB, free: 2.039 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.4414, allocations: 120.1 kB / 490.8 MB, free: 1.957 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.4416, allocations: 91.89 kB / 490.9 MB, free: 1.898 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4416, allocations: 0 / 490.9 MB, free: 1.898 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003756/0.442, allocations: 298.5 kB / 491.2 MB, free: 1.672 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.442, allocations: 8 kB / 491.2 MB, free: 1.664 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.442, allocations: 0 / 491.2 MB, free: 1.664 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.442, allocations: 4 kB / 491.2 MB, free: 1.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/0.4423, allocations: 79.44 kB / 491.3 MB, free: 1.586 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.4424, allocations: 0 / 491.3 MB, free: 1.586 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.4425, allocations: 51.62 kB / 491.3 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/0.4426, allocations: 11.94 kB / 491.3 MB, free: 1.531 MB / 346.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 () * 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 7.682e-05/0.4426, allocations: 120.8 kB / 491.4 MB, free: 1.414 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.4427, allocations: 23.77 kB / 491.5 MB, free: 1.391 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.521e-05/0.4427, allocations: 22.83 kB / 491.5 MB, free: 1.383 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.4427, allocations: 7.938 kB / 491.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4427, allocations: 1.781 kB / 491.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4428, allocations: 0 / 491.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006548/0.4434, allocations: 0.5876 MB / 492.1 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4434, allocations: 0 / 492.1 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/0.4437, allocations: 51.95 kB / 492.1 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4437, allocations: 0 / 492.1 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.4437, allocations: 7.375 kB / 492.1 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.4437, allocations: 3.938 kB / 492.1 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4437, allocations: 4 kB / 492.1 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004127/0.4441, allocations: 394.2 kB / 492.5 MB, free: 444 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.688e-05/0.4442, allocations: 100.4 kB / 492.6 MB, free: 328 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.874e-05/0.4442, allocations: 7.5 kB / 492.6 MB, free: 324 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.4444, allocations: 31.97 kB / 492.7 MB, free: 292 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.4445, allocations: 11.67 kB / 492.7 MB, free: 284 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.4445, allocations: 11.98 kB / 492.7 MB, free: 272 kB / 346.7 MB Notification: Performance of sorting global known variables: time 8.992e-05/0.4446, allocations: 144.7 kB / 492.8 MB, free: 148 kB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4446, allocations: 0 / 492.8 MB, free: 148 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003504/0.445, allocations: 82.95 kB / 492.9 MB, free: 72 kB / 346.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]) * 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.001114/0.4461, allocations: 1.043 MB / 493.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004066/0.4465, allocations: 237.5 kB / 494.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4465, allocations: 0 / 494.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.4467, allocations: 85.55 kB / 494.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.4469, allocations: 27.73 kB / 494.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007856/0.4477, allocations: 409.5 kB / 494.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.448, allocations: 0.7441 MB / 495.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001263/0.4481, allocations: 34.05 kB / 495.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.4483, allocations: 71.41 kB / 495.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4483, allocations: 0 / 495.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01766/0.4659, allocations: 5.151 MB / 0.489 GB, free: 8.5 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002219/0.4662, allocations: 200.2 kB / 0.4891 GB, free: 8.27 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.677/2.144, allocations: 0 / 0.4891 GB, free: 8.27 MB / 362.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