Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.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.DrydenContinuousTurbulence,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence",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.001087/0.001086, allocations: 171.2 kB / 14.1 MB, free: 1.219 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.484/1.484, allocations: 205.2 MB / 219.8 MB, free: 14.21 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.000836/0.000836, allocations: 90.66 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.123e-05/3.128e-05, allocations: 0 / 322.5 MB, free: 17.26 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09298/0.09303, allocations: 47.58 MB / 370.1 MB, free: 1.617 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3192/0.4123, allocations: 78.29 MB / 448.4 MB, free: 15.05 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001685/0.4125, allocations: 76.27 kB / 448.5 MB, free: 15.01 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01915/0.4317, allocations: 6.324 MB / 454.8 MB, free: 9.539 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4317, allocations: 0 / 454.8 MB, free: 9.539 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.4318, allocations: 4 kB / 454.8 MB, free: 9.535 MB / 330.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.0007752/0.4325, allocations: 0.4936 MB / 455.3 MB, free: 9.012 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.4326, allocations: 8.031 kB / 455.3 MB, free: 9.004 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.315e-05/0.4326, allocations: 34.56 kB / 455.3 MB, free: 8.961 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.4328, allocations: 35.14 kB / 455.4 MB, free: 8.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.4331, allocations: 242 kB / 455.6 MB, free: 8.664 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.4331, allocations: 7.625 kB / 455.6 MB, free: 8.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.4332, allocations: 11.52 kB / 455.6 MB, free: 8.652 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.4334, allocations: 103.5 kB / 455.7 MB, free: 8.562 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4334, allocations: 4 kB / 455.7 MB, free: 8.559 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.4334, allocations: 3.5 kB / 455.7 MB, free: 8.559 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.4334, allocations: 0 / 455.7 MB, free: 8.559 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.4335, allocations: 67.45 kB / 455.8 MB, free: 8.508 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007117/0.4343, allocations: 447.6 kB / 456.2 MB, free: 8.078 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.4345, allocations: 119.3 kB / 456.4 MB, free: 7.977 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.068e-05/0.4346, allocations: 57.14 kB / 456.4 MB, free: 7.934 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.4346, allocations: 0 / 456.4 MB, free: 7.934 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.4348, allocations: 107.3 kB / 456.5 MB, free: 7.836 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.4348, allocations: 0 / 456.5 MB, free: 7.836 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003078/0.4351, allocations: 184.3 kB / 456.7 MB, free: 7.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.4351, allocations: 58.72 kB / 456.8 MB, free: 7.613 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.4354, allocations: 198.3 kB / 457 MB, free: 7.441 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/0.4354, allocations: 40.94 kB / 457 MB, free: 7.398 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.009e-05/0.4355, allocations: 112.7 kB / 457.1 MB, free: 7.305 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.4355, allocations: 42.53 kB / 457.1 MB, free: 7.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.08e-05/0.4355, allocations: 3.438 kB / 457.1 MB, free: 7.27 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.4357, allocations: 337.2 kB / 457.5 MB, free: 6.941 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.4358, allocations: 74.91 kB / 457.5 MB, free: 6.891 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.4359, allocations: 93.11 kB / 457.6 MB, free: 6.816 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.4361, allocations: 85.8 kB / 457.7 MB, free: 6.758 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4361, allocations: 0 / 457.7 MB, free: 6.758 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003533/0.4364, allocations: 239.4 kB / 458 MB, free: 6.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.4365, allocations: 4 kB / 458 MB, free: 6.566 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.4365, allocations: 3.938 kB / 458 MB, free: 6.562 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.4365, allocations: 4 kB / 458 MB, free: 6.559 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.4367, allocations: 39.06 kB / 458 MB, free: 6.523 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.4367, allocations: 4 kB / 458 MB, free: 6.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.4369, allocations: 28.11 kB / 458 MB, free: 6.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/0.437, allocations: 11.98 kB / 458.1 MB, free: 6.484 MB / 330.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 8.699e-05/0.437, allocations: 122.9 kB / 458.2 MB, free: 6.363 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.4371, allocations: 15.81 kB / 458.2 MB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.263e-05/0.4371, allocations: 27.14 kB / 458.2 MB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.4372, allocations: 4 kB / 458.2 MB, free: 6.332 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4372, allocations: 0 / 458.2 MB, free: 6.332 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.4372, allocations: 0 / 458.2 MB, free: 6.332 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.4374, allocations: 247.2 kB / 458.5 MB, free: 6.066 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4374, allocations: 0 / 458.5 MB, free: 6.066 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.4375, allocations: 15.98 kB / 458.5 MB, free: 6.051 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.4375, allocations: 0 / 458.5 MB, free: 6.051 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.4376, allocations: 7.5 kB / 458.5 MB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.4376, allocations: 0 / 458.5 MB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4376, allocations: 7.938 kB / 458.5 MB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003681/0.438, allocations: 270.1 kB / 458.8 MB, free: 5.812 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.4381, allocations: 108.3 kB / 458.9 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.4381, allocations: 7.438 kB / 458.9 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.4383, allocations: 19.97 kB / 458.9 MB, free: 5.668 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.4383, allocations: 7.984 kB / 458.9 MB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.4384, allocations: 11.62 kB / 458.9 MB, free: 5.652 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001439/0.4385, allocations: 159.4 kB / 459.1 MB, free: 5.52 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4385, allocations: 0 / 459.1 MB, free: 5.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004441/0.439, allocations: 122.6 kB / 459.2 MB, free: 5.41 MB / 330.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.001294/0.4403, allocations: 1.002 MB / 460.2 MB, free: 4.41 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000321/0.4406, allocations: 190.1 kB / 460.4 MB, free: 4.219 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4406, allocations: 0 / 460.4 MB, free: 4.219 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.4407, allocations: 63.92 kB / 460.4 MB, free: 4.156 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.4409, allocations: 24.56 kB / 460.5 MB, free: 4.133 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007404/0.4417, allocations: 367.7 kB / 460.8 MB, free: 3.734 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.442, allocations: 0.7362 MB / 461.5 MB, free: 2.973 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.4421, allocations: 37.16 kB / 461.6 MB, free: 2.938 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.648e-05/0.4422, allocations: 47.42 kB / 461.6 MB, free: 2.891 MB / 330.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4422, allocations: 0 / 461.6 MB, free: 2.891 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01609/0.4583, allocations: 4.962 MB / 466.6 MB, free: 13.92 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002493/0.4586, allocations: 209.4 kB / 466.8 MB, free: 13.69 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/2.273, allocations: 3.938 kB / 466.8 MB, free: 13.69 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_res.mat does not exist to compare? outputFormat=mat