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.001075/0.001075, allocations: 175.6 kB / 13.63 MB, free: 1.684 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.426/1.426, allocations: 221.3 MB / 235.5 MB, free: 2.855 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.0009552/0.0009551, allocations: 90.98 kB / 286.5 MB, free: 168 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.001e-05/3.003e-05, allocations: 4 kB / 343.9 MB, free: 4.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1299, allocations: 50.41 MB / 394.3 MB, free: 1.746 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4215/0.5514, allocations: 79.24 MB / 473.6 MB, free: 8.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.5518, allocations: 75.95 kB / 473.6 MB, free: 8.156 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02005/0.5718, allocations: 6.37 MB / 480 MB, free: 1.781 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.5719, allocations: 0 / 480 MB, free: 1.781 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.635e-05/0.5719, allocations: 4 kB / 480 MB, free: 1.777 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.0008664/0.5728, allocations: 0.495 MB / 480.5 MB, free: 1.238 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.5729, allocations: 8.031 kB / 480.5 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.135e-05/0.5729, allocations: 38.56 kB / 480.6 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002111/0.5731, allocations: 31.7 kB / 480.6 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.5735, allocations: 239.7 kB / 480.8 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.5735, allocations: 12 kB / 480.8 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.799e-05/0.5736, allocations: 15.94 kB / 480.9 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.5738, allocations: 89.64 kB / 480.9 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.5738, allocations: 3.938 kB / 480.9 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.5738, allocations: 7.953 kB / 481 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.5739, allocations: 0 / 481 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.574, allocations: 71.95 kB / 481 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007789/0.5748, allocations: 444.5 kB / 481.5 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.575, allocations: 118.5 kB / 481.6 MB, free: 64 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.667e-05/0.5751, allocations: 52.84 kB / 481.6 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.5752, allocations: 3.953 kB / 481.6 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002134/0.5754, allocations: 111.4 kB / 481.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.796e-06/0.5754, allocations: 0 / 481.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003616/0.5758, allocations: 177.5 kB / 481.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.5758, allocations: 59.39 kB / 482 MB, free: 15.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.5761, allocations: 203 kB / 482.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.981e-05/0.5761, allocations: 37.69 kB / 482.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.593e-05/0.5762, allocations: 112.1 kB / 482.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.869e-05/0.5763, allocations: 47.58 kB / 482.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.213e-05/0.5763, allocations: 8 kB / 482.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.5764, allocations: 326.8 kB / 482.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.5765, allocations: 71.97 kB / 482.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.5767, allocations: 97.86 kB / 482.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.5768, allocations: 80.14 kB / 482.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5768, allocations: 0 / 482.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003584/0.5772, allocations: 234.1 kB / 483.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.5772, allocations: 13.08 kB / 483.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.5773, allocations: 4 kB / 483.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.5773, allocations: 0 / 483.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.5774, allocations: 31.92 kB / 483.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.5775, allocations: 3.984 kB / 483.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.5777, allocations: 27.83 kB / 483.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.473e-05/0.5777, allocations: 8 kB / 483.2 MB, free: 14.31 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 () * 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.0001246/0.5778, allocations: 125 kB / 483.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.5779, allocations: 11.81 kB / 483.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.376e-05/0.5779, allocations: 21.61 kB / 483.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.5779, allocations: 4 kB / 483.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.578, allocations: 12 kB / 483.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.578, allocations: 3.938 kB / 483.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002633/0.5782, allocations: 249.4 kB / 483.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5783, allocations: 0 / 483.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.5784, allocations: 15.98 kB / 483.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5784, allocations: 4 kB / 483.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.5784, allocations: 8 kB / 483.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.5784, allocations: 3.953 kB / 483.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.5784, allocations: 0 / 483.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004055/0.5789, allocations: 257.7 kB / 483.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.579, allocations: 108.9 kB / 484.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.584e-05/0.579, allocations: 7.938 kB / 484.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.5792, allocations: 28.03 kB / 484.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.918e-05/0.5793, allocations: 11.94 kB / 484.1 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.5793, allocations: 4 kB / 484.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001633/0.5795, allocations: 157.5 kB / 484.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5795, allocations: 0 / 484.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004786/0.58, allocations: 111.9 kB / 484.4 MB, free: 13.1 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.001409/0.5814, allocations: 1.003 MB / 485.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003143/0.5817, allocations: 182 kB / 485.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5817, allocations: 0 / 485.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.5818, allocations: 59.92 kB / 485.6 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.582, allocations: 20.81 kB / 485.6 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007746/0.5828, allocations: 368 kB / 486 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.5832, allocations: 0.7322 MB / 486.7 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.392e-05/0.5833, allocations: 33.12 kB / 486.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.965e-05/0.5834, allocations: 47.41 kB / 486.8 MB, free: 10.61 MB / 362.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5834, allocations: 4 kB / 486.8 MB, free: 10.61 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0199/0.6033, allocations: 4.931 MB / 491.7 MB, free: 5.785 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/0.6035, allocations: 199.3 kB / 491.9 MB, free: 5.562 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.886/2.489, allocations: 0 / 491.9 MB, free: 5.562 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