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.001087/0.001087, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.237/1.237, allocations: 227.2 MB / 245 MB, free: 7.605 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008502/0.0008501, allocations: 99.81 kB / 297.3 MB, free: 6.172 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002011/0.000201, allocations: 4 kB / 358 MB, free: 9.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2054, allocations: 51.48 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0862/0.2916, allocations: 77.62 MB / 487.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.2919, allocations: 80.7 kB / 487.2 MB, free: 12.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007969/0.2999, allocations: 3.051 MB / 490.3 MB, free: 9.855 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2999, allocations: 0 / 490.3 MB, free: 9.855 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.2999, allocations: 3.984 kB / 490.3 MB, free: 9.852 MB / 362.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.000362/0.3003, allocations: 379 kB / 490.6 MB, free: 9.434 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.3004, allocations: 12.03 kB / 490.6 MB, free: 9.422 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.38e-05/0.3004, allocations: 38.5 kB / 490.7 MB, free: 9.375 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/0.3004, allocations: 7.906 kB / 490.7 MB, free: 9.367 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.3006, allocations: 200.9 kB / 490.9 MB, free: 9.133 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.3007, allocations: 3.953 kB / 490.9 MB, free: 9.129 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.3007, allocations: 4 kB / 490.9 MB, free: 9.125 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.301, allocations: 145 kB / 491 MB, free: 8.965 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.301, allocations: 0 / 491 MB, free: 8.965 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.301, allocations: 3.938 kB / 491 MB, free: 8.961 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.301, allocations: 12 kB / 491 MB, free: 8.949 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.498e-05/0.3011, allocations: 15.98 kB / 491.1 MB, free: 8.934 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.3014, allocations: 273.7 kB / 491.3 MB, free: 8.613 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.578e-05/0.3015, allocations: 50.45 kB / 491.4 MB, free: 8.555 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005463/0.302, allocations: 0.5817 MB / 492 MB, free: 7.844 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.302, allocations: 30.56 kB / 492 MB, free: 7.805 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.3021, allocations: 0 / 492 MB, free: 7.805 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002229/0.3023, allocations: 166.8 kB / 492.2 MB, free: 7.617 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.3023, allocations: 63.34 kB / 492.2 MB, free: 7.543 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.3024, allocations: 136.5 kB / 492.4 MB, free: 7.402 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.3025, allocations: 29.7 kB / 492.4 MB, free: 7.367 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.178e-05/0.3025, allocations: 88.33 kB / 492.5 MB, free: 7.277 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.49e-05/0.3025, allocations: 11.89 kB / 492.5 MB, free: 7.266 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.3025, allocations: 0 / 492.5 MB, free: 7.266 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.074e-05/0.3026, allocations: 322.8 kB / 492.8 MB, free: 6.941 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.038e-05/0.3026, allocations: 15.98 kB / 492.8 MB, free: 6.926 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.669e-05/0.3027, allocations: 67.22 kB / 492.9 MB, free: 6.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.573e-05/0.3028, allocations: 31.92 kB / 492.9 MB, free: 6.809 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3028, allocations: 0 / 492.9 MB, free: 6.809 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001367/0.3029, allocations: 113.4 kB / 493 MB, free: 6.691 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3029, allocations: 6.812 kB / 493 MB, free: 6.688 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3029, allocations: 4 kB / 493 MB, free: 6.684 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.3029, allocations: 0 / 493 MB, free: 6.684 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.551e-05/0.303, allocations: 20 kB / 493 MB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.303, allocations: 7.922 kB / 493.1 MB, free: 6.656 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.536e-05/0.3031, allocations: 7.938 kB / 493.1 MB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.3031, allocations: 4 kB / 493.1 MB, free: 6.645 MB / 362.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 () * Number of clocked states: 3 (uniformNoise.seedState[3],uniformNoise.seedState[2],uniformNoise.seedState[1]) * 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 9.209e-05/0.3032, allocations: 142.8 kB / 493.2 MB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.793e-05/0.3033, allocations: 65.59 kB / 493.3 MB, free: 6.426 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.3034, allocations: 90.48 kB / 493.4 MB, free: 6.332 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.3035, allocations: 4 kB / 493.4 MB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3035, allocations: 0 / 493.4 MB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3035, allocations: 0 / 493.4 MB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.27e-05/0.3036, allocations: 177.5 kB / 493.5 MB, free: 6.105 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.3036, allocations: 4 kB / 493.5 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.452e-05/0.3036, allocations: 4 kB / 493.5 MB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3036, allocations: 4 kB / 493.5 MB, free: 6.094 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.3036, allocations: 4 kB / 493.5 MB, free: 6.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3036, allocations: 192 / 493.6 MB, free: 6.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3037, allocations: 0 / 493.6 MB, free: 6.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.3038, allocations: 104.9 kB / 493.7 MB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.896e-05/0.3038, allocations: 101 kB / 493.8 MB, free: 5.852 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.3039, allocations: 4 kB / 493.8 MB, free: 5.848 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.49e-05/0.3039, allocations: 4 kB / 493.8 MB, free: 5.844 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-06/0.3039, allocations: 4 kB / 493.8 MB, free: 5.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.3039, allocations: 0 / 493.8 MB, free: 5.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.983e-05/0.304, allocations: 114.8 kB / 493.9 MB, free: 5.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.304, allocations: 0 / 493.9 MB, free: 5.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002123/0.3042, allocations: 27.94 kB / 493.9 MB, free: 5.703 MB / 362.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 () * Number of clocked states: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * 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.0004336/0.3047, allocations: 0.6715 MB / 494.6 MB, free: 5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001104/0.3048, allocations: 55.95 kB / 494.6 MB, free: 4.945 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-05/0.3048, allocations: 0 / 494.6 MB, free: 4.945 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.72e-07/0.3048, allocations: 0 / 494.6 MB, free: 4.945 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.3051, allocations: 80.66 kB / 494.7 MB, free: 4.863 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000942/0.3061, allocations: 1.491 MB / 496.2 MB, free: 3.305 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.3063, allocations: 0.7043 MB / 496.9 MB, free: 2.574 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.188e-05/0.3063, allocations: 12.66 kB / 496.9 MB, free: 2.559 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.45e-05/0.3064, allocations: 19.44 kB / 496.9 MB, free: 2.539 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.3064, allocations: 4 kB / 496.9 MB, free: 2.535 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0127/0.3191, allocations: 2.261 MB / 499.2 MB, free: 424 kB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/0.3193, allocations: 200.5 kB / 499.4 MB, free: 172 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.493/1.812, allocations: 0 / 499.4 MB, free: 172 kB / 362.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