Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 175.6 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 221.3 MB / 235.5 MB, free: 2.934 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009149/0.0009149, allocations: 93.88 kB / 286.5 MB, free: 196 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.164e-05/3.18e-05, allocations: 7.984 kB / 343.9 MB, free: 4.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1009, allocations: 50.41 MB / 394.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3382/0.4391, allocations: 79.09 MB / 473.4 MB, free: 8.406 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.4394, allocations: 77.7 kB / 473.5 MB, free: 8.332 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01492/0.4543, allocations: 5.176 MB / 478.7 MB, free: 3.148 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4544, allocations: 0 / 478.7 MB, free: 3.148 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.725e-05/0.4544, allocations: 8 kB / 478.7 MB, free: 3.141 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.0008403/0.4552, allocations: 0.5166 MB / 479.2 MB, free: 2.574 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.4553, allocations: 12.03 kB / 479.2 MB, free: 2.562 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.775e-05/0.4554, allocations: 54.45 kB / 479.3 MB, free: 2.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/0.4556, allocations: 35.7 kB / 479.3 MB, free: 2.465 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.4559, allocations: 239.6 kB / 479.5 MB, free: 2.191 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.4559, allocations: 15.94 kB / 479.6 MB, free: 2.176 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.748e-05/0.456, allocations: 20 kB / 479.6 MB, free: 2.156 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000309/0.4563, allocations: 166.6 kB / 479.7 MB, free: 1.984 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.4563, allocations: 0 / 479.7 MB, free: 1.984 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.4563, allocations: 11.95 kB / 479.8 MB, free: 1.973 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.4564, allocations: 7.938 kB / 479.8 MB, free: 1.965 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/0.4566, allocations: 108.2 kB / 479.9 MB, free: 1.859 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.4576, allocations: 0.6019 MB / 480.5 MB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006508/0.4583, allocations: 234.9 kB / 480.7 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.4584, allocations: 89.02 kB / 480.8 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.4584, allocations: 4.062 kB / 480.8 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002461/0.4587, allocations: 130.7 kB / 480.9 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.513e-06/0.4587, allocations: 0 / 480.9 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004058/0.4591, allocations: 205.5 kB / 481.1 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.4592, allocations: 59.53 kB / 481.2 MB, free: 472 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.4594, allocations: 184.1 kB / 481.4 MB, free: 284 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/0.4594, allocations: 41.7 kB / 481.4 MB, free: 236 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.299e-05/0.4595, allocations: 136.5 kB / 481.5 MB, free: 96 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.123e-05/0.4596, allocations: 67.06 kB / 481.6 MB, free: 28 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.781e-05/0.4596, allocations: 8 kB / 481.6 MB, free: 20 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.4598, allocations: 330.8 kB / 481.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.46, allocations: 87.98 kB / 482 MB, free: 15.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.4602, allocations: 121.6 kB / 482.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.4604, allocations: 105.5 kB / 482.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4605, allocations: 0 / 482.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004761/0.4609, allocations: 289.2 kB / 482.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.461, allocations: 4 kB / 482.5 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.461, allocations: 3.984 kB / 482.5 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.461, allocations: 4 kB / 482.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/0.4613, allocations: 79.88 kB / 482.6 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.4613, allocations: 0 / 482.6 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.4615, allocations: 55.66 kB / 482.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.984e-05/0.4616, allocations: 8 kB / 482.7 MB, free: 14.93 MB / 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 () * 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.0001168/0.4617, allocations: 124.9 kB / 482.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.4617, allocations: 19.8 kB / 482.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.736e-05/0.4618, allocations: 21.66 kB / 482.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4618, allocations: 4 kB / 482.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.4618, allocations: 3.953 kB / 482.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.4618, allocations: 0 / 482.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008607/0.4627, allocations: 0.5844 MB / 483.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4627, allocations: 4 kB / 483.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.463, allocations: 51.95 kB / 483.5 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.463, allocations: 4 kB / 483.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.463, allocations: 11.95 kB / 483.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.463, allocations: 3.984 kB / 483.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.463, allocations: 0 / 483.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005324/0.4636, allocations: 390.9 kB / 483.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/0.4636, allocations: 96.92 kB / 484 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.4637, allocations: 4 kB / 484 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.4639, allocations: 39.92 kB / 484 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/0.464, allocations: 15.97 kB / 484 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.464, allocations: 8 kB / 484 MB, free: 13.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001216/0.4641, allocations: 147.2 kB / 484.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4641, allocations: 0 / 484.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003705/0.4645, allocations: 83.78 kB / 484.3 MB, free: 13.23 MB / 362.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.001254/0.4658, allocations: 1.031 MB / 485.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004141/0.4662, allocations: 237.3 kB / 485.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4662, allocations: 3.938 kB / 485.5 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.4664, allocations: 79.98 kB / 485.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.4666, allocations: 35.88 kB / 485.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008021/0.4674, allocations: 417.7 kB / 486.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.4677, allocations: 0.7519 MB / 486.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000132/0.4679, allocations: 34.03 kB / 486.8 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.468, allocations: 67.41 kB / 486.9 MB, free: 10.54 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.468, allocations: 0 / 486.9 MB, free: 10.54 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01654/0.4846, allocations: 5.14 MB / 492 MB, free: 5.504 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/0.4848, allocations: 198.1 kB / 492.2 MB, free: 5.277 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.772/2.257, allocations: 0 / 492.2 MB, free: 5.277 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat does not exist to compare? outputFormat=mat