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.001069/0.001069, allocations: 202.8 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.461/1.461, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008913/0.0008913, allocations: 95.58 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.342e-05/2.343e-05, allocations: 4 kB / 343.8 MB, free: 8.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1108, allocations: 51.48 MB / 395.3 MB, free: 4.648 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3507/0.4615, allocations: 79.23 MB / 474.5 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/0.4618, allocations: 73.75 kB / 474.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01439/0.4762, allocations: 5.218 MB / 479.8 MB, free: 9.223 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.4763, allocations: 0.75 kB / 479.8 MB, free: 9.223 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.4763, allocations: 4 kB / 479.8 MB, free: 9.219 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.00077/0.4771, allocations: 0.5105 MB / 480.3 MB, free: 8.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.4771, allocations: 12.03 kB / 480.3 MB, free: 8.668 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.4773, allocations: 43.58 kB / 480.4 MB, free: 8.629 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.4775, allocations: 229.6 kB / 480.6 MB, free: 8.379 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.4776, allocations: 4 kB / 480.6 MB, free: 8.375 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.089e-05/0.4776, allocations: 15.88 kB / 480.6 MB, free: 8.363 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001926/0.4778, allocations: 102.1 kB / 480.7 MB, free: 8.297 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.4781, allocations: 141.5 kB / 480.8 MB, free: 8.184 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4781, allocations: 3.984 kB / 480.8 MB, free: 8.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.4781, allocations: 3.312 kB / 480.8 MB, free: 8.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.4781, allocations: 4 kB / 480.9 MB, free: 8.176 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008601/0.479, allocations: 0.5431 MB / 481.4 MB, free: 7.676 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005352/0.4795, allocations: 222.8 kB / 481.6 MB, free: 7.496 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.4796, allocations: 76.36 kB / 481.7 MB, free: 7.445 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.4797, allocations: 4.062 kB / 481.7 MB, free: 7.441 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002044/0.4799, allocations: 129.8 kB / 481.8 MB, free: 7.328 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.724e-06/0.4799, allocations: 3.938 kB / 481.8 MB, free: 7.324 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.000335/0.4802, allocations: 190.5 kB / 482 MB, free: 7.172 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.4803, allocations: 59.34 kB / 482.1 MB, free: 7.105 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.4804, allocations: 168.9 kB / 482.2 MB, free: 6.957 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.4805, allocations: 37.5 kB / 482.3 MB, free: 6.918 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.479e-05/0.4805, allocations: 126.7 kB / 482.4 MB, free: 6.801 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.334e-05/0.4806, allocations: 67.95 kB / 482.5 MB, free: 6.746 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.737e-05/0.4806, allocations: 4 kB / 482.5 MB, free: 6.742 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.242e-05/0.4807, allocations: 337.2 kB / 482.8 MB, free: 6.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.4808, allocations: 81.17 kB / 482.9 MB, free: 6.363 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.4809, allocations: 112.9 kB / 483 MB, free: 6.285 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.4812, allocations: 92.52 kB / 483.1 MB, free: 6.223 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4812, allocations: 0 / 483.1 MB, free: 6.223 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003977/0.4816, allocations: 267.8 kB / 483.3 MB, free: 6.023 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.4816, allocations: 8.031 kB / 483.3 MB, free: 6.016 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.4816, allocations: 3.984 kB / 483.3 MB, free: 6.012 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.4816, allocations: 7.953 kB / 483.4 MB, free: 6.004 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/0.4819, allocations: 71.89 kB / 483.4 MB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.4819, allocations: 0 / 483.4 MB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.4821, allocations: 47.72 kB / 483.5 MB, free: 5.887 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.473e-05/0.4822, allocations: 13.72 kB / 483.5 MB, free: 5.879 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 9.062e-05/0.4823, allocations: 117 kB / 483.6 MB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002469/0.4825, allocations: 189.3 kB / 483.8 MB, free: 5.609 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.4825, allocations: 23.77 kB / 483.8 MB, free: 5.586 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.098e-05/0.4826, allocations: 22.33 kB / 483.8 MB, free: 5.578 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4826, allocations: 0 / 483.8 MB, free: 5.578 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.4826, allocations: 4 kB / 483.8 MB, free: 5.574 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.4826, allocations: 3.938 kB / 483.8 MB, free: 5.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006772/0.4833, allocations: 0.5297 MB / 484.4 MB, free: 5.074 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4833, allocations: 3.953 kB / 484.4 MB, free: 5.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/0.4836, allocations: 51.89 kB / 484.4 MB, free: 5.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.4836, allocations: 7.984 kB / 484.4 MB, free: 5.012 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/0.4836, allocations: 7.109 kB / 484.4 MB, free: 5.008 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.4836, allocations: 0 / 484.4 MB, free: 5.008 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.4836, allocations: 4 kB / 484.4 MB, free: 5.004 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004393/0.4841, allocations: 365.4 kB / 484.8 MB, free: 4.703 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.407e-05/0.4841, allocations: 100.8 kB / 484.9 MB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.68e-05/0.4842, allocations: 7.438 kB / 484.9 MB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.4844, allocations: 27.97 kB / 484.9 MB, free: 4.555 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.55e-05/0.4845, allocations: 15.97 kB / 484.9 MB, free: 4.539 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.4845, allocations: 4 kB / 484.9 MB, free: 4.535 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000101/0.4846, allocations: 129.3 kB / 485.1 MB, free: 4.426 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4846, allocations: 0 / 485.1 MB, free: 4.426 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004415/0.4851, allocations: 79.42 kB / 485.1 MB, free: 4.352 MB / 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.001225/0.4863, allocations: 1.031 MB / 486.2 MB, free: 3.422 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004185/0.4867, allocations: 229.8 kB / 486.4 MB, free: 3.25 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4867, allocations: 0 / 486.4 MB, free: 3.25 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.4869, allocations: 77.73 kB / 486.5 MB, free: 3.195 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.4872, allocations: 22.92 kB / 486.5 MB, free: 3.18 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007688/0.4879, allocations: 386.1 kB / 486.9 MB, free: 2.809 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.4881, allocations: 0.7438 MB / 487.6 MB, free: 2.039 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001174/0.4882, allocations: 25.84 kB / 487.6 MB, free: 2.016 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.4884, allocations: 62.78 kB / 487.7 MB, free: 1.988 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4884, allocations: 4 kB / 487.7 MB, free: 1.984 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02685/0.5152, allocations: 4.582 MB / 492.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/0.5155, allocations: 178.7 kB / 492.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.788/2.304, allocations: 4 kB / 492.5 MB, free: 13.28 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