Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 177 kB / 8.699 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008501/0.0008501, allocations: 86.22 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.733e-05/1.737e-05, allocations: 4 kB / 315.6 MB, free: 22.63 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08178/0.08182, allocations: 47.58 MB / 363.2 MB, free: 6.984 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3019/0.3838, allocations: 75.64 MB / 438.8 MB, free: 3.68 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.384, allocations: 68.22 kB / 438.9 MB, free: 3.645 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01096/0.395, allocations: 4.111 MB / 443 MB, free: 132 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.395, allocations: 0 / 443 MB, free: 132 kB / 314.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.395, allocations: 0 / 443 MB, free: 132 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005367/0.3956, allocations: 441.9 kB / 443.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.3956, allocations: 11.97 kB / 443.4 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002767/0.3959, allocations: 39.78 kB / 443.5 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.3961, allocations: 194.3 kB / 443.7 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.3961, allocations: 4 kB / 443.7 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.3962, allocations: 7.953 kB / 443.7 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.333e-05/0.3963, allocations: 42.92 kB / 443.7 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.3964, allocations: 102.6 kB / 443.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.3964, allocations: 0 / 443.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.3964, allocations: 0 / 443.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3965, allocations: 0 / 443.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005743/0.397, allocations: 359.5 kB / 444.2 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.3972, allocations: 102.1 kB / 444.3 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.613e-05/0.3973, allocations: 40.59 kB / 444.3 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.3973, allocations: 4 kB / 444.3 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.3975, allocations: 134.2 kB / 444.4 MB, free: 14.63 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.253e-06/0.3975, allocations: 0 / 444.4 MB, free: 14.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002873/0.3978, allocations: 162.9 kB / 444.6 MB, free: 14.49 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.3978, allocations: 92.91 kB / 444.7 MB, free: 14.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.398, allocations: 162.1 kB / 444.8 MB, free: 14.24 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.325e-05/0.398, allocations: 45.31 kB / 444.9 MB, free: 14.2 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.289e-05/0.3981, allocations: 106.7 kB / 445 MB, free: 14.1 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.3981, allocations: 34.8 kB / 445 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.145e-05/0.3982, allocations: 0 / 445 MB, free: 14.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.3983, allocations: 324.8 kB / 445.3 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.3984, allocations: 71.94 kB / 445.4 MB, free: 13.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.3985, allocations: 104.3 kB / 445.5 MB, free: 13.62 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.3988, allocations: 96.25 kB / 445.6 MB, free: 13.55 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3988, allocations: 0 / 445.6 MB, free: 13.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004143/0.3992, allocations: 248.2 kB / 445.9 MB, free: 13.36 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3993, allocations: 4 kB / 445.9 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.3993, allocations: 4 kB / 445.9 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3993, allocations: 0 / 445.9 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.3995, allocations: 39.28 kB / 445.9 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3995, allocations: 8.062 kB / 445.9 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.716e-05/0.3996, allocations: 15.81 kB / 445.9 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.3996, allocations: 8 kB / 445.9 MB, free: 13.29 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,$PRE.uniformNoise2.state[1],uniformNoise2.state[1],$PRE.uniformNoise2.state[2],uniformNoise2.state[2],$PRE.uniformNoise2.state[3],uniformNoise2.state[3],$PRE.uniformNoise2.state[4],uniformNoise2.state[4],$PRE.uniformNoise2.r,uniformNoise2.r,$PRE.uniformNoise2.r_raw,uniformNoise2.r_raw,$PRE.uniformNoise1.state[1],uniformNoise1.state[1],$PRE.uniformNoise1.state[2],uniformNoise1.state[2],$PRE.uniformNoise1.state[3],uniformNoise1.state[3],$PRE.uniformNoise1.state[4],uniformNoise1.state[4],$PRE.uniformNoise1.r,uniformNoise1.r,$PRE.uniformNoise1.r_raw,uniformNoise1.r_raw,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0001267/0.3997, allocations: 131.4 kB / 446.1 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002158/0.4, allocations: 170.2 kB / 446.2 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.4, allocations: 11.91 kB / 446.2 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.168e-05/0.4, allocations: 13.64 kB / 446.2 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.4, allocations: 8 kB / 446.3 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4001, allocations: 0 / 446.3 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.4001, allocations: 3.938 kB / 446.3 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.4002, allocations: 184.5 kB / 446.4 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.4002, allocations: 7.953 kB / 446.4 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.038e-05/0.4003, allocations: 15.11 kB / 446.5 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.4003, allocations: 0 / 446.5 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.4003, allocations: 7.938 kB / 446.5 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4003, allocations: 0 / 446.5 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.4003, allocations: 4 kB / 446.5 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.4006, allocations: 208 kB / 446.7 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.965e-05/0.4006, allocations: 88.92 kB / 446.8 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.4006, allocations: 15.73 kB / 446.8 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.903e-05/0.4007, allocations: 4 kB / 446.8 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.4008, allocations: 19.84 kB / 446.8 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.4008, allocations: 8 kB / 446.8 MB, free: 12.4 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.601e-05/0.4009, allocations: 111.8 kB / 446.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4009, allocations: 0 / 446.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002853/0.4012, allocations: 67.23 kB / 447 MB, free: 12.24 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009551/0.4021, allocations: 0.9928 MB / 448 MB, free: 11.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002829/0.4024, allocations: 218.2 kB / 448.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4024, allocations: 0 / 448.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.914e-05/0.4025, allocations: 50.38 kB / 448.2 MB, free: 11.06 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.4026, allocations: 4 kB / 448.2 MB, free: 11.06 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005085/0.4032, allocations: 245.8 kB / 448.5 MB, free: 10.8 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.4034, allocations: 0.7119 MB / 449.2 MB, free: 10.06 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.667e-05/0.4035, allocations: 24.78 kB / 449.2 MB, free: 10.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.715e-05/0.4036, allocations: 40.55 kB / 449.3 MB, free: 10.02 MB / 330.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4036, allocations: 0 / 449.3 MB, free: 10.02 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/0.4246, allocations: 3.357 MB / 452.6 MB, free: 6.656 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/0.4248, allocations: 171.5 kB / 452.8 MB, free: 6.461 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.608/2.033, allocations: 3.938 kB / 452.8 MB, free: 6.457 MB / 330.7 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat does not exist to compare? outputFormat=mat