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.0009888/0.0009888, allocations: 174.4 kB / 13.63 MB, free: 1.684 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.371/1.371, allocations: 221.3 MB / 235.5 MB, free: 2.879 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008094/0.0008094, allocations: 95.8 kB / 286.5 MB, free: 160 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.78e-05/2.784e-05, allocations: 0 / 343.9 MB, free: 4.195 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1002, allocations: 50.41 MB / 394.3 MB, free: 1.742 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3148/0.415, allocations: 76.84 MB / 471.2 MB, free: 10.63 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/0.4153, allocations: 75.95 kB / 471.3 MB, free: 10.56 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004281/0.4196, allocations: 1.718 MB / 473 MB, free: 8.848 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4196, allocations: 0 / 473 MB, free: 8.848 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.4196, allocations: 0 / 473 MB, free: 8.848 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.0002885/0.4199, allocations: 363.1 kB / 473.3 MB, free: 8.449 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.4199, allocations: 8.031 kB / 473.3 MB, free: 8.441 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.518e-05/0.42, allocations: 42.55 kB / 473.4 MB, free: 8.391 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.7e-05/0.42, allocations: 11.86 kB / 473.4 MB, free: 8.379 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.4202, allocations: 188.5 kB / 473.6 MB, free: 8.156 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.4202, allocations: 4 kB / 473.6 MB, free: 8.152 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.4202, allocations: 0 / 473.6 MB, free: 8.152 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.4205, allocations: 148.9 kB / 473.7 MB, free: 7.988 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.4205, allocations: 0 / 473.7 MB, free: 7.988 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.4205, allocations: 0 / 473.7 MB, free: 7.988 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.4205, allocations: 11.94 kB / 473.7 MB, free: 7.977 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.194e-05/0.4206, allocations: 16 kB / 473.8 MB, free: 7.961 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002539/0.4209, allocations: 281.6 kB / 474 MB, free: 7.633 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.268e-05/0.421, allocations: 46.56 kB / 474.1 MB, free: 7.578 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.754e-05/0.421, allocations: 24.92 kB / 474.1 MB, free: 7.551 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.421, allocations: 0 / 474.1 MB, free: 7.551 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.4211, allocations: 34.52 kB / 474.1 MB, free: 7.508 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.4211, allocations: 0 / 474.1 MB, free: 7.508 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001448/0.4212, allocations: 73.58 kB / 474.2 MB, free: 7.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.4213, allocations: 59.39 kB / 474.3 MB, free: 7.359 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.811e-05/0.4214, allocations: 128.1 kB / 474.4 MB, free: 7.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.4214, allocations: 25.7 kB / 474.4 MB, free: 7.199 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.424e-05/0.4214, allocations: 92.14 kB / 474.5 MB, free: 7.105 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.127e-05/0.4215, allocations: 3.984 kB / 474.5 MB, free: 7.102 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/0.4215, allocations: 0 / 474.5 MB, free: 7.102 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.739e-05/0.4216, allocations: 322.8 kB / 474.8 MB, free: 6.777 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.498e-05/0.4216, allocations: 16 kB / 474.8 MB, free: 6.762 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.134e-05/0.4216, allocations: 49.14 kB / 474.9 MB, free: 6.695 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.902e-05/0.4217, allocations: 25.23 kB / 474.9 MB, free: 6.672 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4217, allocations: 3.938 kB / 474.9 MB, free: 6.668 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001257/0.4218, allocations: 93.41 kB / 475 MB, free: 6.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.4218, allocations: 8 kB / 475 MB, free: 6.562 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.4219, allocations: 3.938 kB / 475 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.4219, allocations: 0 / 475 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.404e-05/0.4219, allocations: 16 kB / 475 MB, free: 6.543 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.422, allocations: 4 kB / 475 MB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.925e-05/0.422, allocations: 16.03 kB / 475.1 MB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.422, allocations: 0 / 475.1 MB, free: 6.523 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 6.544e-05/0.4221, allocations: 116.9 kB / 475.2 MB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.361e-05/0.4222, allocations: 69.55 kB / 475.2 MB, free: 6.328 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.4223, allocations: 74.3 kB / 475.3 MB, free: 6.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.4223, allocations: 0 / 475.3 MB, free: 6.25 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4223, allocations: 4 kB / 475.3 MB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.4223, allocations: 0 / 475.3 MB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.272e-05/0.4224, allocations: 173.6 kB / 475.5 MB, free: 6.027 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.4225, allocations: 0 / 475.5 MB, free: 6.027 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.236e-05/0.4225, allocations: 7.938 kB / 475.5 MB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.4225, allocations: 4 kB / 475.5 MB, free: 6.016 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.4225, allocations: 7.953 kB / 475.5 MB, free: 6.008 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4225, allocations: 0 / 475.5 MB, free: 6.008 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4225, allocations: 0 / 475.5 MB, free: 6.008 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.4226, allocations: 93.02 kB / 475.6 MB, free: 5.898 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-05/0.4227, allocations: 97 kB / 475.7 MB, free: 5.785 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.4227, allocations: 4 kB / 475.7 MB, free: 5.781 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.882e-05/0.4228, allocations: 3.953 kB / 475.7 MB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.113e-06/0.4228, allocations: 0 / 475.7 MB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.4228, allocations: 4 kB / 475.7 MB, free: 5.773 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.683e-05/0.4229, allocations: 109.7 kB / 475.8 MB, free: 5.668 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4229, allocations: 0 / 475.8 MB, free: 5.668 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001942/0.4231, allocations: 27.92 kB / 475.8 MB, free: 5.641 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.0005266/0.4236, allocations: 0.6766 MB / 476.5 MB, free: 4.941 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.864e-05/0.4237, allocations: 40.17 kB / 476.5 MB, free: 4.902 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4237, allocations: 0 / 476.5 MB, free: 4.902 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.4237, allocations: 0 / 476.5 MB, free: 4.902 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.424, allocations: 66.19 kB / 476.6 MB, free: 4.832 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000325/0.4243, allocations: 163.7 kB / 476.8 MB, free: 4.633 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.4245, allocations: 0.7043 MB / 477.5 MB, free: 3.902 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.203e-05/0.4245, allocations: 3.938 kB / 477.5 MB, free: 3.898 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.4246, allocations: 23.42 kB / 477.5 MB, free: 3.875 MB / 346.7 MB Notification: Performance of SimCode: time 4.61e-07/0.4246, allocations: 0 / 477.5 MB, free: 3.875 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01152/0.4361, allocations: 1.944 MB / 479.4 MB, free: 2.098 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001606/0.4363, allocations: 215.8 kB / 479.7 MB, free: 1.875 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.442/1.879, allocations: 2.531 kB / 479.7 MB, free: 1.875 MB / 346.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