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.00112/0.00112, allocations: 198.3 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.206/1.206, allocations: 227.2 MB / 245 MB, free: 7.672 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008621/0.0008621, allocations: 95.7 kB / 297.3 MB, free: 6.219 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002034/0.0002033, allocations: 8 kB / 358 MB, free: 9.453 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1811, allocations: 51.48 MB / 409.5 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08469/0.2658, allocations: 77.7 MB / 487.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.2661, allocations: 84.73 kB / 487.3 MB, free: 12.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004396/0.2705, allocations: 1.718 MB / 489 MB, free: 11.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2705, allocations: 0 / 489 MB, free: 11.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.2706, allocations: 0 / 489 MB, free: 11.14 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003281/0.2709, allocations: 382.9 kB / 489.4 MB, free: 10.72 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.2709, allocations: 8.031 kB / 489.4 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.126e-05/0.271, allocations: 34.5 kB / 489.4 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.753e-05/0.271, allocations: 11.81 kB / 489.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.2712, allocations: 190.9 kB / 489.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.2712, allocations: 4 kB / 489.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.2712, allocations: 7.953 kB / 489.6 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.2715, allocations: 141 kB / 489.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.2715, allocations: 0 / 489.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.2715, allocations: 4 kB / 489.8 MB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.2715, allocations: 7.938 kB / 489.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.289e-05/0.2716, allocations: 12 kB / 489.8 MB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002591/0.2719, allocations: 285.6 kB / 490.1 MB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.539e-05/0.272, allocations: 46.58 kB / 490.1 MB, free: 9.855 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.272, allocations: 4.031 kB / 490.1 MB, free: 9.852 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.272, allocations: 30.56 kB / 490.2 MB, free: 9.812 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.272, allocations: 0 / 490.2 MB, free: 9.812 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002103/0.2722, allocations: 162.7 kB / 490.3 MB, free: 9.629 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.2723, allocations: 71.3 kB / 490.4 MB, free: 9.547 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.2724, allocations: 127 kB / 490.5 MB, free: 9.418 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.2724, allocations: 29.7 kB / 490.5 MB, free: 9.383 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.108e-05/0.2725, allocations: 84.14 kB / 490.6 MB, free: 9.297 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.2725, allocations: 8 kB / 490.6 MB, free: 9.289 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.2725, allocations: 0 / 490.6 MB, free: 9.289 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.8e-05/0.2726, allocations: 326.7 kB / 490.9 MB, free: 8.961 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.327e-05/0.2726, allocations: 8 kB / 490.9 MB, free: 8.953 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.228e-05/0.2727, allocations: 53.14 kB / 491 MB, free: 8.883 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.123e-05/0.2727, allocations: 27.92 kB / 491 MB, free: 8.855 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.2727, allocations: 0 / 491 MB, free: 8.855 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001216/0.2729, allocations: 97.45 kB / 491.1 MB, free: 8.754 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.2729, allocations: 4 kB / 491.1 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.2729, allocations: 4.156 kB / 491.1 MB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.2729, allocations: 0 / 491.1 MB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.523e-05/0.273, allocations: 12 kB / 491.1 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.453e-06/0.273, allocations: 7.984 kB / 491.2 MB, free: 8.727 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.449e-05/0.273, allocations: 4.125 kB / 491.2 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.2731, allocations: 8.172 kB / 491.2 MB, free: 8.715 MB / 362.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 () * Number of clocked states: 2 (uniformNoiseXorshift64star.state64[2],uniformNoiseXorshift64star.state64[1]) * 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 8.886e-05/0.2732, allocations: 140.9 kB / 491.3 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.26e-05/0.2732, allocations: 65.59 kB / 491.4 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001328/0.2734, allocations: 74.39 kB / 491.4 MB, free: 8.422 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.2734, allocations: 3.938 kB / 491.4 MB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.2734, allocations: 0 / 491.4 MB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.2734, allocations: 0 / 491.4 MB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.2735, allocations: 181.5 kB / 491.6 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.2735, allocations: 3.984 kB / 491.6 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.451e-05/0.2736, allocations: 8 kB / 491.6 MB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2736, allocations: 0 / 491.6 MB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.2736, allocations: 8 kB / 491.6 MB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2736, allocations: 0 / 491.6 MB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2736, allocations: 0 / 491.6 MB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.2737, allocations: 92.98 kB / 491.7 MB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.055e-05/0.2738, allocations: 92.98 kB / 491.8 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.2738, allocations: 8 kB / 491.8 MB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.736e-05/0.2738, allocations: 4 kB / 491.8 MB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-06/0.2738, allocations: 0 / 491.8 MB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.2739, allocations: 0 / 491.8 MB, free: 7.941 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.578e-05/0.2739, allocations: 113.8 kB / 491.9 MB, free: 7.832 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.443e-06/0.2739, allocations: 0 / 491.9 MB, free: 7.832 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002058/0.2742, allocations: 27.94 kB / 492 MB, free: 7.805 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: 2 (uniformNoiseXorshift64star.state64[1],uniformNoiseXorshift64star.state64[2]) * Number of discrete states: 0 () * Number of clocked states: 2 (uniformNoiseXorshift64star.state64[1],uniformNoiseXorshift64star.state64[2]) * 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.0005653/0.2747, allocations: 0.6825 MB / 492.7 MB, free: 7.098 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001064/0.2748, allocations: 43.91 kB / 492.7 MB, free: 7.055 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2749, allocations: 0 / 492.7 MB, free: 7.055 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.2749, allocations: 4 kB / 492.7 MB, free: 7.051 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.2751, allocations: 65.66 kB / 492.8 MB, free: 6.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009193/0.276, allocations: 1.291 MB / 494.1 MB, free: 5.621 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.2763, allocations: 0.7043 MB / 494.8 MB, free: 4.891 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.469e-05/0.2763, allocations: 8 kB / 494.8 MB, free: 4.883 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.982e-05/0.2764, allocations: 23.42 kB / 494.8 MB, free: 4.859 MB / 362.7 MB Notification: Performance of SimCode: time 3.7e-07/0.2764, allocations: 0 / 494.8 MB, free: 4.859 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01179/0.2882, allocations: 1.948 MB / 496.7 MB, free: 3.094 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/0.2884, allocations: 250.2 kB / 497 MB, free: 2.809 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.474/1.762, allocations: 0 / 497 MB, free: 2.809 MB / 362.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