Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.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.DrydenContinuousTurbulence,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",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.001404/0.001404, allocations: 179.9 kB / 16.38 MB, free: 5.766 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.513/1.513, 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.0009452/0.0009454, allocations: 95.73 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002916/0.0002916, allocations: 12 kB / 351.2 MB, free: 15.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2596, allocations: 50.41 MB / 401.6 MB, free: 32.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1039/0.3635, allocations: 79.3 MB / 480.9 MB, free: 1.164 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.3638, allocations: 75.95 kB / 481 MB, free: 1.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02034/0.3842, allocations: 6.403 MB / 487.4 MB, free: 10.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3842, allocations: 8 kB / 487.4 MB, free: 10.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.3843, allocations: 0 / 487.4 MB, free: 10.67 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001131/0.3854, allocations: 0.5416 MB / 487.9 MB, free: 10.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.3855, allocations: 16.03 kB / 487.9 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.814e-05/0.3855, allocations: 42.53 kB / 488 MB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001987/0.3857, allocations: 27.72 kB / 488 MB, free: 9.984 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004925/0.3862, allocations: 271.7 kB / 488.3 MB, free: 9.676 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.363e-05/0.3863, allocations: 7.984 kB / 488.3 MB, free: 9.668 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.248e-05/0.3863, allocations: 11.98 kB / 488.3 MB, free: 9.656 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.3865, allocations: 105.6 kB / 488.4 MB, free: 9.547 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.3866, allocations: 4 kB / 488.4 MB, free: 9.543 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.3866, allocations: 11.89 kB / 488.4 MB, free: 9.531 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3866, allocations: 0 / 488.4 MB, free: 9.531 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/0.3868, allocations: 79.94 kB / 488.5 MB, free: 9.453 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007802/0.3876, allocations: 440.5 kB / 488.9 MB, free: 8.973 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/0.3878, allocations: 126.4 kB / 489 MB, free: 8.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.3879, allocations: 0 / 489 MB, free: 8.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002132/0.3881, allocations: 127.3 kB / 489.2 MB, free: 8.703 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.3881, allocations: 0 / 489.2 MB, free: 8.703 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005584/0.3887, allocations: 322.6 kB / 489.5 MB, free: 8.363 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.3887, allocations: 59.39 kB / 489.5 MB, free: 8.293 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003927/0.3891, allocations: 230.9 kB / 489.8 MB, free: 8.062 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.3892, allocations: 33.7 kB / 489.8 MB, free: 8.023 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.878e-05/0.3893, allocations: 124.1 kB / 489.9 MB, free: 7.898 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.512e-05/0.3893, allocations: 35.61 kB / 489.9 MB, free: 7.863 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.293e-05/0.3893, allocations: 4 kB / 489.9 MB, free: 7.859 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3895, allocations: 330.8 kB / 490.3 MB, free: 7.527 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.3896, allocations: 79.95 kB / 490.3 MB, free: 7.449 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.3898, allocations: 101.8 kB / 490.4 MB, free: 7.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.39, allocations: 96.73 kB / 490.5 MB, free: 7.246 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.39, allocations: 0 / 490.5 MB, free: 7.246 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004425/0.3905, allocations: 255.1 kB / 490.8 MB, free: 6.992 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.3905, allocations: 7.953 kB / 490.8 MB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.3905, allocations: 4 kB / 490.8 MB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.3905, allocations: 4 kB / 490.8 MB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.3907, allocations: 27.92 kB / 490.8 MB, free: 6.949 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.3907, allocations: 7.938 kB / 490.8 MB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.3909, allocations: 27.88 kB / 490.9 MB, free: 6.914 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.391, allocations: 8 kB / 490.9 MB, free: 6.906 MB / 362.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 () * Number of clocked 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 0.0001259/0.3911, allocations: 141.8 kB / 491 MB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.3912, allocations: 15.81 kB / 491 MB, free: 6.742 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.388e-05/0.3912, allocations: 25.47 kB / 491.1 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.3912, allocations: 0 / 491.1 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3912, allocations: 4 kB / 491.1 MB, free: 6.719 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3912, allocations: 0 / 491.1 MB, free: 6.719 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.3915, allocations: 245.4 kB / 491.3 MB, free: 6.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3915, allocations: 0 / 491.3 MB, free: 6.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.3916, allocations: 24.08 kB / 491.3 MB, free: 6.406 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3917, allocations: 7.922 kB / 491.3 MB, free: 6.398 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.3917, allocations: 4 kB / 491.3 MB, free: 6.395 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.3917, allocations: 3.953 kB / 491.3 MB, free: 6.391 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3917, allocations: 3.984 kB / 491.3 MB, free: 6.387 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004777/0.3922, allocations: 277.4 kB / 491.6 MB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.3923, allocations: 112.9 kB / 491.7 MB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.3924, allocations: 8 kB / 491.7 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.3925, allocations: 15.97 kB / 491.7 MB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.505e-05/0.3926, allocations: 15.94 kB / 491.8 MB, free: 5.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.3926, allocations: 4 kB / 491.8 MB, free: 5.926 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003153/0.3929, allocations: 188.2 kB / 491.9 MB, free: 5.742 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3929, allocations: 0 / 491.9 MB, free: 5.742 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004858/0.3934, allocations: 107.9 kB / 492.1 MB, free: 5.637 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]) * Number of clocked states: 0 () * 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.001515/0.395, allocations: 1.035 MB / 493.1 MB, free: 4.613 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004028/0.3954, allocations: 204.9 kB / 493.3 MB, free: 4.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3954, allocations: 0 / 493.3 MB, free: 4.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.3955, allocations: 67.91 kB / 493.4 MB, free: 4.344 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.3957, allocations: 18.86 kB / 493.4 MB, free: 4.328 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.3968, allocations: 0.824 MB / 494.2 MB, free: 3.453 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.3972, allocations: 0.7399 MB / 494.9 MB, free: 2.688 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.711e-05/0.3973, allocations: 29.59 kB / 495 MB, free: 2.656 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.121e-05/0.3974, allocations: 47.42 kB / 495 MB, free: 2.613 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3974, allocations: 3.938 kB / 495 MB, free: 2.609 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01829/0.4157, allocations: 4.883 MB / 499.9 MB, free: 13.87 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002436/0.416, allocations: 234.8 kB / 0.4884 GB, free: 13.63 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.981/2.397, allocations: 4.062 kB / 0.4884 GB, free: 13.62 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat does not exist to compare? outputFormat=mat