Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.AutomaticSeed,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_AutomaticSeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.AutomaticSeed,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_AutomaticSeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009485/0.0009482, allocations: 174.7 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 221.3 MB / 235.5 MB, free: 2.91 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008824/0.0008824, allocations: 91.86 kB / 286.5 MB, free: 220 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.73e-05/3.732e-05, allocations: 4 kB / 343.9 MB, free: 4.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1275, allocations: 50.41 MB / 394.3 MB, free: 1.75 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4169/0.5445, allocations: 77.38 MB / 471.7 MB, free: 10.08 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/0.5447, allocations: 67.97 kB / 471.8 MB, free: 10.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02217/0.5669, allocations: 8.41 MB / 480.2 MB, free: 1.555 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.567, allocations: 0 / 480.2 MB, free: 1.555 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.567, allocations: 8 kB / 480.2 MB, free: 1.547 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.0009149/0.5679, allocations: 0.601 MB / 480.8 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.568, allocations: 8.031 kB / 480.8 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.983e-05/0.5681, allocations: 54.53 kB / 480.9 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007479/0.5688, allocations: 115.5 kB / 481 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.5691, allocations: 255.9 kB / 481.2 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.5691, allocations: 16 kB / 481.2 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.198e-05/0.5692, allocations: 19.98 kB / 481.3 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003872/0.5696, allocations: 258.6 kB / 481.5 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.5696, allocations: 3.938 kB / 481.5 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.5696, allocations: 15.94 kB / 481.5 MB, free: 92 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.5696, allocations: 0 / 481.5 MB, free: 92 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002198/0.5699, allocations: 127.8 kB / 481.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.5713, allocations: 1.086 MB / 482.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004501/0.5717, allocations: 308 kB / 483 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.5719, allocations: 149.2 kB / 483.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.572, allocations: 0 / 483.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004518/0.5724, allocations: 315.3 kB / 483.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 1.603e-06/0.5724, allocations: 3.938 kB / 483.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.0007613/0.5732, allocations: 461.5 kB / 484 MB, free: 13.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/0.5733, allocations: 219.9 kB / 484.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/0.5737, allocations: 290.5 kB / 484.4 MB, free: 12.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001211/0.5738, allocations: 93.64 kB / 484.5 MB, free: 12.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.5739, allocations: 161.3 kB / 484.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.5741, allocations: 126.5 kB / 484.8 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.5741, allocations: 12 kB / 484.8 MB, free: 12.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.5743, allocations: 362.7 kB / 485.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/0.5746, allocations: 221.5 kB / 485.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004068/0.5751, allocations: 306.5 kB / 485.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004004/0.5755, allocations: 265.9 kB / 486 MB, free: 11.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5755, allocations: 0 / 486 MB, free: 11.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001001/0.5765, allocations: 0.6675 MB / 486.6 MB, free: 10.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.5765, allocations: 4 kB / 486.6 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/0.5765, allocations: 4 kB / 486.6 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.5766, allocations: 4 kB / 486.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003118/0.5769, allocations: 79.83 kB / 486.7 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.5769, allocations: 4 kB / 486.7 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.5771, allocations: 71.56 kB / 486.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.998e-05/0.5772, allocations: 35.98 kB / 486.8 MB, free: 10.52 MB / 362.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.0001991/0.5774, allocations: 181.5 kB / 487 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.694e-05/0.5775, allocations: 39.53 kB / 487 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.665e-05/0.5776, allocations: 30.83 kB / 487.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.5776, allocations: 7.938 kB / 487.1 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/0.5776, allocations: 4 kB / 487.1 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.5776, allocations: 0 / 487.1 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000396/0.578, allocations: 353.1 kB / 487.4 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.578, allocations: 3.953 kB / 487.4 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.5781, allocations: 35.97 kB / 487.5 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.5782, allocations: 4 kB / 487.5 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/0.5782, allocations: 11.98 kB / 487.5 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.5782, allocations: 4 kB / 487.5 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5782, allocations: 0 / 487.5 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006896/0.5789, allocations: 0.5596 MB / 488 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.506e-05/0.579, allocations: 116.6 kB / 488.2 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.807e-05/0.5791, allocations: 39.86 kB / 488.2 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.5792, allocations: 27.98 kB / 488.2 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.5793, allocations: 39.94 kB / 488.3 MB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.613e-05/0.5794, allocations: 23.92 kB / 488.3 MB, free: 8.898 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002043/0.5796, allocations: 214.2 kB / 488.5 MB, free: 8.691 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5796, allocations: 4 kB / 488.5 MB, free: 8.688 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004112/0.58, allocations: 115.9 kB / 488.6 MB, free: 8.574 MB / 362.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.001815/0.5819, allocations: 1.772 MB / 490.4 MB, free: 6.773 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008317/0.5827, allocations: 0.6288 MB / 491 MB, free: 6.109 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.5827, allocations: 8.312 kB / 491 MB, free: 6.102 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002501/0.583, allocations: 163.8 kB / 491.2 MB, free: 5.941 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.5832, allocations: 21.2 kB / 491.2 MB, free: 5.922 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.5842, allocations: 0.5336 MB / 491.7 MB, free: 5.336 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.5846, allocations: 0.804 MB / 492.5 MB, free: 4.504 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001178/0.5847, allocations: 46.94 kB / 492.6 MB, free: 4.457 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.5849, allocations: 111.4 kB / 492.7 MB, free: 4.348 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.5849, allocations: 4 kB / 492.7 MB, free: 4.344 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02132/0.6062, allocations: 7.555 MB / 0.4885 GB, free: 12.89 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/0.6065, allocations: 188.6 kB / 0.4887 GB, free: 12.66 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.097/2.704, allocations: 4 kB / 0.4887 GB, free: 12.66 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_AutomaticSeed_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_AutomaticSeed.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed_res.mat does not exist to compare? outputFormat=mat