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.001425/0.001425, allocations: 180.6 kB / 16.38 MB, free: 5.762 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.333/1.333, allocations: 223.2 MB / 240.3 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009383/0.0009383, allocations: 91.28 kB / 291.5 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002678/0.0002678, allocations: 12 kB / 351.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2486, allocations: 50.4 MB / 401.6 MB, free: 32.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09731/0.346, allocations: 77.44 MB / 479 MB, free: 3.051 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.3463, allocations: 77.27 kB / 479.1 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02164/0.3679, allocations: 8.449 MB / 487.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.368, allocations: 4 kB / 487.6 MB, free: 10.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.368, allocations: 4 kB / 487.6 MB, free: 10.46 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.001189/0.3692, allocations: 0.6437 MB / 488.2 MB, free: 9.766 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.015e-05/0.3693, allocations: 16.02 kB / 488.2 MB, free: 9.75 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001129/0.3694, allocations: 50.55 kB / 488.3 MB, free: 9.691 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007595/0.3702, allocations: 115.4 kB / 488.4 MB, free: 9.578 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.3704, allocations: 255 kB / 488.6 MB, free: 9.289 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.591e-05/0.3705, allocations: 16 kB / 488.6 MB, free: 9.273 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.986e-05/0.3705, allocations: 16 kB / 488.7 MB, free: 9.258 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005402/0.3711, allocations: 310.6 kB / 489 MB, free: 8.934 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3711, allocations: 0 / 489 MB, free: 8.934 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.3712, allocations: 7.953 kB / 489 MB, free: 8.926 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.3712, allocations: 0 / 489 MB, free: 8.926 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004587/0.3716, allocations: 199.8 kB / 489.2 MB, free: 8.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.373, allocations: 1.091 MB / 490.3 MB, free: 7.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007892/0.3739, allocations: 420.9 kB / 490.7 MB, free: 7.105 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.3739, allocations: 0 / 490.7 MB, free: 7.105 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005804/0.3745, allocations: 363.3 kB / 491 MB, free: 6.719 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 2.003e-06/0.3745, allocations: 3.938 kB / 491 MB, free: 6.715 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.001694/0.3762, allocations: 1.157 MB / 492.2 MB, free: 5.441 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000155/0.3764, allocations: 223.8 kB / 492.4 MB, free: 5.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003628/0.3767, allocations: 291.5 kB / 492.7 MB, free: 4.891 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001319/0.3769, allocations: 89.64 kB / 492.8 MB, free: 4.797 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.377, allocations: 161.3 kB / 492.9 MB, free: 4.633 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.3772, allocations: 126.5 kB / 493.1 MB, free: 4.508 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.3772, allocations: 15.98 kB / 493.1 MB, free: 4.492 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.3774, allocations: 362.8 kB / 493.4 MB, free: 4.129 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005117/0.3779, allocations: 261.5 kB / 493.7 MB, free: 3.871 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005476/0.3785, allocations: 351.1 kB / 494 MB, free: 3.508 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005274/0.379, allocations: 306.5 kB / 494.3 MB, free: 3.211 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.379, allocations: 7.953 kB / 494.3 MB, free: 3.203 MB / 362.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001247/0.3803, allocations: 0.7449 MB / 495.1 MB, free: 2.453 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.3803, allocations: 8 kB / 495.1 MB, free: 2.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/0.3804, allocations: 4 kB / 495.1 MB, free: 2.441 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.3804, allocations: 4.281 kB / 495.1 MB, free: 2.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/0.3807, allocations: 83.83 kB / 495.2 MB, free: 2.355 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.3807, allocations: 7.938 kB / 495.2 MB, free: 2.348 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.3809, allocations: 63.47 kB / 495.2 MB, free: 2.285 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.471e-05/0.381, allocations: 35.98 kB / 495.3 MB, free: 2.25 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 () * 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.0002726/0.3813, allocations: 222.1 kB / 495.5 MB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.287e-05/0.3814, allocations: 43.48 kB / 495.5 MB, free: 1.973 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.598e-05/0.3814, allocations: 30.7 kB / 495.6 MB, free: 1.941 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.3814, allocations: 4 kB / 495.6 MB, free: 1.938 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/0.3814, allocations: 0 / 495.6 MB, free: 1.938 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.3815, allocations: 11.92 kB / 495.6 MB, free: 1.926 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003603/0.3818, allocations: 333.2 kB / 495.9 MB, free: 1.551 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.3818, allocations: 8 kB / 495.9 MB, free: 1.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.382, allocations: 39.86 kB / 496 MB, free: 1.504 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.382, allocations: 4 kB / 496 MB, free: 1.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.382, allocations: 11.98 kB / 496 MB, free: 1.488 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.382, allocations: 0 / 496 MB, free: 1.488 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.382, allocations: 4 kB / 496 MB, free: 1.484 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009343/0.383, allocations: 0.6532 MB / 496.6 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.123e-05/0.3831, allocations: 120.5 kB / 496.7 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.817e-05/0.3832, allocations: 39.91 kB / 496.8 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.3833, allocations: 19.98 kB / 496.8 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.3834, allocations: 43.94 kB / 496.8 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.62e-05/0.3835, allocations: 15.98 kB / 496.9 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002222/0.3837, allocations: 219.1 kB / 497.1 MB, free: 304 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3837, allocations: 0 / 497.1 MB, free: 304 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004742/0.3842, allocations: 115.9 kB / 497.2 MB, free: 188 kB / 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]) * 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.002286/0.3865, allocations: 1.89 MB / 499.1 MB, free: 14.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.3875, allocations: 0.7195 MB / 499.8 MB, free: 13.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3875, allocations: 0 / 499.8 MB, free: 13.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003704/0.3879, allocations: 204.2 kB / 500 MB, free: 13.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.3881, allocations: 25.02 kB / 0.4883 GB, free: 13.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.3899, allocations: 1.889 MB / 0.4901 GB, free: 11.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.3903, allocations: 0.7923 MB / 0.4909 GB, free: 10.49 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000113/0.3904, allocations: 42.95 kB / 0.491 GB, free: 10.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.3905, allocations: 115.4 kB / 0.4911 GB, free: 10.33 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.3906, allocations: 0 / 0.4911 GB, free: 10.33 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02001/0.4106, allocations: 7.437 MB / 0.4983 GB, free: 3.039 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/0.4108, allocations: 222.8 kB / 0.4985 GB, free: 2.797 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.195/2.605, allocations: 0 / 0.4985 GB, free: 2.797 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