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.0016/0.0016, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.473/1.473, allocations: 205.4 MB / 223.1 MB, free: 9.133 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.0008803/0.0008806, allocations: 101.4 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000259/0.0002592, allocations: 8 kB / 328.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2191, allocations: 47.58 MB / 375.9 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0821/0.3012, allocations: 76.52 MB / 452.4 MB, free: 4.145 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.3015, allocations: 67.95 kB / 452.5 MB, free: 4.078 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02136/0.3228, allocations: 8.138 MB / 460.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3229, allocations: 3.938 kB / 460.6 MB, free: 11.88 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.3229, allocations: 4 kB / 460.6 MB, free: 11.88 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.001041/0.324, allocations: 0.6509 MB / 461.3 MB, free: 11.17 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.324, allocations: 8.031 kB / 461.3 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.738e-05/0.3241, allocations: 58.47 kB / 461.4 MB, free: 11.1 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006874/0.3248, allocations: 119.4 kB / 461.5 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.3251, allocations: 251.1 kB / 461.7 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/0.3251, allocations: 19.94 kB / 461.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.99e-05/0.3252, allocations: 23.94 kB / 461.8 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005127/0.3257, allocations: 304 kB / 462.1 MB, free: 10.33 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3257, allocations: 0 / 462.1 MB, free: 10.33 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/0.3257, allocations: 8 kB / 462.1 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.3257, allocations: 0 / 462.1 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004395/0.3262, allocations: 195.8 kB / 462.3 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.3275, allocations: 1.098 MB / 463.4 MB, free: 8.965 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007503/0.3283, allocations: 419.7 kB / 463.8 MB, free: 8.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.3283, allocations: 8.062 kB / 463.8 MB, free: 8.492 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005271/0.3288, allocations: 355.9 kB / 464.1 MB, free: 8.117 MB / 346.7 MB Notification: Performance of pre-optimization done (n=48): time 1.703e-06/0.3288, allocations: 0 / 464.1 MB, free: 8.117 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.001401/0.3303, allocations: 1.156 MB / 465.3 MB, free: 6.844 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.3304, allocations: 227.8 kB / 465.5 MB, free: 6.578 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/0.3307, allocations: 295.5 kB / 465.8 MB, free: 6.281 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.259e-05/0.3308, allocations: 85.66 kB / 465.9 MB, free: 6.191 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.3309, allocations: 173.2 kB / 466 MB, free: 6.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.412e-05/0.331, allocations: 118.5 kB / 466.2 MB, free: 5.902 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.331, allocations: 16 kB / 466.2 MB, free: 5.887 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.3311, allocations: 359.3 kB / 466.5 MB, free: 5.527 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004905/0.3316, allocations: 269.5 kB / 466.8 MB, free: 5.262 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00051/0.3322, allocations: 355.1 kB / 467.1 MB, free: 4.895 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004977/0.3327, allocations: 310.5 kB / 467.4 MB, free: 4.594 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.3327, allocations: 0 / 467.4 MB, free: 4.594 MB / 346.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00118/0.3339, allocations: 0.7565 MB / 468.2 MB, free: 3.832 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.3339, allocations: 7.984 kB / 468.2 MB, free: 3.824 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.22e-05/0.3339, allocations: 4.188 kB / 468.2 MB, free: 3.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.334, allocations: 12 kB / 468.2 MB, free: 3.809 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002926/0.3343, allocations: 75.83 kB / 468.3 MB, free: 3.734 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.3343, allocations: 4 kB / 468.3 MB, free: 3.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.3345, allocations: 63.42 kB / 468.4 MB, free: 3.668 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.079e-05/0.3345, allocations: 43.94 kB / 468.4 MB, free: 3.625 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.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.0002118/0.3348, allocations: 218.3 kB / 468.6 MB, free: 3.395 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.336e-05/0.3348, allocations: 39.53 kB / 468.7 MB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.849e-05/0.3349, allocations: 30.7 kB / 468.7 MB, free: 3.324 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3349, allocations: 11.94 kB / 468.7 MB, free: 3.312 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.3349, allocations: 4 kB / 468.7 MB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3349, allocations: 0 / 468.7 MB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00032/0.3352, allocations: 349.1 kB / 469 MB, free: 2.918 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3352, allocations: 0 / 469 MB, free: 2.918 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.3354, allocations: 35.91 kB / 469.1 MB, free: 2.883 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3354, allocations: 4 kB / 469.1 MB, free: 2.879 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.623e-05/0.3354, allocations: 11.98 kB / 469.1 MB, free: 2.867 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.145e-05/0.3354, allocations: 11.98 kB / 469.1 MB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3354, allocations: 0 / 469.1 MB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008535/0.3363, allocations: 0.6424 MB / 469.7 MB, free: 2.145 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.173e-05/0.3364, allocations: 124.5 kB / 469.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.434e-05/0.3365, allocations: 35.97 kB / 469.9 MB, free: 1.969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.3366, allocations: 27.97 kB / 469.9 MB, free: 1.941 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.706e-05/0.3367, allocations: 39.94 kB / 470 MB, free: 1.902 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.974e-05/0.3368, allocations: 15.98 kB / 470 MB, free: 1.887 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001885/0.3369, allocations: 219.1 kB / 470.2 MB, free: 1.672 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.337, allocations: 0 / 470.2 MB, free: 1.672 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003955/0.3374, allocations: 115.9 kB / 470.3 MB, free: 1.559 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,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.001988/0.3394, allocations: 1.899 MB / 472.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009777/0.3403, allocations: 0.7142 MB / 472.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3404, allocations: 4 kB / 472.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003655/0.3407, allocations: 208.5 kB / 473.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.3409, allocations: 22.95 kB / 473.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.3424, allocations: 1.889 MB / 475 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.3427, allocations: 0.7962 MB / 475.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001071/0.3428, allocations: 46.94 kB / 475.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.3429, allocations: 107.4 kB / 476 MB, free: 11.69 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3429, allocations: 0 / 476 MB, free: 11.69 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.019/0.3619, allocations: 7.502 MB / 483.5 MB, free: 4.188 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002309/0.3622, allocations: 221.6 kB / 483.7 MB, free: 3.941 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.993/2.355, allocations: 0 / 483.7 MB, free: 3.941 MB / 362.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