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.000879/0.000879, allocations: 176.1 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 221.5 MB / 230.3 MB, free: 7.574 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.0008902/0.0008902, allocations: 95.41 kB / 281.2 MB, free: 5.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.882e-05/1.906e-05, allocations: 4 kB / 337.1 MB, free: 9.938 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.107, allocations: 50.43 MB / 387.6 MB, free: 7.469 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.334/0.4411, allocations: 76.16 MB / 463.7 MB, free: 2.539 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.4414, allocations: 79.95 kB / 463.8 MB, free: 2.461 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004594/0.446, allocations: 1.708 MB / 465.5 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.446, allocations: 1.156 kB / 465.5 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.446, allocations: 3.938 kB / 465.5 MB, free: 0.7578 MB / 330.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.0003649/0.4464, allocations: 367.1 kB / 465.9 MB, free: 364 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.4464, allocations: 8.031 kB / 465.9 MB, free: 356 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.4465, allocations: 11.86 kB / 465.9 MB, free: 344 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.4467, allocations: 187 kB / 466.1 MB, free: 116 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.4467, allocations: 3.938 kB / 466.1 MB, free: 116 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.4467, allocations: 4 kB / 466.1 MB, free: 112 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.8e-05/0.4468, allocations: 23.94 kB / 466.1 MB, free: 88 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.4471, allocations: 133 kB / 466.2 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.4471, allocations: 0 / 466.2 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.4471, allocations: 0 / 466.2 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.4471, allocations: 3.953 kB / 466.2 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002874/0.4474, allocations: 250.2 kB / 466.5 MB, free: 15.65 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.943e-05/0.4475, allocations: 54.56 kB / 466.5 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.774e-05/0.4476, allocations: 20.92 kB / 466.6 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.4476, allocations: 3.984 kB / 466.6 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.4476, allocations: 30.56 kB / 466.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.4477, allocations: 0 / 466.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.00017/0.4478, allocations: 65.59 kB / 466.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.4479, allocations: 60.47 kB / 466.7 MB, free: 15.38 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.448, allocations: 132 kB / 466.8 MB, free: 15.24 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.448, allocations: 25.7 kB / 466.9 MB, free: 15.21 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/0.4481, allocations: 88.27 kB / 467 MB, free: 15.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.4481, allocations: 7.906 kB / 467 MB, free: 15.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.4481, allocations: 0 / 467 MB, free: 15.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.4482, allocations: 318.8 kB / 467.3 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.541e-05/0.4483, allocations: 12 kB / 467.3 MB, free: 14.78 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.468e-05/0.4483, allocations: 49.14 kB / 467.3 MB, free: 14.71 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.007e-05/0.4484, allocations: 19.98 kB / 467.4 MB, free: 14.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4485, allocations: 4 kB / 467.4 MB, free: 14.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001516/0.4486, allocations: 85.55 kB / 467.4 MB, free: 14.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.4486, allocations: 7.938 kB / 467.5 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.4487, allocations: 4 kB / 467.5 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.4487, allocations: 0 / 467.5 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.555e-05/0.4488, allocations: 19.94 kB / 467.5 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.578e-05/0.4488, allocations: 11.89 kB / 467.5 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.738e-05/0.4488, allocations: 3.906 kB / 467.5 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.4489, allocations: 4 kB / 467.5 MB, free: 14.55 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 8.238e-05/0.4489, allocations: 113.2 kB / 467.6 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.755e-05/0.449, allocations: 61.59 kB / 467.7 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.4491, allocations: 7.906 kB / 467.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.4492, allocations: 78.19 kB / 467.8 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.4492, allocations: 4 kB / 467.8 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4492, allocations: 0 / 467.8 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.4492, allocations: 4 kB / 467.8 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.4494, allocations: 150.2 kB / 467.9 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.4494, allocations: 0 / 467.9 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.559e-05/0.4494, allocations: 4 kB / 467.9 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4494, allocations: 4 kB / 467.9 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.4494, allocations: 0 / 467.9 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4495, allocations: 0 / 467.9 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.4495, allocations: 7.953 kB / 467.9 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.4496, allocations: 89.02 kB / 468 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.7e-05/0.4497, allocations: 93 kB / 468.1 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.4497, allocations: 4 kB / 468.1 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.831e-05/0.4497, allocations: 3.938 kB / 468.1 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-06/0.4498, allocations: 4 kB / 468.1 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.4498, allocations: 4 kB / 468.1 MB, free: 13.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.454e-05/0.4498, allocations: 109.1 kB / 468.2 MB, free: 13.74 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4499, allocations: 0 / 468.2 MB, free: 13.74 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002099/0.4501, allocations: 15.94 kB / 468.2 MB, free: 13.72 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.000645/0.4507, allocations: 0.6711 MB / 468.9 MB, free: 13.03 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.948e-05/0.4508, allocations: 35.92 kB / 468.9 MB, free: 12.99 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4508, allocations: 0 / 468.9 MB, free: 12.99 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.4509, allocations: 0 / 468.9 MB, free: 12.99 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.4511, allocations: 57.78 kB / 469 MB, free: 12.93 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000361/0.4515, allocations: 158.3 kB / 469.2 MB, free: 12.74 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.4518, allocations: 0.7041 MB / 469.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.715e-05/0.4518, allocations: 8.344 kB / 469.9 MB, free: 12 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.265e-05/0.4518, allocations: 15.44 kB / 469.9 MB, free: 11.98 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4518, allocations: 3.938 kB / 469.9 MB, free: 11.98 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.018/0.4698, allocations: 1.576 MB / 471.5 MB, free: 10.42 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/0.4701, allocations: 211.2 kB / 471.7 MB, free: 10.14 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.53/2, allocations: 0 / 471.7 MB, free: 10.14 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