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.001449/0.001449, allocations: 180.7 kB / 8.699 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.3 MB / 214.4 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007975/0.0007977, allocations: 87.47 kB / 262.5 MB, free: 1.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.784e-05/1.786e-05, allocations: 4.219 kB / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0851/0.08513, allocations: 47.59 MB / 363.2 MB, free: 6.973 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3274/0.4126, allocations: 77.89 MB / 441.1 MB, free: 1.484 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/0.4128, allocations: 70.47 kB / 441.1 MB, free: 1.449 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01885/0.4317, allocations: 6.293 MB / 447.4 MB, free: 12.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4317, allocations: 0 / 447.4 MB, free: 12.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.4317, allocations: 6.875 kB / 447.4 MB, free: 12.09 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.0007515/0.4325, allocations: 497.1 kB / 447.9 MB, free: 11.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.4325, allocations: 8.031 kB / 447.9 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002179/0.4328, allocations: 31.7 kB / 447.9 MB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.4331, allocations: 241.5 kB / 448.2 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.4331, allocations: 4 kB / 448.2 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.496e-05/0.4332, allocations: 7.953 kB / 448.2 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001555/0.4333, allocations: 70.09 kB / 448.3 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.4335, allocations: 94.14 kB / 448.4 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.4336, allocations: 4 kB / 448.4 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.4336, allocations: 11.91 kB / 448.4 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.4336, allocations: 4 kB / 448.4 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007956/0.4344, allocations: 410.5 kB / 448.8 MB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.4346, allocations: 109.1 kB / 448.9 MB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.072e-05/0.4347, allocations: 50.34 kB / 448.9 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.4347, allocations: 4 kB / 448.9 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002071/0.435, allocations: 106.5 kB / 449 MB, free: 10.49 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.733e-06/0.435, allocations: 0 / 449 MB, free: 10.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003641/0.4353, allocations: 170.5 kB / 449.2 MB, free: 10.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.4354, allocations: 59.39 kB / 449.3 MB, free: 10.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.4357, allocations: 199.8 kB / 449.5 MB, free: 10.1 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/0.4357, allocations: 33.69 kB / 449.5 MB, free: 10.06 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.513e-05/0.4358, allocations: 114.7 kB / 449.6 MB, free: 9.965 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.19e-05/0.4359, allocations: 42.72 kB / 449.6 MB, free: 9.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.351e-05/0.4359, allocations: 0 / 449.6 MB, free: 9.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.436, allocations: 336.4 kB / 450 MB, free: 9.602 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.4362, allocations: 61.92 kB / 450 MB, free: 9.562 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.4363, allocations: 94.23 kB / 450.1 MB, free: 9.488 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/0.4365, allocations: 86 kB / 450.2 MB, free: 9.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4365, allocations: 0 / 450.2 MB, free: 9.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003921/0.4369, allocations: 234.1 kB / 450.4 MB, free: 9.242 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.437, allocations: 4 kB / 450.4 MB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.437, allocations: 0 / 450.4 MB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.437, allocations: 4 kB / 450.4 MB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.4372, allocations: 27.97 kB / 450.5 MB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.4372, allocations: 4 kB / 450.5 MB, free: 9.203 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.4374, allocations: 31.84 kB / 450.5 MB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/0.4375, allocations: 6.812 kB / 450.5 MB, free: 9.168 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 9.609e-05/0.4376, allocations: 116.7 kB / 450.6 MB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002552/0.4378, allocations: 169.7 kB / 450.8 MB, free: 8.906 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.4379, allocations: 19.75 kB / 450.8 MB, free: 8.887 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.43e-05/0.4379, allocations: 21.02 kB / 450.8 MB, free: 8.871 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.4379, allocations: 0 / 450.8 MB, free: 8.871 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.4379, allocations: 4 kB / 450.8 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.438, allocations: 3.938 kB / 450.8 MB, free: 8.863 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.4382, allocations: 219 kB / 451.1 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.4382, allocations: 3.953 kB / 451.1 MB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.4383, allocations: 19.92 kB / 451.1 MB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.4384, allocations: 0 / 451.1 MB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.4384, allocations: 4 kB / 451.1 MB, free: 8.609 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4384, allocations: 0 / 451.1 MB, free: 8.609 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4384, allocations: 0 / 451.1 MB, free: 8.609 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.4388, allocations: 252.9 kB / 451.3 MB, free: 8.398 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.771e-05/0.4389, allocations: 112.5 kB / 451.4 MB, free: 8.273 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.719e-05/0.4389, allocations: 7.625 kB / 451.4 MB, free: 8.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.4391, allocations: 15.97 kB / 451.5 MB, free: 8.254 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.4391, allocations: 11.98 kB / 451.5 MB, free: 8.242 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.4392, allocations: 0 / 451.5 MB, free: 8.242 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001251/0.4393, allocations: 154 kB / 451.6 MB, free: 8.117 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4393, allocations: 4.062 kB / 451.6 MB, free: 8.113 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004789/0.4398, allocations: 114.7 kB / 451.7 MB, free: 8.008 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.001195/0.441, allocations: 0.9999 MB / 452.7 MB, free: 7.039 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002774/0.4413, allocations: 190.6 kB / 452.9 MB, free: 6.891 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4413, allocations: 0 / 452.9 MB, free: 6.891 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.647e-05/0.4414, allocations: 62.05 kB / 453 MB, free: 6.848 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.4416, allocations: 11.53 kB / 453 MB, free: 6.84 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007134/0.4423, allocations: 346 kB / 453.3 MB, free: 6.492 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.4426, allocations: 0.732 MB / 454.1 MB, free: 5.734 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001061/0.4427, allocations: 29.19 kB / 454.1 MB, free: 5.703 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.495e-05/0.4428, allocations: 60.09 kB / 454.2 MB, free: 5.672 MB / 330.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4428, allocations: 0 / 454.2 MB, free: 5.672 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02905/0.4719, allocations: 4.539 MB / 458.7 MB, free: 1.129 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/0.4721, allocations: 185.3 kB / 458.9 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.806/2.278, allocations: 2.031 kB / 458.9 MB, free: 0.9375 MB / 330.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