Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.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.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001704/0.001704, allocations: 199.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008371/0.0008373, allocations: 99.38 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.711e-05/1.714e-05, allocations: 4 kB / 343.8 MB, free: 8.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1101, allocations: 51.47 MB / 395.3 MB, free: 4.656 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3217/0.4318, allocations: 76.89 MB / 472.2 MB, free: 14.22 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.4321, allocations: 78.64 kB / 472.2 MB, free: 14.19 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007792/0.4399, allocations: 3.021 MB / 475.3 MB, free: 12.42 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.44, allocations: 0 / 475.3 MB, free: 12.42 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.44, allocations: 7.938 kB / 475.3 MB, free: 12.41 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.0002743/0.4403, allocations: 362.5 kB / 475.6 MB, free: 12.03 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.4403, allocations: 11.5 kB / 475.6 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.4404, allocations: 8.688 kB / 475.6 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.4405, allocations: 198.1 kB / 475.8 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.4406, allocations: 4 kB / 475.8 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.4406, allocations: 7.594 kB / 475.8 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.956e-05/0.4406, allocations: 27.88 kB / 475.9 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.4408, allocations: 139.3 kB / 476 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.4409, allocations: 4 kB / 476 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.4409, allocations: 0.8125 kB / 476 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.4409, allocations: 0 / 476 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002388/0.4411, allocations: 250.7 kB / 476.3 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.404e-05/0.4412, allocations: 38 kB / 476.3 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.197e-05/0.4413, allocations: 29.5 kB / 476.3 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004031/0.4417, allocations: 0.577 MB / 476.9 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.27e-05/0.4417, allocations: 30.56 kB / 476.9 MB, free: 10.59 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.4417, allocations: 0 / 476.9 MB, free: 10.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001559/0.4419, allocations: 73.27 kB / 477 MB, free: 10.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.4419, allocations: 55.41 kB / 477.1 MB, free: 10.46 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.201e-05/0.442, allocations: 127.3 kB / 477.2 MB, free: 10.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.206e-06/0.442, allocations: 29.64 kB / 477.2 MB, free: 10.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.412e-05/0.442, allocations: 85.48 kB / 477.3 MB, free: 10.22 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.516e-05/0.4421, allocations: 12.72 kB / 477.3 MB, free: 10.21 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/0.4421, allocations: 0 / 477.3 MB, free: 10.21 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.938e-05/0.4421, allocations: 321.2 kB / 477.6 MB, free: 9.898 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.566e-05/0.4422, allocations: 17.44 kB / 477.6 MB, free: 9.887 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.715e-05/0.4422, allocations: 63.84 kB / 477.7 MB, free: 9.816 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.75e-05/0.4422, allocations: 33.64 kB / 477.7 MB, free: 9.797 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4423, allocations: 5.875 kB / 477.7 MB, free: 9.793 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001103/0.4424, allocations: 95.44 kB / 477.8 MB, free: 9.711 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.4424, allocations: 4 kB / 477.8 MB, free: 9.707 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4424, allocations: 4 kB / 477.8 MB, free: 9.703 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.4424, allocations: 1.312 kB / 477.8 MB, free: 9.703 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.349e-05/0.4425, allocations: 18.62 kB / 477.9 MB, free: 9.688 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.4425, allocations: 0 / 477.9 MB, free: 9.688 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.324e-05/0.4425, allocations: 8.219 kB / 477.9 MB, free: 9.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.4426, allocations: 4 kB / 477.9 MB, free: 9.676 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 5.172e-05/0.4426, allocations: 118.4 kB / 478 MB, free: 9.559 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.402e-05/0.4427, allocations: 70.27 kB / 478.1 MB, free: 9.496 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.015e-05/0.4427, allocations: 7.906 kB / 478.1 MB, free: 9.488 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.4429, allocations: 85.23 kB / 478.1 MB, free: 9.422 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.4429, allocations: 1.5 kB / 478.1 MB, free: 9.422 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.4429, allocations: 7.625 kB / 478.2 MB, free: 9.418 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.4429, allocations: 4 kB / 478.2 MB, free: 9.414 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.99e-05/0.443, allocations: 158 kB / 478.3 MB, free: 9.238 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.443, allocations: 1.641 kB / 478.3 MB, free: 9.238 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.105e-05/0.443, allocations: 4 kB / 478.3 MB, free: 9.234 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.443, allocations: 0 / 478.3 MB, free: 9.234 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.443, allocations: 1.781 kB / 478.3 MB, free: 9.234 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.443, allocations: 5.594 kB / 478.3 MB, free: 9.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.443, allocations: 0 / 478.3 MB, free: 9.23 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.4432, allocations: 107 kB / 478.4 MB, free: 9.125 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.271e-05/0.4432, allocations: 93.73 kB / 478.5 MB, free: 9.023 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.4432, allocations: 4 kB / 478.5 MB, free: 9.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.155e-05/0.4433, allocations: 0 / 478.5 MB, free: 9.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.592e-06/0.4433, allocations: 1.453 kB / 478.5 MB, free: 9.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.4433, allocations: 3.312 kB / 478.5 MB, free: 9.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.398e-05/0.4433, allocations: 108.6 kB / 478.6 MB, free: 8.926 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4433, allocations: 0 / 478.6 MB, free: 8.926 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002055/0.4436, allocations: 12 kB / 478.6 MB, free: 8.914 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.0003752/0.4439, allocations: 0.674 MB / 479.3 MB, free: 8.238 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001075/0.4441, allocations: 45.5 kB / 479.4 MB, free: 8.207 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.4441, allocations: 0 / 479.4 MB, free: 8.207 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.4441, allocations: 1.875 kB / 479.4 MB, free: 8.207 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.4444, allocations: 87.64 kB / 479.5 MB, free: 8.137 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/0.4448, allocations: 158.9 kB / 479.6 MB, free: 7.973 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.4449, allocations: 0.7065 MB / 480.3 MB, free: 7.254 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.416e-05/0.445, allocations: 5.312 kB / 480.3 MB, free: 7.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.445, allocations: 19.41 kB / 480.3 MB, free: 7.238 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.445, allocations: 0 / 480.3 MB, free: 7.238 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02075/0.4658, allocations: 1.867 MB / 482.2 MB, free: 6.16 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001294/0.4659, allocations: 160.1 kB / 482.4 MB, free: 5.961 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.511/1.977, allocations: 0 / 482.4 MB, free: 5.961 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat does not exist to compare? outputFormat=mat