Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001468/0.001468, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 205.3 MB / 214.4 MB, free: 1.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008741/0.0008741, allocations: 91.61 kB / 262.4 MB, free: 1.605 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.142e-05/2.145e-05, allocations: 4 kB / 315.6 MB, free: 22.61 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09284/0.09288, allocations: 47.59 MB / 363.2 MB, free: 6.973 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3504/0.4433, allocations: 77.82 MB / 441 MB, free: 1.562 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000335/0.4437, allocations: 73.2 kB / 441.1 MB, free: 1.523 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0158/0.4595, allocations: 5.113 MB / 446.2 MB, free: 13.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.4596, allocations: 0 / 446.2 MB, free: 13.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.069e-05/0.4596, allocations: 4.75 kB / 446.2 MB, free: 13.18 MB / 330.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.0008965/0.4605, allocations: 0.5151 MB / 446.7 MB, free: 12.63 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.825e-05/0.4606, allocations: 12.03 kB / 446.7 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002064/0.4608, allocations: 39.7 kB / 446.7 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.4611, allocations: 240.6 kB / 447 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.4611, allocations: 8 kB / 447 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.4612, allocations: 11.95 kB / 447 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002038/0.4614, allocations: 93.5 kB / 447.1 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.4617, allocations: 151 kB / 447.2 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.4617, allocations: 3.938 kB / 447.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.4617, allocations: 0 / 447.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.4617, allocations: 4 kB / 447.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009224/0.4627, allocations: 0.5399 MB / 447.8 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005789/0.4633, allocations: 225.3 kB / 448 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.4634, allocations: 69.42 kB / 448.1 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.4634, allocations: 0 / 448.1 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002097/0.4636, allocations: 133 kB / 448.2 MB, free: 11.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.463e-06/0.4637, allocations: 0 / 448.2 MB, free: 11.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003586/0.464, allocations: 188.1 kB / 448.4 MB, free: 11.12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.4641, allocations: 59.53 kB / 448.4 MB, free: 11.05 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.4642, allocations: 178.6 kB / 448.6 MB, free: 10.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.878e-05/0.4643, allocations: 33.69 kB / 448.7 MB, free: 10.85 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.4644, allocations: 130.7 kB / 448.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.857e-05/0.4645, allocations: 69.64 kB / 448.8 MB, free: 10.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.622e-05/0.4645, allocations: 4 kB / 448.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.4646, allocations: 333.4 kB / 449.2 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.4648, allocations: 81.8 kB / 449.3 MB, free: 10.3 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.4649, allocations: 112.6 kB / 449.4 MB, free: 10.22 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.4652, allocations: 93.33 kB / 449.5 MB, free: 10.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4652, allocations: 0 / 449.5 MB, free: 10.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004525/0.4656, allocations: 273.4 kB / 449.7 MB, free: 9.949 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.4657, allocations: 12.03 kB / 449.7 MB, free: 9.938 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.4657, allocations: 0 / 449.7 MB, free: 9.938 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.4657, allocations: 3.953 kB / 449.7 MB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.466, allocations: 75.88 kB / 449.8 MB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.466, allocations: 4 kB / 449.8 MB, free: 9.855 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.4662, allocations: 39.73 kB / 449.9 MB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.4663, allocations: 19.67 kB / 449.9 MB, free: 9.801 MB / 330.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.00011/0.4664, allocations: 116.4 kB / 450 MB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002959/0.4667, allocations: 195.8 kB / 450.2 MB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.4667, allocations: 23.77 kB / 450.2 MB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.151e-05/0.4668, allocations: 14.28 kB / 450.2 MB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.4668, allocations: 4 kB / 450.2 MB, free: 9.484 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4668, allocations: 0 / 450.2 MB, free: 9.484 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.4668, allocations: 7.922 kB / 450.2 MB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007755/0.4676, allocations: 0.5317 MB / 450.8 MB, free: 8.977 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.4676, allocations: 7.953 kB / 450.8 MB, free: 8.969 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002627/0.4679, allocations: 59.31 kB / 450.8 MB, free: 8.914 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.4679, allocations: 0 / 450.8 MB, free: 8.914 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.4679, allocations: 4 kB / 450.8 MB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4679, allocations: 0 / 450.8 MB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4679, allocations: 4 kB / 450.8 MB, free: 8.906 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004761/0.4684, allocations: 369.6 kB / 451.2 MB, free: 8.602 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.311e-05/0.4685, allocations: 100.8 kB / 451.3 MB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.4685, allocations: 7.188 kB / 451.3 MB, free: 8.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.4687, allocations: 31.97 kB / 451.3 MB, free: 8.449 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/0.4688, allocations: 7.984 kB / 451.3 MB, free: 8.441 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-05/0.4688, allocations: 15.11 kB / 451.4 MB, free: 8.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001044/0.469, allocations: 128.5 kB / 451.5 MB, free: 8.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.469, allocations: 0 / 451.5 MB, free: 8.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000381/0.4693, allocations: 79.48 kB / 451.6 MB, free: 8.246 MB / 330.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.00113/0.4705, allocations: 1.026 MB / 452.6 MB, free: 7.273 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003913/0.4709, allocations: 229.3 kB / 452.8 MB, free: 7.105 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4709, allocations: 0 / 452.8 MB, free: 7.105 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.471, allocations: 76.73 kB / 452.9 MB, free: 7.051 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.4713, allocations: 22.92 kB / 452.9 MB, free: 7.035 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007679/0.4721, allocations: 396.9 kB / 453.3 MB, free: 6.648 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.4724, allocations: 0.7399 MB / 454 MB, free: 5.883 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001208/0.4726, allocations: 33.83 kB / 454.1 MB, free: 5.852 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.4727, allocations: 63.72 kB / 454.1 MB, free: 5.828 MB / 330.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4727, allocations: 0 / 454.1 MB, free: 5.828 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02559/0.4983, allocations: 4.609 MB / 458.7 MB, free: 1.215 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003708/0.4988, allocations: 183.9 kB / 458.9 MB, free: 1.02 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.711/2.21, allocations: 4 kB / 458.9 MB, free: 1.016 MB / 330.7 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.mat does not exist to compare? outputFormat=mat