Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.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.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",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.0009365/0.0009368, allocations: 175.5 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.299/1.299, allocations: 221.3 MB / 235.5 MB, free: 2.973 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.0008081/0.000808, allocations: 95.8 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.792e-05/2.796e-05, allocations: 0 / 343.9 MB, free: 4.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1075, allocations: 50.41 MB / 394.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3027/0.4102, allocations: 76.76 MB / 471.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/0.4105, allocations: 83.94 kB / 471.2 MB, free: 10.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00817/0.4187, allocations: 3.033 MB / 474.2 MB, free: 7.629 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4187, allocations: 0 / 474.2 MB, free: 7.629 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.4188, allocations: 4 kB / 474.2 MB, free: 7.625 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004071/0.4192, allocations: 363 kB / 474.6 MB, free: 7.227 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.4192, allocations: 8.031 kB / 474.6 MB, free: 7.219 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.926e-05/0.4193, allocations: 42.55 kB / 474.6 MB, free: 7.168 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.4193, allocations: 11.86 kB / 474.6 MB, free: 7.156 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.4196, allocations: 190.8 kB / 474.8 MB, free: 6.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-06/0.4196, allocations: 4 kB / 474.8 MB, free: 6.926 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.4196, allocations: 4 kB / 474.8 MB, free: 6.922 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.4199, allocations: 160.9 kB / 475 MB, free: 6.746 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.4199, allocations: 0 / 475 MB, free: 6.746 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.4199, allocations: 3.953 kB / 475 MB, free: 6.742 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.4199, allocations: 0 / 475 MB, free: 6.742 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.989e-05/0.42, allocations: 23.94 kB / 475 MB, free: 6.719 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003031/0.4203, allocations: 269.7 kB / 475.3 MB, free: 6.402 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.873e-05/0.4204, allocations: 38.58 kB / 475.3 MB, free: 6.355 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.567e-05/0.4205, allocations: 29.59 kB / 475.3 MB, free: 6.324 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005345/0.421, allocations: 0.5779 MB / 475.9 MB, free: 5.617 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.421, allocations: 42.48 kB / 476 MB, free: 5.566 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.421, allocations: 0 / 476 MB, free: 5.566 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.000157/0.4212, allocations: 69.59 kB / 476 MB, free: 5.492 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.4213, allocations: 55.41 kB / 476.1 MB, free: 5.426 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.4214, allocations: 132.5 kB / 476.2 MB, free: 5.289 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.4214, allocations: 29.7 kB / 476.2 MB, free: 5.254 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.4215, allocations: 92.31 kB / 476.3 MB, free: 5.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/0.4215, allocations: 11.84 kB / 476.3 MB, free: 5.148 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-06/0.4215, allocations: 0 / 476.3 MB, free: 5.148 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.4216, allocations: 318.8 kB / 476.7 MB, free: 4.828 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.905e-05/0.4216, allocations: 16 kB / 476.7 MB, free: 4.812 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.401e-05/0.4217, allocations: 69.94 kB / 476.7 MB, free: 4.723 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.85e-05/0.4217, allocations: 31.97 kB / 476.8 MB, free: 4.691 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4217, allocations: 4 kB / 476.8 MB, free: 4.688 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001364/0.4219, allocations: 113.3 kB / 476.9 MB, free: 4.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.4219, allocations: 8 kB / 476.9 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.4219, allocations: 0 / 476.9 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.18e-05/0.422, allocations: 4 kB / 476.9 MB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.385e-05/0.422, allocations: 15.98 kB / 476.9 MB, free: 4.543 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.4221, allocations: 7.984 kB / 476.9 MB, free: 4.535 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.295e-05/0.4221, allocations: 224 / 476.9 MB, free: 4.535 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.4221, allocations: 8 kB / 476.9 MB, free: 4.527 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[1],$CLKPRE.uniformNoise.seedState[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 7.278e-05/0.4222, allocations: 117.9 kB / 477 MB, free: 4.406 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.928e-05/0.4223, allocations: 73.45 kB / 477.1 MB, free: 4.328 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.4225, allocations: 90.23 kB / 477.2 MB, free: 4.234 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.4225, allocations: 0 / 477.2 MB, free: 4.234 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.4225, allocations: 4 kB / 477.2 MB, free: 4.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.4225, allocations: 4.125 kB / 477.2 MB, free: 4.227 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.4226, allocations: 181.5 kB / 477.4 MB, free: 4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.4226, allocations: 4 kB / 477.4 MB, free: 3.996 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.624e-05/0.4226, allocations: 7.984 kB / 477.4 MB, free: 3.988 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.4227, allocations: 0 / 477.4 MB, free: 3.988 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.4227, allocations: 3.953 kB / 477.4 MB, free: 3.984 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.4227, allocations: 4 kB / 477.4 MB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4227, allocations: 0 / 477.4 MB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.4228, allocations: 93.03 kB / 477.5 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.599e-05/0.4229, allocations: 97 kB / 477.6 MB, free: 3.758 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.4229, allocations: 7.984 kB / 477.6 MB, free: 3.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.602e-05/0.423, allocations: 7.953 kB / 477.6 MB, free: 3.742 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-06/0.423, allocations: 0 / 477.6 MB, free: 3.742 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.423, allocations: 0 / 477.6 MB, free: 3.742 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.425e-05/0.4231, allocations: 119 kB / 477.7 MB, free: 3.629 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4231, allocations: 3.938 kB / 477.7 MB, free: 3.625 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001975/0.4233, allocations: 24 kB / 477.8 MB, free: 3.602 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.000446/0.4237, allocations: 0.671 MB / 478.4 MB, free: 2.902 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001235/0.4239, allocations: 47.92 kB / 478.5 MB, free: 2.855 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4239, allocations: 0 / 478.5 MB, free: 2.855 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.325e-06/0.4239, allocations: 3.938 kB / 478.5 MB, free: 2.852 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.4242, allocations: 81.16 kB / 478.6 MB, free: 2.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004526/0.4247, allocations: 172.4 kB / 478.7 MB, free: 2.566 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.425, allocations: 0.7083 MB / 479.4 MB, free: 1.832 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.518e-05/0.425, allocations: 8.656 kB / 479.4 MB, free: 1.82 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.151e-05/0.4251, allocations: 19.44 kB / 479.5 MB, free: 1.801 MB / 346.7 MB Notification: Performance of SimCode: time 5.81e-07/0.4251, allocations: 0 / 479.5 MB, free: 1.801 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0119/0.437, allocations: 2.29 MB / 481.7 MB, free: 15.65 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001458/0.4372, allocations: 165.2 kB / 481.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.503/1.941, allocations: 7.938 kB / 481.9 MB, free: 15.42 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat does not exist to compare? outputFormat=mat