Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.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.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",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.0008986/0.0008987, allocations: 177.1 kB / 8.35 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.343/1.343, allocations: 221.5 MB / 230.3 MB, free: 7.59 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.0008758/0.0008757, allocations: 95.41 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.915e-05/1.916e-05, allocations: 4 kB / 337.1 MB, free: 9.934 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 50.42 MB / 387.6 MB, free: 7.473 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3294/0.4355, allocations: 76.09 MB / 463.7 MB, free: 2.695 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.4358, allocations: 71.95 kB / 463.7 MB, free: 2.625 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008823/0.4446, allocations: 3.027 MB / 466.7 MB, free: 15.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4447, allocations: 4 kB / 466.8 MB, free: 15.6 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.4447, allocations: 0 / 466.8 MB, free: 15.6 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004789/0.4452, allocations: 367.1 kB / 467.1 MB, free: 15.2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.4452, allocations: 12.03 kB / 467.1 MB, free: 15.19 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.198e-05/0.4453, allocations: 15.8 kB / 467.1 MB, free: 15.17 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.4455, allocations: 194.8 kB / 467.3 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.4456, allocations: 0 / 467.3 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.4456, allocations: 4 kB / 467.3 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.82e-05/0.4457, allocations: 23.98 kB / 467.4 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.446, allocations: 145 kB / 467.5 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.446, allocations: 3.953 kB / 467.5 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.446, allocations: 0 / 467.5 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.446, allocations: 0 / 467.5 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003246/0.4464, allocations: 246.3 kB / 467.7 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.794e-05/0.4465, allocations: 42.5 kB / 467.8 MB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.115e-05/0.4465, allocations: 24.86 kB / 467.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006142/0.4471, allocations: 0.5779 MB / 468.4 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.4472, allocations: 38.52 kB / 468.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.4472, allocations: 0 / 468.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001825/0.4474, allocations: 65.59 kB / 468.5 MB, free: 13.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.4474, allocations: 59.39 kB / 468.5 MB, free: 13.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.526e-05/0.4475, allocations: 122.7 kB / 468.7 MB, free: 13.37 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.4475, allocations: 29.7 kB / 468.7 MB, free: 13.33 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/0.4476, allocations: 88.89 kB / 468.8 MB, free: 13.24 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.4476, allocations: 15.83 kB / 468.8 MB, free: 13.23 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/0.4476, allocations: 0 / 468.8 MB, free: 13.23 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.921e-05/0.4477, allocations: 322.8 kB / 469.1 MB, free: 12.9 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.793e-05/0.4478, allocations: 15.98 kB / 469.1 MB, free: 12.89 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.915e-05/0.4478, allocations: 70.02 kB / 469.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.049e-05/0.4479, allocations: 21.2 kB / 469.2 MB, free: 12.78 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4479, allocations: 0 / 469.2 MB, free: 12.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001285/0.448, allocations: 101.5 kB / 469.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.448, allocations: 17.19 kB / 469.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.448, allocations: 0 / 469.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.4481, allocations: 4 kB / 469.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.364e-05/0.4482, allocations: 15.94 kB / 469.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.4482, allocations: 4 kB / 469.4 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.082e-05/0.4482, allocations: 0 / 469.4 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.4482, allocations: 8 kB / 469.4 MB, free: 12.62 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[1],$CLKPRE.uniformNoise.seedState[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.8e-05/0.4483, allocations: 119.8 kB / 469.5 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001076/0.4484, allocations: 73.52 kB / 469.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.711e-05/0.4485, allocations: 15.94 kB / 469.6 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/0.4487, allocations: 82.2 kB / 469.6 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.4487, allocations: 4 kB / 469.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4487, allocations: 0 / 469.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.4487, allocations: 0 / 469.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.4488, allocations: 158.1 kB / 469.8 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.4488, allocations: 0 / 469.8 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.243e-05/0.4488, allocations: 8 kB / 469.8 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.4489, allocations: 7.953 kB / 469.8 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.4489, allocations: 0 / 469.8 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.4489, allocations: 0 / 469.8 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.4489, allocations: 3.938 kB / 469.8 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.449, allocations: 93.02 kB / 469.9 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.262e-05/0.4491, allocations: 97 kB / 470 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.4491, allocations: 7.938 kB / 470 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.188e-05/0.4492, allocations: 0 / 470 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-06/0.4492, allocations: 4 kB / 470 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.4492, allocations: 4 kB / 470 MB, free: 11.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.914e-05/0.4493, allocations: 109.5 kB / 470.1 MB, free: 11.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4493, allocations: 0 / 470.1 MB, free: 11.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000211/0.4495, allocations: 16 kB / 470.2 MB, free: 11.75 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: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * 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.000496/0.45, allocations: 0.6709 MB / 470.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001095/0.4501, allocations: 47.92 kB / 470.9 MB, free: 11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4501, allocations: 192 / 470.9 MB, free: 11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.4501, allocations: 0 / 470.9 MB, free: 11 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.4505, allocations: 85.66 kB / 471 MB, free: 10.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004036/0.4509, allocations: 158.3 kB / 471.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.4512, allocations: 0.7084 MB / 471.8 MB, free: 9.988 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.479e-05/0.4512, allocations: 4 kB / 471.8 MB, free: 9.984 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.4513, allocations: 23.42 kB / 471.8 MB, free: 9.961 MB / 346.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4513, allocations: 0 / 471.8 MB, free: 9.961 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/0.4739, allocations: 1.884 MB / 473.7 MB, free: 8.094 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003169/0.4742, allocations: 154.8 kB / 473.9 MB, free: 7.902 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.53/2.004, allocations: 0 / 473.9 MB, free: 7.902 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat does not exist to compare? outputFormat=mat