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.001025/0.001025, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 221.5 MB / 230.3 MB, free: 7.531 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.0009192/0.0009194, allocations: 82.98 kB / 281.2 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.017e-05/2.017e-05, allocations: 4 kB / 337.1 MB, free: 9.922 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1051, allocations: 50.42 MB / 387.6 MB, free: 7.461 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3299/0.435, allocations: 78.41 MB / 466 MB, free: 388 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001694/0.4352, allocations: 67.97 kB / 466 MB, free: 320 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01444/0.4497, allocations: 5.166 MB / 471.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4497, allocations: 0 / 471.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.4497, allocations: 4 kB / 471.2 MB, free: 11.13 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.0007743/0.4505, allocations: 0.5205 MB / 471.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.4506, allocations: 12.03 kB / 471.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.4508, allocations: 35.7 kB / 471.8 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.451, allocations: 231.6 kB / 472 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.4511, allocations: 12 kB / 472 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.941e-05/0.4511, allocations: 12 kB / 472 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002015/0.4513, allocations: 88.27 kB / 472.1 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.4516, allocations: 143.3 kB / 472.3 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.4516, allocations: 0 / 472.3 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/0.4516, allocations: 11.95 kB / 472.3 MB, free: 9.988 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.4516, allocations: 3.938 kB / 472.3 MB, free: 9.984 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00091/0.4526, allocations: 0.5518 MB / 472.8 MB, free: 9.395 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005512/0.4531, allocations: 222.6 kB / 473 MB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.4533, allocations: 77.03 kB / 473.1 MB, free: 9.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.4533, allocations: 0 / 473.1 MB, free: 9.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002197/0.4535, allocations: 123.8 kB / 473.2 MB, free: 8.957 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.332e-06/0.4535, allocations: 0 / 473.2 MB, free: 8.957 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003699/0.4539, allocations: 188 kB / 473.4 MB, free: 8.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.454, allocations: 63.58 kB / 473.5 MB, free: 8.695 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.4541, allocations: 170.2 kB / 473.6 MB, free: 8.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.863e-05/0.4542, allocations: 29.7 kB / 473.7 MB, free: 8.484 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.39e-05/0.4542, allocations: 132.5 kB / 473.8 MB, free: 8.348 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.6e-05/0.4543, allocations: 67.06 kB / 473.9 MB, free: 8.281 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.647e-05/0.4543, allocations: 0 / 473.9 MB, free: 8.281 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.4545, allocations: 338.8 kB / 474.2 MB, free: 7.941 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.4546, allocations: 76 kB / 474.3 MB, free: 7.867 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.4548, allocations: 121.4 kB / 474.4 MB, free: 7.742 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.455, allocations: 97.14 kB / 474.5 MB, free: 7.645 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.455, allocations: 0 / 474.5 MB, free: 7.645 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004378/0.4555, allocations: 272 kB / 474.8 MB, free: 7.375 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.4555, allocations: 4 kB / 474.8 MB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.4555, allocations: 4 kB / 474.8 MB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.4555, allocations: 0 / 474.8 MB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/0.4558, allocations: 79.91 kB / 474.8 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.954e-06/0.4558, allocations: 4 kB / 474.8 MB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.456, allocations: 39.73 kB / 474.9 MB, free: 7.246 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.764e-05/0.4561, allocations: 15.98 kB / 474.9 MB, free: 7.23 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 0.0001281/0.4562, allocations: 124.8 kB / 475 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002796/0.4565, allocations: 188.3 kB / 475.2 MB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.4565, allocations: 15.81 kB / 475.2 MB, free: 6.898 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.88e-05/0.4566, allocations: 13.97 kB / 475.2 MB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.4566, allocations: 0 / 475.2 MB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4566, allocations: 8 kB / 475.2 MB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/0.4566, allocations: 7.938 kB / 475.2 MB, free: 6.875 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007496/0.4574, allocations: 0.5261 MB / 475.8 MB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4574, allocations: 0 / 475.8 MB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.4576, allocations: 51.95 kB / 475.8 MB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.4576, allocations: 7.938 kB / 475.8 MB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.4577, allocations: 4 kB / 475.8 MB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4577, allocations: 0 / 475.8 MB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.4577, allocations: 7.953 kB / 475.8 MB, free: 6.234 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005131/0.4582, allocations: 372.5 kB / 476.2 MB, free: 5.855 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.881e-05/0.4583, allocations: 104.8 kB / 476.3 MB, free: 5.734 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.367e-05/0.4583, allocations: 4 kB / 476.3 MB, free: 5.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.4585, allocations: 23.97 kB / 476.3 MB, free: 5.707 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.568e-05/0.4586, allocations: 20 kB / 476.4 MB, free: 5.688 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.4586, allocations: 16.05 kB / 476.4 MB, free: 5.672 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.893e-05/0.4587, allocations: 131.2 kB / 476.5 MB, free: 5.543 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4587, allocations: 0 / 476.5 MB, free: 5.543 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000381/0.4591, allocations: 75.88 kB / 476.6 MB, free: 5.469 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.001069/0.4602, allocations: 1.017 MB / 477.6 MB, free: 4.453 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003838/0.4606, allocations: 229.5 kB / 477.8 MB, free: 4.223 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4606, allocations: 0 / 477.8 MB, free: 4.223 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.4607, allocations: 75.92 kB / 477.9 MB, free: 4.148 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.461, allocations: 23.91 kB / 477.9 MB, free: 4.125 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007796/0.4618, allocations: 392.9 kB / 478.3 MB, free: 3.707 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.4621, allocations: 0.7438 MB / 479 MB, free: 2.938 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00012/0.4622, allocations: 29.8 kB / 479.1 MB, free: 2.91 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.4623, allocations: 67.39 kB / 479.1 MB, free: 2.848 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4623, allocations: 0 / 479.1 MB, free: 2.848 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.488, allocations: 4.589 MB / 483.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/0.4882, allocations: 173.8 kB / 483.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/2.321, allocations: 0 / 483.9 MB, free: 14.09 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