Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.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.UniformNoiseXorshift64star,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.001249, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 225.4 MB / 240.1 MB, free: 15.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009316/0.0009315, allocations: 94.58 kB / 292.1 MB, free: 5.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.637e-05/2.649e-05, allocations: 4 kB / 350.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09634/0.09638, allocations: 51.48 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.307/0.4034, allocations: 77.64 MB / 479.8 MB, free: 11.74 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.4037, allocations: 82.06 kB / 479.8 MB, free: 11.69 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004515/0.4083, allocations: 1.716 MB / 481.6 MB, free: 10.22 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4083, allocations: 0 / 481.6 MB, free: 10.22 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.4083, allocations: 0 / 481.6 MB, free: 10.22 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002979/0.4086, allocations: 361.1 kB / 481.9 MB, free: 9.836 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.4087, allocations: 8.031 kB / 481.9 MB, free: 9.828 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.019e-05/0.4087, allocations: 42.42 kB / 482 MB, free: 9.781 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.4088, allocations: 8.812 kB / 482 MB, free: 9.777 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.409, allocations: 183.6 kB / 482.2 MB, free: 9.562 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.409, allocations: 6.047 kB / 482.2 MB, free: 9.559 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.409, allocations: 7.938 kB / 482.2 MB, free: 9.551 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.4093, allocations: 141.5 kB / 482.3 MB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4093, allocations: 3.938 kB / 482.3 MB, free: 9.418 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-06/0.4093, allocations: 0 / 482.3 MB, free: 9.418 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.4093, allocations: 4.891 kB / 482.3 MB, free: 9.414 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.544e-05/0.4094, allocations: 11.88 kB / 482.3 MB, free: 9.406 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/0.4096, allocations: 285 kB / 482.6 MB, free: 9.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.038e-05/0.4098, allocations: 50.08 kB / 482.7 MB, free: 9.043 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.488e-05/0.4098, allocations: 20.48 kB / 482.7 MB, free: 9.023 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.4098, allocations: 3.984 kB / 482.7 MB, free: 9.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.4099, allocations: 38.59 kB / 482.7 MB, free: 8.973 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.4099, allocations: 4 kB / 482.7 MB, free: 8.969 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001525/0.41, allocations: 61.91 kB / 482.8 MB, free: 8.914 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.4101, allocations: 63.33 kB / 482.8 MB, free: 8.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.337e-05/0.4102, allocations: 125.3 kB / 483 MB, free: 8.723 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.4102, allocations: 25.7 kB / 483 MB, free: 8.691 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.198e-05/0.4102, allocations: 91.83 kB / 483.1 MB, free: 8.605 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.42e-05/0.4102, allocations: 7.891 kB / 483.1 MB, free: 8.598 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-06/0.4102, allocations: 0 / 483.1 MB, free: 8.598 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.874e-05/0.4103, allocations: 326.7 kB / 483.4 MB, free: 8.273 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.62e-05/0.4104, allocations: 15.86 kB / 483.4 MB, free: 8.262 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.202e-05/0.4104, allocations: 49.42 kB / 483.5 MB, free: 8.203 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.601e-05/0.4105, allocations: 22.92 kB / 483.5 MB, free: 8.188 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.4105, allocations: 4 kB / 483.5 MB, free: 8.184 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001127/0.4106, allocations: 88.86 kB / 483.6 MB, free: 8.102 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.4106, allocations: 9.562 kB / 483.6 MB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4106, allocations: 0.75 kB / 483.6 MB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.4106, allocations: 4 kB / 483.6 MB, free: 8.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.776e-05/0.4107, allocations: 16.12 kB / 483.6 MB, free: 8.074 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.4107, allocations: 4 kB / 483.6 MB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.81e-05/0.4108, allocations: 11.84 kB / 483.6 MB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.4108, allocations: 7.984 kB / 483.6 MB, free: 8.051 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (uniformNoiseXorshift64star.state64[2],$CLKPRE.uniformNoiseXorshift64star.state64[2],uniformNoiseXorshift64star.state64[1],$CLKPRE.uniformNoiseXorshift64star.state64[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.21e-05/0.4109, allocations: 114.6 kB / 483.7 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.795e-05/0.4109, allocations: 69.66 kB / 483.8 MB, free: 7.875 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.4111, allocations: 78.91 kB / 483.9 MB, free: 7.809 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.4111, allocations: 5.031 kB / 483.9 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.4111, allocations: 0 / 483.9 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.4111, allocations: 4 kB / 483.9 MB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.959e-05/0.4112, allocations: 174.1 kB / 484.1 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.4112, allocations: 0 / 484.1 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.584e-05/0.4112, allocations: 8 kB / 484.1 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.4113, allocations: 0 / 484.1 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.4113, allocations: 0 / 484.1 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4113, allocations: 7.922 kB / 484.1 MB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4113, allocations: 0 / 484.1 MB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.421e-05/0.4114, allocations: 97.48 kB / 484.2 MB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.294e-05/0.4114, allocations: 98.56 kB / 484.3 MB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.4115, allocations: 0 / 484.3 MB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.668e-05/0.4115, allocations: 2.906 kB / 484.3 MB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-06/0.4115, allocations: 0 / 484.3 MB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.4115, allocations: 4.812 kB / 484.3 MB, free: 7.359 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.76e-05/0.4116, allocations: 110.8 kB / 484.4 MB, free: 7.262 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4116, allocations: 3.938 kB / 484.4 MB, free: 7.258 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001979/0.4118, allocations: 19.98 kB / 484.4 MB, free: 7.238 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: 2 (uniformNoiseXorshift64star.state64[1],uniformNoiseXorshift64star.state64[2]) * 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.000403/0.4122, allocations: 0.672 MB / 485.1 MB, free: 6.562 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.627e-05/0.4123, allocations: 47.23 kB / 485.1 MB, free: 6.527 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4123, allocations: 0 / 485.1 MB, free: 6.527 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.62e-07/0.4123, allocations: 448 / 485.1 MB, free: 6.527 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.4125, allocations: 62.06 kB / 485.2 MB, free: 6.469 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003/0.4129, allocations: 157.8 kB / 485.3 MB, free: 6.289 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.413, allocations: 0.6965 MB / 486 MB, free: 5.566 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.388e-05/0.413, allocations: 4.688 kB / 486 MB, free: 5.562 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.437e-05/0.413, allocations: 23.3 kB / 486.1 MB, free: 5.547 MB / 346.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4131, allocations: 0 / 486.1 MB, free: 5.547 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01168/0.4247, allocations: 1.946 MB / 488 MB, free: 3.859 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001299/0.4249, allocations: 224.2 kB / 488.2 MB, free: 3.629 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.51/1.934, allocations: 4 kB / 488.2 MB, free: 3.625 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star_res.mat does not exist to compare? outputFormat=mat