Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.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.DrydenContinuousTurbulence,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001261/0.001261, allocations: 196.1 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.335/1.335, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007936/0.0007936, allocations: 83.91 kB / 292.1 MB, free: 5.938 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.976e-05/3.991e-05, allocations: 0 / 350.6 MB, free: 2.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09661/0.09668, allocations: 51.49 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3139/0.4106, allocations: 80.04 MB / 482.2 MB, free: 9.418 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001649/0.4108, allocations: 73.16 kB / 482.2 MB, free: 9.383 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01723/0.4281, allocations: 6.461 MB / 488.7 MB, free: 3.855 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4281, allocations: 0 / 488.7 MB, free: 3.855 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.675e-05/0.4281, allocations: 3.938 kB / 488.7 MB, free: 3.852 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000663/0.4288, allocations: 0.4922 MB / 489.2 MB, free: 3.336 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.4288, allocations: 12.03 kB / 489.2 MB, free: 3.324 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.562e-05/0.4289, allocations: 33.75 kB / 489.2 MB, free: 3.285 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.4291, allocations: 32.64 kB / 489.3 MB, free: 3.254 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.4294, allocations: 258.2 kB / 489.5 MB, free: 2.977 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.4294, allocations: 4 kB / 489.5 MB, free: 2.973 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.4294, allocations: 15.11 kB / 489.5 MB, free: 2.965 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.4296, allocations: 99.77 kB / 489.6 MB, free: 2.879 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.4296, allocations: 0 / 489.6 MB, free: 2.879 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.4296, allocations: 0 / 489.6 MB, free: 2.879 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.4297, allocations: 4 kB / 489.6 MB, free: 2.875 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.4298, allocations: 72.08 kB / 489.7 MB, free: 2.824 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006741/0.4305, allocations: 440.1 kB / 490.1 MB, free: 2.398 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.4307, allocations: 109 kB / 490.3 MB, free: 2.309 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.471e-05/0.4307, allocations: 55.66 kB / 490.3 MB, free: 2.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.4308, allocations: 0 / 490.3 MB, free: 2.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.4309, allocations: 119 kB / 490.4 MB, free: 2.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.4309, allocations: 3.938 kB / 490.4 MB, free: 2.156 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003084/0.4313, allocations: 171.3 kB / 490.6 MB, free: 2.012 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.4313, allocations: 62.84 kB / 490.7 MB, free: 1.941 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.4315, allocations: 201.8 kB / 490.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.4315, allocations: 41.48 kB / 490.9 MB, free: 1.727 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.2e-05/0.4316, allocations: 113.7 kB / 491 MB, free: 1.633 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.4316, allocations: 41.34 kB / 491 MB, free: 1.602 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.031e-05/0.4316, allocations: 4 kB / 491 MB, free: 1.598 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.117e-05/0.4317, allocations: 341 kB / 491.4 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.4318, allocations: 68.42 kB / 491.4 MB, free: 1.223 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.4319, allocations: 96.77 kB / 491.5 MB, free: 1.145 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.4321, allocations: 79.89 kB / 491.6 MB, free: 1.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4321, allocations: 0 / 491.6 MB, free: 1.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003068/0.4324, allocations: 240.1 kB / 491.9 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.4324, allocations: 5.406 kB / 491.9 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.4324, allocations: 4.031 kB / 491.9 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.4325, allocations: 4 kB / 491.9 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.4326, allocations: 31.03 kB / 491.9 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.4326, allocations: 4 kB / 491.9 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.4328, allocations: 27.77 kB / 491.9 MB, free: 0.832 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.4329, allocations: 13.27 kB / 491.9 MB, free: 0.8242 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,$PRE.whiteNoise.state[1],whiteNoise.state[1],$PRE.whiteNoise.state[2],whiteNoise.state[2],$PRE.whiteNoise.state[3],whiteNoise.state[3],$PRE.whiteNoise.state[4],whiteNoise.state[4],$PRE.whiteNoise.r,whiteNoise.r,$PRE.whiteNoise.r_raw,whiteNoise.r_raw,whiteNoise.localSeed,whiteNoise.actualGlobalSeed,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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 6.498e-05/0.4329, allocations: 130.9 kB / 492.1 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.433, allocations: 16.31 kB / 492.1 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.254e-05/0.433, allocations: 24.58 kB / 492.1 MB, free: 0.668 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.433, allocations: 0 / 492.1 MB, free: 0.668 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.433, allocations: 4 kB / 492.1 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.433, allocations: 0 / 492.1 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.4332, allocations: 247.2 kB / 492.4 MB, free: 408 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4332, allocations: 0 / 492.4 MB, free: 408 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.4333, allocations: 19.92 kB / 492.4 MB, free: 388 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.4334, allocations: 1.875 kB / 492.4 MB, free: 388 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.4334, allocations: 10.94 kB / 492.4 MB, free: 380 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4334, allocations: 0 / 492.4 MB, free: 380 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4334, allocations: 0 / 492.4 MB, free: 380 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.4337, allocations: 254.4 kB / 492.6 MB, free: 164 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.913e-05/0.4338, allocations: 119 kB / 492.7 MB, free: 32 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.4338, allocations: 4 kB / 492.8 MB, free: 28 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.434, allocations: 23.28 kB / 492.8 MB, free: 8 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.669e-05/0.4341, allocations: 15.97 kB / 492.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.4341, allocations: 4 kB / 492.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001541/0.4343, allocations: 165 kB / 493 MB, free: 15.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4343, allocations: 0 / 493 MB, free: 15.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004939/0.4348, allocations: 106.3 kB / 493.1 MB, free: 15.76 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Hw.x_scaled[1],Hw.x_scaled[2]) * Number of discrete variables: 7 ($whenCondition1,whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4],whiteNoise.r,whiteNoise.r_raw) * Number of discrete states: 4 (whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001311/0.4361, allocations: 1.003 MB / 494.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002945/0.4364, allocations: 189.3 kB / 494.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4364, allocations: 0 / 494.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.435e-05/0.4365, allocations: 61.45 kB / 494.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.4367, allocations: 13.2 kB / 494.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007724/0.4375, allocations: 359.7 kB / 494.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.4378, allocations: 0.7323 MB / 495.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.4379, allocations: 33.17 kB / 495.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.906e-05/0.438, allocations: 53.77 kB / 495.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.438, allocations: 4 kB / 495.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01715/0.4551, allocations: 4.973 MB / 0.4887 GB, free: 8.688 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/0.4554, allocations: 208.8 kB / 0.4889 GB, free: 8.457 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/2.098, allocations: 0 / 0.4889 GB, free: 8.457 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat does not exist to compare? outputFormat=mat