Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.AutomaticSeed,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_AutomaticSeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.AutomaticSeed,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_AutomaticSeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001065/0.001065, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.21/1.21, allocations: 227.2 MB / 245 MB, free: 5.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008498/0.0008497, allocations: 106.1 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002046/0.0002046, allocations: 7.984 kB / 358 MB, free: 9.234 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1856, allocations: 51.49 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08406/0.2698, allocations: 78.26 MB / 487.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.27, allocations: 67.97 kB / 487.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0209/0.2909, allocations: 8.447 MB / 496.3 MB, free: 3.766 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.291, allocations: 8 kB / 496.3 MB, free: 3.758 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.291, allocations: 4 kB / 496.3 MB, free: 3.754 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001185/0.2922, allocations: 0.6394 MB / 496.9 MB, free: 3.062 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.2922, allocations: 12.03 kB / 496.9 MB, free: 3.051 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001062/0.2924, allocations: 58.53 kB / 497 MB, free: 2.984 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007511/0.2931, allocations: 115.5 kB / 497.1 MB, free: 2.871 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.2934, allocations: 251 kB / 497.3 MB, free: 2.586 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.706e-05/0.2934, allocations: 15.95 kB / 497.4 MB, free: 2.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.547e-05/0.2935, allocations: 23.98 kB / 497.4 MB, free: 2.547 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005031/0.294, allocations: 307.2 kB / 497.7 MB, free: 2.223 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.294, allocations: 4 kB / 497.7 MB, free: 2.219 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.2941, allocations: 0 / 497.7 MB, free: 2.219 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.2941, allocations: 4 kB / 497.7 MB, free: 2.215 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004501/0.2945, allocations: 199.8 kB / 497.9 MB, free: 2.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.2959, allocations: 1.087 MB / 499 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007746/0.2966, allocations: 428.7 kB / 499.4 MB, free: 400 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.2967, allocations: 4.062 kB / 499.4 MB, free: 396 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005312/0.2972, allocations: 375 kB / 499.8 MB, free: 15.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 2.114e-06/0.2972, allocations: 0 / 499.8 MB, free: 15.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.001456/0.2987, allocations: 1.148 MB / 0.4892 GB, free: 14.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.461e-05/0.2988, allocations: 219.8 kB / 0.4894 GB, free: 14.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/0.2991, allocations: 303.5 kB / 0.4897 GB, free: 14.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.976e-05/0.2992, allocations: 85.64 kB / 0.4897 GB, free: 14.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.2993, allocations: 161.3 kB / 0.4899 GB, free: 13.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.2994, allocations: 122.5 kB / 0.49 GB, free: 13.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.2995, allocations: 19.97 kB / 0.49 GB, free: 13.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.2996, allocations: 366.8 kB / 0.4904 GB, free: 13.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004732/0.3001, allocations: 265.4 kB / 0.4906 GB, free: 13.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000507/0.3006, allocations: 347.1 kB / 0.491 GB, free: 12.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005044/0.3011, allocations: 306.5 kB / 0.4913 GB, free: 12.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.3011, allocations: 0 / 0.4913 GB, free: 12.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001196/0.3023, allocations: 0.7526 MB / 0.492 GB, free: 11.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3024, allocations: 4 kB / 0.492 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-05/0.3024, allocations: 11.98 kB / 0.492 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3024, allocations: 4 kB / 0.492 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.3027, allocations: 79.83 kB / 0.4921 GB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.3027, allocations: 4 kB / 0.4921 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.3029, allocations: 63.48 kB / 0.4922 GB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-05/0.303, allocations: 43.86 kB / 0.4922 GB, free: 11.52 MB / 378.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: 92 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.automaticSeed3.state[1],automaticSeed3.state[1],$PRE.automaticSeed3.state[2],automaticSeed3.state[2],$PRE.automaticSeed3.state[3],automaticSeed3.state[3],$PRE.automaticSeed3.state[4],automaticSeed3.state[4],$PRE.automaticSeed3.r,automaticSeed3.r,$PRE.automaticSeed3.r_raw,automaticSeed3.r_raw,$PRE.automaticSeed2.state[1],automaticSeed2.state[1],$PRE.automaticSeed2.state[2],automaticSeed2.state[2],$PRE.automaticSeed2.state[3],automaticSeed2.state[3],$PRE.automaticSeed2.state[4],automaticSeed2.state[4],$PRE.automaticSeed2.r,automaticSeed2.r,$PRE.automaticSeed2.r_raw,automaticSeed2.r_raw,$PRE.automaticSeed1.state[1],automaticSeed1.state[1],$PRE.automaticSeed1.state[2],automaticSeed1.state[2],$PRE.automaticSeed1.state[3],automaticSeed1.state[3],$PRE.automaticSeed1.state[4],automaticSeed1.state[4],$PRE.automaticSeed1.r,automaticSeed1.r,$PRE.automaticSeed1.r_raw,automaticSeed1.r_raw,$PRE.manualSeed1.state[1],manualSeed1.state[1],$PRE.manualSeed1.state[2],manualSeed1.state[2],$PRE.manualSeed1.state[3],manualSeed1.state[3],$PRE.manualSeed1.state[4],manualSeed1.state[4],$PRE.manualSeed1.r,manualSeed1.r,$PRE.manualSeed1.r_raw,manualSeed1.r_raw,$PRE.manualSeed2.state[1],manualSeed2.state[1],$PRE.manualSeed2.state[2],manualSeed2.state[2],$PRE.manualSeed2.state[3],manualSeed2.state[3],$PRE.manualSeed2.state[4],manualSeed2.state[4],$PRE.manualSeed2.r,manualSeed2.r,$PRE.manualSeed2.r_raw,manualSeed2.r_raw,$PRE.manualSeed3.state[1],manualSeed3.state[1],$PRE.manualSeed3.state[2],manualSeed3.state[2],$PRE.manualSeed3.state[3],manualSeed3.state[3],$PRE.manualSeed3.state[4],manualSeed3.state[4],$PRE.manualSeed3.r,manualSeed3.r,$PRE.manualSeed3.r_raw,manualSeed3.r_raw,globalSeed.id_impure,automaticSeed1.localSeed,automaticSeed1.actualGlobalSeed,automaticSeed2.localSeed,automaticSeed2.actualGlobalSeed,automaticSeed3.localSeed,automaticSeed3.actualGlobalSeed,manualSeed1.localSeed,manualSeed1.actualGlobalSeed,manualSeed2.localSeed,manualSeed2.actualGlobalSeed,manualSeed3.localSeed,manualSeed3.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 68 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 6 * 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.0002082/0.3032, allocations: 214.4 kB / 0.4924 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-05/0.3033, allocations: 39.52 kB / 0.4924 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.344e-05/0.3034, allocations: 30.7 kB / 0.4925 GB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.3034, allocations: 4 kB / 0.4925 GB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.3034, allocations: 4 kB / 0.4925 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3034, allocations: 0 / 0.4925 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003513/0.3037, allocations: 349.1 kB / 0.4928 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.3038, allocations: 4 kB / 0.4928 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.3039, allocations: 31.92 kB / 0.4928 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.3039, allocations: 4 kB / 0.4928 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.3039, allocations: 11.98 kB / 0.4929 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.3039, allocations: 11.94 kB / 0.4929 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3039, allocations: 0 / 0.4929 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008816/0.3048, allocations: 0.6493 MB / 0.4935 GB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.334e-05/0.3049, allocations: 120.5 kB / 0.4936 GB, free: 9.914 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.278e-05/0.305, allocations: 35.97 kB / 0.4937 GB, free: 9.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.3052, allocations: 27.97 kB / 0.4937 GB, free: 9.852 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.999e-05/0.3052, allocations: 35.95 kB / 0.4937 GB, free: 9.816 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-05/0.3053, allocations: 19.98 kB / 0.4937 GB, free: 9.797 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001923/0.3055, allocations: 219.1 kB / 0.4939 GB, free: 9.582 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3055, allocations: 0 / 0.4939 GB, free: 9.582 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004068/0.3059, allocations: 107.9 kB / 0.494 GB, free: 9.477 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition6,manualSeed3.state[1],manualSeed3.state[2],manualSeed3.state[3],manualSeed3.state[4],manualSeed3.r,manualSeed3.r_raw,$whenCondition5,manualSeed2.state[1],manualSeed2.state[2],manualSeed2.state[3],manualSeed2.state[4],manualSeed2.r,manualSeed2.r_raw,$whenCondition4,manualSeed1.state[1],manualSeed1.state[2],manualSeed1.state[3],manualSeed1.state[4],manualSeed1.r,manualSeed1.r_raw,$whenCondition3,automaticSeed1.state[1],automaticSeed1.state[2],automaticSeed1.state[3],automaticSeed1.state[4],automaticSeed1.r,automaticSeed1.r_raw,$whenCondition2,automaticSeed2.state[1],automaticSeed2.state[2],automaticSeed2.state[3],automaticSeed2.state[4],automaticSeed2.r,automaticSeed2.r_raw,$whenCondition1,automaticSeed3.state[1],automaticSeed3.state[2],automaticSeed3.state[3],automaticSeed3.state[4],automaticSeed3.r,automaticSeed3.r_raw) * Number of discrete states: 24 (automaticSeed3.state[1],automaticSeed3.state[2],automaticSeed3.state[3],automaticSeed3.state[4],automaticSeed2.state[1],automaticSeed2.state[2],automaticSeed2.state[3],automaticSeed2.state[4],automaticSeed1.state[1],automaticSeed1.state[2],automaticSeed1.state[3],automaticSeed1.state[4],manualSeed1.state[1],manualSeed1.state[2],manualSeed1.state[3],manualSeed1.state[4],manualSeed2.state[1],manualSeed2.state[2],manualSeed2.state[3],manualSeed2.state[4],manualSeed3.state[1],manualSeed3.state[2],manualSeed3.state[3],manualSeed3.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.001961/0.3079, allocations: 1.877 MB / 0.4959 GB, free: 7.566 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009807/0.3089, allocations: 0.7181 MB / 0.4966 GB, free: 6.812 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3089, allocations: 0 / 0.4966 GB, free: 6.812 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003742/0.3093, allocations: 204.6 kB / 0.4968 GB, free: 6.613 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.3094, allocations: 27.7 kB / 0.4968 GB, free: 6.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.3109, allocations: 1.889 MB / 0.4986 GB, free: 4.609 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.3112, allocations: 0.7962 MB / 0.4994 GB, free: 3.781 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001025/0.3113, allocations: 46.94 kB / 0.4995 GB, free: 3.734 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.3115, allocations: 111.4 kB / 0.4996 GB, free: 3.625 MB / 378.7 MB Notification: Performance of SimCode: time 6.632e-06/0.3115, allocations: 0 / 0.4996 GB, free: 3.625 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1631/0.4747, allocations: 7.442 MB / 0.5068 GB, free: 96.52 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001265/0.4748, allocations: 216 kB / 0.507 GB, free: 96.28 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.993/2.468, allocations: 0 / 0.507 GB, free: 96.28 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_AutomaticSeed_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Noise_AutomaticSeed.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed_res.mat does not exist to compare? outputFormat=mat