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.001106/0.001106, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 221.5 MB / 230.3 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008848/0.000885, allocations: 94.53 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.486e-05/2.485e-05, allocations: 4 kB / 337.1 MB, free: 9.934 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1078, allocations: 50.42 MB / 387.5 MB, free: 7.477 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3583/0.4662, allocations: 78.57 MB / 466.1 MB, free: 152 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.4665, allocations: 75.95 kB / 466.2 MB, free: 76 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01974/0.4863, allocations: 6.339 MB / 472.5 MB, free: 9.734 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4863, allocations: 0 / 472.5 MB, free: 9.734 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.4864, allocations: 4 kB / 472.5 MB, free: 9.73 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.0008892/0.4873, allocations: 497 kB / 473 MB, free: 9.203 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.4873, allocations: 8.031 kB / 473 MB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002154/0.4875, allocations: 35.7 kB / 473.1 MB, free: 9.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.4879, allocations: 247.7 kB / 473.3 MB, free: 8.875 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.4879, allocations: 4 kB / 473.3 MB, free: 8.871 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.488, allocations: 4 kB / 473.3 MB, free: 8.867 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001806/0.4882, allocations: 67.95 kB / 473.4 MB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.4883, allocations: 91.47 kB / 473.5 MB, free: 8.707 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4884, allocations: 0 / 473.5 MB, free: 8.707 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.4884, allocations: 7.953 kB / 473.5 MB, free: 8.699 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.4884, allocations: 0 / 473.5 MB, free: 8.699 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007688/0.4892, allocations: 421 kB / 473.9 MB, free: 8.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.4894, allocations: 102.5 kB / 474 MB, free: 8.141 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.237e-05/0.4895, allocations: 52.83 kB / 474 MB, free: 8.086 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.4895, allocations: 8 kB / 474 MB, free: 8.078 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001881/0.4897, allocations: 115.3 kB / 474.2 MB, free: 7.953 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.4897, allocations: 0 / 474.2 MB, free: 7.953 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.000352/0.4901, allocations: 163.3 kB / 474.3 MB, free: 7.789 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.4901, allocations: 55.41 kB / 474.4 MB, free: 7.723 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.4903, allocations: 206.9 kB / 474.6 MB, free: 7.512 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.4904, allocations: 33.7 kB / 474.6 MB, free: 7.473 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.932e-05/0.4905, allocations: 116.1 kB / 474.7 MB, free: 7.355 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.4905, allocations: 40.34 kB / 474.8 MB, free: 7.316 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.172e-05/0.4905, allocations: 0 / 474.8 MB, free: 7.316 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.4907, allocations: 334.8 kB / 475.1 MB, free: 6.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.4908, allocations: 67.97 kB / 475.2 MB, free: 6.914 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.491, allocations: 89.75 kB / 475.2 MB, free: 6.816 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.4912, allocations: 88.12 kB / 475.3 MB, free: 6.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4912, allocations: 4 kB / 475.3 MB, free: 6.727 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003779/0.4916, allocations: 218.2 kB / 475.5 MB, free: 6.508 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.4916, allocations: 8.094 kB / 475.6 MB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.4916, allocations: 3.938 kB / 475.6 MB, free: 6.496 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.4916, allocations: 3.953 kB / 475.6 MB, free: 6.492 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.4918, allocations: 31.92 kB / 475.6 MB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.4918, allocations: 0 / 475.6 MB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.492, allocations: 27.81 kB / 475.6 MB, free: 6.434 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.4921, allocations: 12.03 kB / 475.6 MB, free: 6.422 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 0.0001005/0.4922, allocations: 120.9 kB / 475.7 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002453/0.4924, allocations: 161.5 kB / 475.9 MB, free: 6.133 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.4925, allocations: 15.77 kB / 475.9 MB, free: 6.117 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.987e-05/0.4925, allocations: 17.97 kB / 475.9 MB, free: 6.098 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4925, allocations: 4 kB / 475.9 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.4925, allocations: 0 / 475.9 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.4925, allocations: 3.984 kB / 475.9 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.4928, allocations: 222 kB / 476.2 MB, free: 5.836 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.4928, allocations: 0 / 476.2 MB, free: 5.836 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.4929, allocations: 15.98 kB / 476.2 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.493, allocations: 7.938 kB / 476.2 MB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.493, allocations: 0 / 476.2 MB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.493, allocations: 7.938 kB / 476.2 MB, free: 5.805 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.493, allocations: 0 / 476.2 MB, free: 5.805 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003741/0.4934, allocations: 248.9 kB / 476.4 MB, free: 5.543 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.553e-05/0.4935, allocations: 109 kB / 476.5 MB, free: 5.418 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.075e-05/0.4935, allocations: 11.98 kB / 476.6 MB, free: 5.406 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.4937, allocations: 15.98 kB / 476.6 MB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.4938, allocations: 11.94 kB / 476.6 MB, free: 5.379 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.4938, allocations: 4 kB / 476.6 MB, free: 5.375 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000139/0.4939, allocations: 161.5 kB / 476.7 MB, free: 5.219 MB / 346.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4939, allocations: 11.88 kB / 476.8 MB, free: 5.207 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000438/0.4944, allocations: 99.86 kB / 476.9 MB, free: 5.109 MB / 346.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.001254/0.4956, allocations: 0.9998 MB / 477.9 MB, free: 4.113 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002996/0.4959, allocations: 181.8 kB / 478 MB, free: 3.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.496, allocations: 4 kB / 478 MB, free: 3.926 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.861e-05/0.4961, allocations: 55.92 kB / 478.1 MB, free: 3.871 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.4962, allocations: 15.94 kB / 478.1 MB, free: 3.855 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007613/0.497, allocations: 354.8 kB / 478.5 MB, free: 3.469 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.4974, allocations: 0.7359 MB / 479.2 MB, free: 2.707 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.308e-05/0.4975, allocations: 29.19 kB / 479.2 MB, free: 2.68 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.838e-05/0.4975, allocations: 47.41 kB / 479.3 MB, free: 2.633 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4976, allocations: 0 / 479.3 MB, free: 2.633 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/0.5213, allocations: 4.511 MB / 483.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/0.5216, allocations: 185.1 kB / 484 MB, free: 13.95 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/2.311, allocations: 0 / 484 MB, free: 13.95 MB / 362.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