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.001116/0.001116, allocations: 173 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.2 MB / 219.8 MB, free: 14.26 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008354/0.0008354, allocations: 78.7 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.83e-05/2.833e-05, allocations: 4 kB / 322.5 MB, free: 17.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0946/0.09464, allocations: 47.57 MB / 370.1 MB, free: 1.629 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3377/0.4324, allocations: 76.43 MB / 446.5 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003708/0.4329, allocations: 72.14 kB / 446.6 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02193/0.4548, allocations: 8.092 MB / 454.7 MB, free: 9.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4549, allocations: 3.938 kB / 454.7 MB, free: 9.746 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.961e-05/0.4549, allocations: 8 kB / 454.7 MB, free: 9.738 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.0009545/0.4559, allocations: 0.5977 MB / 455.3 MB, free: 9.113 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.456, allocations: 8.031 kB / 455.3 MB, free: 9.105 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.099e-05/0.4561, allocations: 50.05 kB / 455.4 MB, free: 9.055 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006933/0.4568, allocations: 123.3 kB / 455.5 MB, free: 8.938 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.4571, allocations: 255.4 kB / 455.7 MB, free: 8.656 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.813e-05/0.4571, allocations: 19.56 kB / 455.8 MB, free: 8.641 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.749e-05/0.4572, allocations: 23.36 kB / 455.8 MB, free: 8.625 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004162/0.4576, allocations: 259.8 kB / 456 MB, free: 8.395 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.4576, allocations: 3.938 kB / 456 MB, free: 8.391 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/0.4576, allocations: 7.75 kB / 456.1 MB, free: 8.387 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.4577, allocations: 4 kB / 456.1 MB, free: 8.383 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002205/0.4579, allocations: 125.8 kB / 456.2 MB, free: 8.293 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.4593, allocations: 1.085 MB / 457.3 MB, free: 7.258 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000458/0.4598, allocations: 312.1 kB / 457.6 MB, free: 6.961 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.46, allocations: 147 kB / 457.7 MB, free: 6.836 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.46, allocations: 4 kB / 457.7 MB, free: 6.832 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004157/0.4604, allocations: 312.7 kB / 458 MB, free: 6.559 MB / 330.7 MB Notification: Performance of pre-optimization done (n=48): time 2.725e-06/0.4604, allocations: 3.938 kB / 458 MB, free: 6.555 MB / 330.7 MB Notification: Performance of matching and sorting (n=48): time 0.0006965/0.4611, allocations: 455.7 kB / 458.5 MB, free: 6.148 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.4613, allocations: 227.8 kB / 458.7 MB, free: 5.883 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/0.4616, allocations: 294.5 kB / 459 MB, free: 5.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.4617, allocations: 85.66 kB / 459.1 MB, free: 5.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.4618, allocations: 165.2 kB / 459.2 MB, free: 5.336 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.462, allocations: 130.5 kB / 459.4 MB, free: 5.207 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.462, allocations: 8 kB / 459.4 MB, free: 5.199 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.4622, allocations: 358.8 kB / 459.7 MB, free: 4.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003572/0.4625, allocations: 229.5 kB / 459.9 MB, free: 4.613 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004375/0.463, allocations: 314.5 kB / 460.2 MB, free: 4.285 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/0.4634, allocations: 266 kB / 460.5 MB, free: 4.027 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.4634, allocations: 0 / 460.5 MB, free: 4.027 MB / 330.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001014/0.4644, allocations: 0.6714 MB / 461.2 MB, free: 3.352 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.4644, allocations: 8 kB / 461.2 MB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.606e-05/0.4645, allocations: 4 kB / 461.2 MB, free: 3.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.4645, allocations: 7.938 kB / 461.2 MB, free: 3.332 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/0.4648, allocations: 75.83 kB / 461.3 MB, free: 3.258 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.4649, allocations: 4.188 kB / 461.3 MB, free: 3.254 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.4651, allocations: 75.41 kB / 461.3 MB, free: 3.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-05/0.4652, allocations: 32 kB / 461.4 MB, free: 3.148 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.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 () * 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.0002077/0.4654, allocations: 189.5 kB / 461.6 MB, free: 2.949 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.946e-05/0.4654, allocations: 35.53 kB / 461.6 MB, free: 2.914 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.228e-05/0.4655, allocations: 30.83 kB / 461.6 MB, free: 2.879 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.4655, allocations: 11.88 kB / 461.6 MB, free: 2.867 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.4655, allocations: 4 kB / 461.6 MB, free: 2.863 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.4656, allocations: 7.969 kB / 461.6 MB, free: 2.855 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003697/0.4659, allocations: 345.2 kB / 462 MB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4659, allocations: 0 / 462 MB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.4661, allocations: 39.97 kB / 462 MB, free: 2.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.4661, allocations: 4 kB / 462 MB, free: 2.426 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/0.4661, allocations: 11.98 kB / 462 MB, free: 2.414 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.4661, allocations: 4 kB / 462 MB, free: 2.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4661, allocations: 0 / 462 MB, free: 2.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000679/0.4668, allocations: 0.5635 MB / 462.6 MB, free: 1.777 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.349e-05/0.4669, allocations: 120.5 kB / 462.7 MB, free: 1.641 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.336e-05/0.467, allocations: 35.97 kB / 462.8 MB, free: 1.605 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.4672, allocations: 27.97 kB / 462.8 MB, free: 1.578 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.4673, allocations: 35.95 kB / 462.8 MB, free: 1.543 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.4673, allocations: 19.92 kB / 462.8 MB, free: 1.523 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001968/0.4675, allocations: 218.2 kB / 463.1 MB, free: 1.309 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4675, allocations: 0 / 463.1 MB, free: 1.309 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004363/0.468, allocations: 123.9 kB / 463.2 MB, free: 1.188 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,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]) * 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.001793/0.4698, allocations: 1.771 MB / 464.9 MB, free: 15.37 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008577/0.4707, allocations: 0.6486 MB / 465.6 MB, free: 14.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4707, allocations: 4.062 kB / 465.6 MB, free: 14.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002563/0.4709, allocations: 159.9 kB / 465.8 MB, free: 14.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.4711, allocations: 21.2 kB / 465.8 MB, free: 14.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009814/0.4721, allocations: 0.5408 MB / 466.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.4725, allocations: 0.7962 MB / 467.1 MB, free: 13.08 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000116/0.4726, allocations: 46.94 kB / 467.2 MB, free: 13.03 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.4727, allocations: 111.4 kB / 467.3 MB, free: 12.92 MB / 346.7 MB Notification: Performance of SimCode: time 4.61e-07/0.4727, allocations: 0 / 467.3 MB, free: 12.92 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02209/0.4948, allocations: 7.605 MB / 474.9 MB, free: 5.309 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002244/0.4951, allocations: 190.3 kB / 475.1 MB, free: 5.086 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.056/2.551, allocations: 4 kB / 475.1 MB, free: 5.082 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