Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.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.UniformNoiseXorshift64star,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 180.4 kB / 16.38 MB, free: 5.766 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.524/1.524, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 90.09 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002803/0.0002803, allocations: 8 kB / 351.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2454, allocations: 50.4 MB / 401.6 MB, free: 32.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08676/0.3323, allocations: 76.9 MB / 478.5 MB, free: 3.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/0.3325, allocations: 84.67 kB / 478.6 MB, free: 3.488 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004402/0.3369, allocations: 1.714 MB / 480.3 MB, free: 1.781 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3369, allocations: 3.219 kB / 480.3 MB, free: 1.781 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.3369, allocations: 4 kB / 480.3 MB, free: 1.777 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.0003578/0.3373, allocations: 371 kB / 480.7 MB, free: 1.367 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.3374, allocations: 8.031 kB / 480.7 MB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.603e-05/0.3374, allocations: 38.5 kB / 480.7 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.3374, allocations: 19.77 kB / 480.7 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.3376, allocations: 190.9 kB / 480.9 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.114e-06/0.3376, allocations: 2.344 kB / 480.9 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.799e-06/0.3377, allocations: 4 kB / 480.9 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.3379, allocations: 152.9 kB / 481.1 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.338, allocations: 0 / 481.1 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.338, allocations: 0 / 481.1 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.338, allocations: 7.953 kB / 481.1 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.198e-05/0.338, allocations: 12 kB / 481.1 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002922/0.3383, allocations: 281.7 kB / 481.4 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.194e-05/0.3384, allocations: 58.55 kB / 481.4 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.3385, allocations: 0 / 481.4 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.3385, allocations: 34.52 kB / 481.4 MB, free: 448 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.3385, allocations: 0 / 481.4 MB, free: 448 kB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002138/0.3387, allocations: 158.7 kB / 481.6 MB, free: 264 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.3388, allocations: 59.39 kB / 481.7 MB, free: 192 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.3389, allocations: 135.9 kB / 481.8 MB, free: 52 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.3389, allocations: 25.7 kB / 481.8 MB, free: 20 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.205e-05/0.339, allocations: 88.14 kB / 481.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.277e-05/0.339, allocations: 7.906 kB / 481.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/0.339, allocations: 0 / 481.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.3391, allocations: 318.8 kB / 482.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.8e-05/0.3392, allocations: 15.98 kB / 482.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.416e-05/0.3392, allocations: 49.16 kB / 482.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.815e-05/0.3393, allocations: 23.92 kB / 482.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3393, allocations: 0 / 482.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001376/0.3394, allocations: 101.6 kB / 482.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.3394, allocations: 6.812 kB / 482.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.3394, allocations: 4 kB / 482.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.3395, allocations: 0 / 482.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.191e-05/0.3395, allocations: 12 kB / 482.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.3396, allocations: 4 kB / 482.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.646e-05/0.3396, allocations: 7.984 kB / 482.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.3396, allocations: 4 kB / 482.4 MB, free: 15.36 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 0.0001011/0.3397, allocations: 128.9 kB / 482.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-05/0.3398, allocations: 73.58 kB / 482.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001479/0.34, allocations: 86.27 kB / 482.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.34, allocations: 0 / 482.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.34, allocations: 0 / 482.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.34, allocations: 0 / 482.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.3402, allocations: 177.7 kB / 482.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.3402, allocations: 7.984 kB / 482.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.683e-05/0.3402, allocations: 4 kB / 482.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3402, allocations: 0 / 482.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.3403, allocations: 7.953 kB / 482.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3403, allocations: 4 kB / 482.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3403, allocations: 0 / 482.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.3404, allocations: 89.03 kB / 483 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.898e-05/0.3405, allocations: 96.98 kB / 483.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.3405, allocations: 4 kB / 483.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.634e-05/0.3406, allocations: 3.953 kB / 483.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-06/0.3406, allocations: 0 / 483.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.3406, allocations: 0 / 483.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.351e-05/0.3407, allocations: 126.1 kB / 483.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3407, allocations: 0 / 483.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002087/0.3409, allocations: 20 kB / 483.3 MB, free: 14.44 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.0006233/0.3415, allocations: 0.677 MB / 483.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001088/0.3416, allocations: 47.91 kB / 484 MB, free: 13.69 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3417, allocations: 0 / 484 MB, free: 13.69 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.3417, allocations: 0 / 484 MB, free: 13.69 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.3419, allocations: 73.61 kB / 484 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009626/0.3429, allocations: 1.286 MB / 485.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.3432, allocations: 0.6968 MB / 486 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.737e-05/0.3432, allocations: 7.984 kB / 486 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.301e-05/0.3433, allocations: 19.42 kB / 486.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of SimCode: time 2.244e-06/0.3433, allocations: 4 kB / 486.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0122/0.3555, allocations: 1.954 MB / 488 MB, free: 9.734 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/0.3557, allocations: 248.2 kB / 488.3 MB, free: 9.406 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/2.223, allocations: 3.75 kB / 488.3 MB, free: 9.406 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star_res.mat does not exist to compare? outputFormat=mat