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.001904/0.001904, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009095/0.0009097, allocations: 98.86 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.581e-05/2.572e-05, allocations: 7.984 kB / 343.8 MB, free: 8.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.118, allocations: 51.48 MB / 395.3 MB, free: 4.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3944/0.5124, allocations: 77.51 MB / 472.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/0.5127, allocations: 72.94 kB / 472.8 MB, free: 13.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02041/0.5331, allocations: 8.381 MB / 481.2 MB, free: 8.129 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.5331, allocations: 0 / 481.2 MB, free: 8.129 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.5331, allocations: 8 kB / 481.2 MB, free: 8.121 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001026/0.5342, allocations: 0.59 MB / 481.8 MB, free: 7.512 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.5342, allocations: 12.03 kB / 481.8 MB, free: 7.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008223/0.5351, allocations: 119.4 kB / 482 MB, free: 7.383 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.5354, allocations: 251 kB / 482.2 MB, free: 7.113 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.109e-05/0.5354, allocations: 7.984 kB / 482.2 MB, free: 7.105 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.063e-05/0.5355, allocations: 19.23 kB / 482.2 MB, free: 7.094 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001979/0.5357, allocations: 103.2 kB / 482.3 MB, free: 7.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002929/0.536, allocations: 248.5 kB / 482.6 MB, free: 6.797 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.536, allocations: 0 / 482.6 MB, free: 6.797 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/0.5361, allocations: 3.938 kB / 482.6 MB, free: 6.793 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.5361, allocations: 4 kB / 482.6 MB, free: 6.789 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.5372, allocations: 0.7899 MB / 483.4 MB, free: 6.051 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003573/0.5376, allocations: 293.4 kB / 483.7 MB, free: 5.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.5377, allocations: 136.5 kB / 483.8 MB, free: 5.652 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.5378, allocations: 8 kB / 483.8 MB, free: 5.645 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003589/0.5381, allocations: 312.7 kB / 484.1 MB, free: 5.367 MB / 346.7 MB Notification: Performance of pre-optimization done (n=48): time 2.344e-06/0.5382, allocations: 0 / 484.1 MB, free: 5.367 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.0006269/0.5388, allocations: 442.8 kB / 484.5 MB, free: 5.016 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.696e-05/0.5389, allocations: 229.8 kB / 484.8 MB, free: 4.758 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.5391, allocations: 279 kB / 485 MB, free: 4.539 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.863e-05/0.5392, allocations: 68.98 kB / 485.1 MB, free: 4.477 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.5393, allocations: 163.5 kB / 485.3 MB, free: 4.355 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.542e-05/0.5394, allocations: 119.1 kB / 485.4 MB, free: 4.262 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.5394, allocations: 0 / 485.4 MB, free: 4.262 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.128e-05/0.5395, allocations: 362.3 kB / 485.7 MB, free: 3.918 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002711/0.5398, allocations: 210.8 kB / 485.9 MB, free: 3.789 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/0.5401, allocations: 289.9 kB / 486.2 MB, free: 3.578 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004974/0.5406, allocations: 256.2 kB / 486.5 MB, free: 3.406 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.5406, allocations: 0 / 486.5 MB, free: 3.406 MB / 346.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0009227/0.5415, allocations: 0.6295 MB / 487.1 MB, free: 2.926 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.5416, allocations: 4 kB / 487.1 MB, free: 2.922 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/0.5416, allocations: 8.172 kB / 487.1 MB, free: 2.914 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.5416, allocations: 12.28 kB / 487.1 MB, free: 2.902 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/0.5419, allocations: 74.77 kB / 487.2 MB, free: 2.832 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.5419, allocations: 4 kB / 487.2 MB, free: 2.828 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.5421, allocations: 47.52 kB / 487.2 MB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.794e-05/0.5422, allocations: 39.11 kB / 487.3 MB, free: 2.75 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: 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.0001851/0.5424, allocations: 176 kB / 487.5 MB, free: 2.57 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004858/0.5429, allocations: 451.7 kB / 487.9 MB, free: 2.211 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/0.5429, allocations: 35.53 kB / 487.9 MB, free: 2.176 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.941e-05/0.543, allocations: 33.58 kB / 488 MB, free: 2.156 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.543, allocations: 4 kB / 488 MB, free: 2.152 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.543, allocations: 0 / 488 MB, free: 2.152 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.543, allocations: 4 kB / 488 MB, free: 2.148 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003019/0.5433, allocations: 300.5 kB / 488.3 MB, free: 1.859 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5434, allocations: 0 / 488.3 MB, free: 1.859 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.5435, allocations: 31.97 kB / 488.3 MB, free: 1.828 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.5435, allocations: 4 kB / 488.3 MB, free: 1.824 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.5435, allocations: 13.77 kB / 488.3 MB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.5435, allocations: 7.125 kB / 488.3 MB, free: 1.809 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.5435, allocations: 3.938 kB / 488.3 MB, free: 1.805 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004967/0.544, allocations: 0.5472 MB / 488.9 MB, free: 1.293 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-05/0.5441, allocations: 124.5 kB / 489 MB, free: 1.152 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.567e-05/0.5442, allocations: 31.16 kB / 489 MB, free: 1.129 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.5443, allocations: 27.11 kB / 489.1 MB, free: 1.105 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.474e-05/0.5445, allocations: 39.12 kB / 489.1 MB, free: 1.074 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-05/0.5445, allocations: 19.92 kB / 489.1 MB, free: 1.055 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001512/0.5446, allocations: 207.2 kB / 489.3 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5447, allocations: 0 / 489.3 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004705/0.5451, allocations: 95.83 kB / 489.4 MB, free: 0.8008 MB / 346.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.001582/0.5467, allocations: 1.751 MB / 491.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007945/0.5475, allocations: 0.6122 MB / 491.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5475, allocations: 384 / 491.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002164/0.5478, allocations: 164.5 kB / 491.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.548, allocations: 16.45 kB / 491.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.549, allocations: 0.4947 MB / 492.4 MB, free: 14.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.5494, allocations: 0.7973 MB / 493.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001282/0.5495, allocations: 50.64 kB / 493.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.5497, allocations: 113.2 kB / 493.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5497, allocations: 4 kB / 493.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02915/0.5788, allocations: 7.03 MB / 0.4887 GB, free: 6.23 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003023/0.5792, allocations: 163.3 kB / 0.4889 GB, free: 6.039 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.179/2.758, allocations: 0 / 0.4889 GB, free: 6.039 MB / 362.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