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.001408/0.001408, allocations: 196.4 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 225.4 MB / 240.1 MB, free: 15.19 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001137/0.001137, allocations: 89.48 kB / 292.1 MB, free: 5.922 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.049e-05/5.053e-05, allocations: 8 kB / 350.6 MB, free: 2.484 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.183, allocations: 51.48 MB / 402.1 MB, free: 14.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4017/0.5848, allocations: 78.17 MB / 480.3 MB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.5851, allocations: 71.14 kB / 480.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01898/0.6041, allocations: 8.408 MB / 488.8 MB, free: 4.055 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.6041, allocations: 0 / 488.8 MB, free: 4.055 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.6041, allocations: 8 kB / 488.8 MB, free: 4.047 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.0007723/0.6049, allocations: 0.6001 MB / 489.4 MB, free: 3.434 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.605, allocations: 8.031 kB / 489.4 MB, free: 3.426 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.52e-05/0.6051, allocations: 54.66 kB / 489.4 MB, free: 3.371 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006938/0.6058, allocations: 115.5 kB / 489.5 MB, free: 3.258 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.606, allocations: 253.3 kB / 489.8 MB, free: 2.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.606, allocations: 15.5 kB / 489.8 MB, free: 2.969 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.969e-05/0.6061, allocations: 30.77 kB / 489.8 MB, free: 2.949 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003189/0.6064, allocations: 255.9 kB / 490.1 MB, free: 2.723 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.6064, allocations: 3.938 kB / 490.1 MB, free: 2.719 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.6064, allocations: 15.48 kB / 490.1 MB, free: 2.707 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.6064, allocations: 1.781 kB / 490.1 MB, free: 2.707 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.6066, allocations: 119.5 kB / 490.2 MB, free: 2.621 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.6077, allocations: 1.078 MB / 491.3 MB, free: 1.594 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000361/0.6081, allocations: 316.8 kB / 491.6 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.6083, allocations: 148 kB / 491.8 MB, free: 1.168 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.6083, allocations: 0 / 491.8 MB, free: 1.168 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003452/0.6087, allocations: 325.9 kB / 492.1 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of pre-optimization done (n=48): time 1.483e-06/0.6087, allocations: 0 / 492.1 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.0005669/0.6092, allocations: 450.5 kB / 492.5 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.043e-05/0.6093, allocations: 223.8 kB / 492.7 MB, free: 256 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.6096, allocations: 294.5 kB / 493 MB, free: 15.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001149/0.6097, allocations: 85.66 kB / 493.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.6099, allocations: 169.3 kB / 493.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.61, allocations: 122.5 kB / 493.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.61, allocations: 16 kB / 493.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.6102, allocations: 358.8 kB / 493.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003658/0.6105, allocations: 221.5 kB / 494 MB, free: 14.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004204/0.611, allocations: 306.5 kB / 494.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003972/0.6114, allocations: 262 kB / 494.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.6114, allocations: 2.156 kB / 494.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001002/0.6124, allocations: 0.6676 MB / 495.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.6124, allocations: 4 kB / 495.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.428e-05/0.6124, allocations: 8 kB / 495.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.6125, allocations: 4 kB / 495.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.6128, allocations: 82.02 kB / 495.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.6128, allocations: 4 kB / 495.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.613, allocations: 71.44 kB / 495.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.797e-05/0.6131, allocations: 31.98 kB / 495.4 MB, free: 13.54 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.0001712/0.6133, allocations: 181.5 kB / 495.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.749e-05/0.6133, allocations: 43.53 kB / 495.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.39e-05/0.6134, allocations: 30.77 kB / 495.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.6134, allocations: 4 kB / 495.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.6134, allocations: 4 kB / 495.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.6134, allocations: 0 / 495.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003921/0.6138, allocations: 357 kB / 496 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.6139, allocations: 0 / 496 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.614, allocations: 31.97 kB / 496 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.614, allocations: 8 kB / 496 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.561e-05/0.614, allocations: 11.98 kB / 496.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.614, allocations: 4 kB / 496.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6141, allocations: 1.562 kB / 496.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000694/0.6148, allocations: 0.5664 MB / 496.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.29e-05/0.6149, allocations: 117.7 kB / 496.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.816e-05/0.6149, allocations: 37.27 kB / 496.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.6151, allocations: 27.98 kB / 496.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.6152, allocations: 43.88 kB / 496.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.6153, allocations: 19.98 kB / 496.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002015/0.6155, allocations: 214.2 kB / 497.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6155, allocations: 4 kB / 497.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004472/0.6159, allocations: 111.9 kB / 497.2 MB, free: 11.61 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.001733/0.6177, allocations: 1.765 MB / 499 MB, free: 9.832 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007924/0.6185, allocations: 0.6405 MB / 499.6 MB, free: 9.156 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6185, allocations: 384 / 499.6 MB, free: 9.156 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002502/0.6187, allocations: 168.4 kB / 499.8 MB, free: 8.992 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.6189, allocations: 17.22 kB / 499.8 MB, free: 8.977 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009609/0.6199, allocations: 0.5404 MB / 0.4886 GB, free: 8.387 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.6203, allocations: 0.8001 MB / 0.4894 GB, free: 7.555 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.6204, allocations: 45.61 kB / 0.4894 GB, free: 7.512 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.6206, allocations: 112.2 kB / 0.4895 GB, free: 7.402 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.6206, allocations: 0 / 0.4895 GB, free: 7.402 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01987/0.6405, allocations: 7.557 MB / 0.4969 GB, free: 76 kB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/0.6407, allocations: 179.9 kB / 0.4971 GB, free: 15.85 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.033/2.674, allocations: 3.938 kB / 0.4971 GB, free: 15.85 MB / 378.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