Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.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.AutomaticSeed,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed",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.001395/0.001395, allocations: 177.5 kB / 8.696 MB, free: 388 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.565/1.565, allocations: 205.3 MB / 214.4 MB, free: 1.664 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.0007732/0.0007731, allocations: 86.22 kB / 262.4 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.143e-05/2.186e-05, allocations: 4 kB / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.105, allocations: 47.59 MB / 363.2 MB, free: 6.973 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3732/0.4783, allocations: 76.02 MB / 439.2 MB, free: 3.367 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/0.4786, allocations: 69.03 kB / 439.2 MB, free: 3.332 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02196/0.5005, allocations: 8.064 MB / 447.3 MB, free: 12.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.727e-06/0.5006, allocations: 0 / 447.3 MB, free: 12.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.5006, allocations: 7.938 kB / 447.3 MB, free: 12.38 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008653/0.5015, allocations: 0.5992 MB / 447.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.5015, allocations: 8.031 kB / 447.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007209/0.5023, allocations: 119.1 kB / 448 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.5025, allocations: 250.8 kB / 448.3 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.5025, allocations: 14.77 kB / 448.3 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.578e-05/0.5026, allocations: 12 kB / 448.3 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002012/0.5028, allocations: 108.2 kB / 448.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.5031, allocations: 245.1 kB / 448.7 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.5032, allocations: 0.75 kB / 448.7 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.5032, allocations: 8 kB / 448.7 MB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.5032, allocations: 4 kB / 448.7 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.5044, allocations: 0.7972 MB / 449.5 MB, free: 10.28 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003876/0.5048, allocations: 299.3 kB / 449.8 MB, free: 9.992 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.5049, allocations: 134.8 kB / 449.9 MB, free: 9.875 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.505, allocations: 7.375 kB / 449.9 MB, free: 9.871 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003751/0.5053, allocations: 301.2 kB / 450.2 MB, free: 9.602 MB / 330.7 MB Notification: Performance of pre-optimization done (n=48): time 1.653e-06/0.5054, allocations: 3.938 kB / 450.2 MB, free: 9.598 MB / 330.7 MB Notification: Performance of matching and sorting (n=48): time 0.0006641/0.506, allocations: 446.8 kB / 450.6 MB, free: 9.238 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/0.5062, allocations: 217 kB / 450.8 MB, free: 8.992 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.5064, allocations: 284.8 kB / 451.1 MB, free: 8.762 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.993e-05/0.5066, allocations: 68.05 kB / 451.2 MB, free: 8.699 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.5067, allocations: 158.8 kB / 451.3 MB, free: 8.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.5068, allocations: 127.4 kB / 451.5 MB, free: 8.484 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/0.5068, allocations: 0 / 451.5 MB, free: 8.484 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.507, allocations: 367.7 kB / 451.8 MB, free: 8.137 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002981/0.5073, allocations: 210.9 kB / 452 MB, free: 8.012 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003491/0.5076, allocations: 296.8 kB / 452.3 MB, free: 7.793 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005809/0.5082, allocations: 276.5 kB / 452.6 MB, free: 7.602 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.5082, allocations: 0 / 452.6 MB, free: 7.602 MB / 330.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001038/0.5093, allocations: 0.6538 MB / 453.2 MB, free: 7.098 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.5093, allocations: 4 kB / 453.3 MB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.579e-05/0.5093, allocations: 15.42 kB / 453.3 MB, free: 7.082 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.5094, allocations: 4 kB / 453.3 MB, free: 7.078 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/0.5097, allocations: 75.39 kB / 453.3 MB, free: 7.008 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.5097, allocations: 8.125 kB / 453.4 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.5099, allocations: 47.58 kB / 453.4 MB, free: 6.953 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.179e-05/0.51, allocations: 38.98 kB / 453.4 MB, free: 6.922 MB / 330.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.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,$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.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.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,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 () * 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.0001608/0.5102, allocations: 180.1 kB / 453.6 MB, free: 6.738 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005159/0.5107, allocations: 438 kB / 454 MB, free: 6.387 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.142e-05/0.5108, allocations: 38.66 kB / 454.1 MB, free: 6.352 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.129e-05/0.5108, allocations: 29.39 kB / 454.1 MB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.5108, allocations: 4 kB / 454.1 MB, free: 6.332 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.5108, allocations: 7.938 kB / 454.1 MB, free: 6.324 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.5108, allocations: 0 / 454.1 MB, free: 6.324 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003135/0.5112, allocations: 300.4 kB / 454.4 MB, free: 6.035 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5112, allocations: 0 / 454.4 MB, free: 6.035 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.5113, allocations: 39.91 kB / 454.5 MB, free: 5.996 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.5113, allocations: 4 kB / 454.5 MB, free: 5.992 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/0.5113, allocations: 7.984 kB / 454.5 MB, free: 5.984 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.5114, allocations: 4 kB / 454.5 MB, free: 5.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.5114, allocations: 0 / 454.5 MB, free: 5.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000581/0.5119, allocations: 0.5475 MB / 455 MB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.229e-05/0.512, allocations: 120.5 kB / 455.1 MB, free: 5.332 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.65e-05/0.5121, allocations: 34.84 kB / 455.2 MB, free: 5.305 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.5123, allocations: 23.97 kB / 455.2 MB, free: 5.281 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.594e-05/0.5124, allocations: 38.08 kB / 455.2 MB, free: 5.254 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/0.5124, allocations: 15.98 kB / 455.2 MB, free: 5.238 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001594/0.5126, allocations: 207.2 kB / 455.4 MB, free: 5.078 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5126, allocations: 7.938 kB / 455.5 MB, free: 5.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004105/0.513, allocations: 107.8 kB / 455.6 MB, free: 4.965 MB / 330.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,automaticSeed1.state[1],automaticSeed1.state[2],automaticSeed1.state[3],automaticSeed1.state[4],automaticSeed1.r,automaticSeed1.r_raw,$whenCondition5,automaticSeed2.state[1],automaticSeed2.state[2],automaticSeed2.state[3],automaticSeed2.state[4],automaticSeed2.r,automaticSeed2.r_raw,$whenCondition4,automaticSeed3.state[1],automaticSeed3.state[2],automaticSeed3.state[3],automaticSeed3.state[4],automaticSeed3.r,automaticSeed3.r_raw,$whenCondition3,manualSeed1.state[1],manualSeed1.state[2],manualSeed1.state[3],manualSeed1.state[4],manualSeed1.r,manualSeed1.r_raw,$whenCondition2,manualSeed2.state[1],manualSeed2.state[2],manualSeed2.state[3],manualSeed2.state[4],manualSeed2.r,manualSeed2.r_raw,$whenCondition1,manualSeed3.state[1],manualSeed3.state[2],manualSeed3.state[3],manualSeed3.state[4],manualSeed3.r,manualSeed3.r_raw) * Number of discrete states: 24 (manualSeed3.state[1],manualSeed3.state[2],manualSeed3.state[3],manualSeed3.state[4],manualSeed2.state[1],manualSeed2.state[2],manualSeed2.state[3],manualSeed2.state[4],manualSeed1.state[1],manualSeed1.state[2],manualSeed1.state[3],manualSeed1.state[4],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]) * 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.001741/0.5147, allocations: 1.763 MB / 457.3 MB, free: 3.309 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007882/0.5155, allocations: 0.6181 MB / 457.9 MB, free: 2.789 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.5156, allocations: 0 / 457.9 MB, free: 2.789 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.5158, allocations: 151.6 kB / 458.1 MB, free: 2.691 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.516, allocations: 16.22 kB / 458.1 MB, free: 2.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009391/0.5169, allocations: 0.5095 MB / 458.6 MB, free: 2.172 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.5173, allocations: 0.7959 MB / 459.4 MB, free: 1.348 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.5174, allocations: 47.25 kB / 459.5 MB, free: 1.305 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.5176, allocations: 110.1 kB / 459.6 MB, free: 1.27 MB / 330.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5176, allocations: 0 / 459.6 MB, free: 1.27 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02652/0.5441, allocations: 7.075 MB / 466.6 MB, free: 10.2 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002622/0.5444, allocations: 174.3 kB / 466.8 MB, free: 10 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.142/2.686, allocations: 0 / 466.8 MB, free: 10 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_AutomaticSeed.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.AutomaticSeed_res.mat does not exist to compare? outputFormat=mat