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.001136/0.001136, allocations: 172.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 205.2 MB / 219.8 MB, free: 14.26 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008068/0.0008068, allocations: 78.66 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.273e-05/3.276e-05, allocations: 4 kB / 322.5 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1027, allocations: 47.56 MB / 370.1 MB, free: 1.625 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3302/0.4329, allocations: 78.23 MB / 448.3 MB, free: 15.04 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/0.4332, allocations: 74.2 kB / 448.4 MB, free: 15 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0151/0.4483, allocations: 5.141 MB / 453.6 MB, free: 10.56 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.4483, allocations: 0 / 453.6 MB, free: 10.56 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.94e-05/0.4483, allocations: 4 kB / 453.6 MB, free: 10.56 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.00088/0.4492, allocations: 0.5176 MB / 454.1 MB, free: 10.01 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.4493, allocations: 8.031 kB / 454.1 MB, free: 10 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.553e-05/0.4494, allocations: 60.62 kB / 454.1 MB, free: 9.941 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.4496, allocations: 35.7 kB / 454.2 MB, free: 9.906 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.4499, allocations: 239.9 kB / 454.4 MB, free: 9.648 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.791e-05/0.4499, allocations: 26.7 kB / 454.4 MB, free: 9.629 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.864e-05/0.45, allocations: 22.88 kB / 454.5 MB, free: 9.613 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.4503, allocations: 162.5 kB / 454.6 MB, free: 9.484 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.4503, allocations: 0 / 454.6 MB, free: 9.484 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.4504, allocations: 3.562 kB / 454.6 MB, free: 9.484 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.4504, allocations: 4 kB / 454.6 MB, free: 9.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002159/0.4506, allocations: 109 kB / 454.7 MB, free: 9.406 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.4516, allocations: 0.6044 MB / 455.3 MB, free: 8.848 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006097/0.4523, allocations: 236.5 kB / 455.6 MB, free: 8.656 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.4524, allocations: 82.72 kB / 455.6 MB, free: 8.598 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.4524, allocations: 0 / 455.6 MB, free: 8.598 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002279/0.4527, allocations: 129.4 kB / 455.8 MB, free: 8.484 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.433e-06/0.4527, allocations: 0 / 455.8 MB, free: 8.484 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003997/0.4531, allocations: 203.9 kB / 456 MB, free: 8.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/0.4531, allocations: 63.14 kB / 456 MB, free: 8.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.4533, allocations: 180.7 kB / 456.2 MB, free: 8.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.419e-05/0.4534, allocations: 40.88 kB / 456.3 MB, free: 8.051 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.4535, allocations: 138.2 kB / 456.4 MB, free: 7.934 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.361e-05/0.4536, allocations: 74.02 kB / 456.5 MB, free: 7.871 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.562e-05/0.4536, allocations: 3.312 kB / 456.5 MB, free: 7.871 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.4538, allocations: 337.4 kB / 456.8 MB, free: 7.543 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.4539, allocations: 95.52 kB / 456.9 MB, free: 7.484 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.4541, allocations: 123.6 kB / 457 MB, free: 7.395 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.4543, allocations: 99.39 kB / 457.1 MB, free: 7.328 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4543, allocations: 0 / 457.1 MB, free: 7.328 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000479/0.4548, allocations: 299.6 kB / 457.4 MB, free: 7.102 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.4548, allocations: 4 kB / 457.4 MB, free: 7.098 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.4548, allocations: 4 kB / 457.4 MB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.4549, allocations: 0 / 457.4 MB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003185/0.4552, allocations: 79.91 kB / 457.5 MB, free: 7.016 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.4552, allocations: 7.984 kB / 457.5 MB, free: 7.008 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.4554, allocations: 49.86 kB / 457.5 MB, free: 6.965 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.4554, allocations: 19.23 kB / 457.6 MB, free: 6.949 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.0001203/0.4556, allocations: 119.7 kB / 457.7 MB, free: 6.832 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.4556, allocations: 19.77 kB / 457.7 MB, free: 6.812 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.084e-05/0.4557, allocations: 23.52 kB / 457.7 MB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.4557, allocations: 0 / 457.7 MB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4557, allocations: 0 / 457.7 MB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4557, allocations: 4 kB / 457.7 MB, free: 6.789 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008163/0.4565, allocations: 0.5912 MB / 458.3 MB, free: 6.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4565, allocations: 0 / 458.3 MB, free: 6.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002797/0.4568, allocations: 55.95 kB / 458.4 MB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.4568, allocations: 0 / 458.4 MB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.4569, allocations: 3.312 kB / 458.4 MB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.4569, allocations: 4 kB / 458.4 MB, free: 6.172 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4569, allocations: 3.938 kB / 458.4 MB, free: 6.168 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005182/0.4574, allocations: 384.3 kB / 458.8 MB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.578e-05/0.4575, allocations: 108.9 kB / 458.9 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.4575, allocations: 8 kB / 458.9 MB, free: 5.707 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.4577, allocations: 24.09 kB / 458.9 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/0.4578, allocations: 19.98 kB / 458.9 MB, free: 5.664 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.4578, allocations: 7.984 kB / 458.9 MB, free: 5.656 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001257/0.458, allocations: 151.2 kB / 459.1 MB, free: 5.508 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.458, allocations: 0 / 459.1 MB, free: 5.508 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003932/0.4584, allocations: 87.83 kB / 459.1 MB, free: 5.422 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.001243/0.4596, allocations: 1.041 MB / 460.2 MB, free: 4.363 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004438/0.4601, allocations: 242.1 kB / 460.4 MB, free: 4.121 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4601, allocations: 0 / 460.4 MB, free: 4.121 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.4602, allocations: 91.83 kB / 460.5 MB, free: 4.031 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.4605, allocations: 27.92 kB / 460.5 MB, free: 4.004 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008489/0.4614, allocations: 419.1 kB / 461 MB, free: 3.562 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.4617, allocations: 0.7441 MB / 461.7 MB, free: 2.789 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001294/0.4619, allocations: 42.03 kB / 461.7 MB, free: 2.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.462, allocations: 63.41 kB / 461.8 MB, free: 2.688 MB / 330.7 MB Notification: Performance of SimCode: time 3.51e-07/0.462, allocations: 0 / 461.8 MB, free: 2.688 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01723/0.4792, allocations: 5.189 MB / 467 MB, free: 13.49 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/0.4795, allocations: 203.9 kB / 467.2 MB, free: 13.27 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.784/2.264, allocations: 0 / 467.2 MB, free: 13.27 MB / 346.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