Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001834/0.001834, allocations: 198.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00102/0.00102, allocations: 93.83 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.973e-05/1.974e-05, allocations: 4 kB / 343.8 MB, free: 8.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1165, allocations: 51.47 MB / 395.3 MB, free: 4.699 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3594/0.476, allocations: 79.38 MB / 474.6 MB, free: 12.51 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.4763, allocations: 74.7 kB / 474.7 MB, free: 12.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01874/0.495, allocations: 6.435 MB / 481.1 MB, free: 8.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4951, allocations: 4 kB / 481.1 MB, free: 8.066 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.4951, allocations: 4 kB / 481.2 MB, free: 8.062 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.0006663/0.4958, allocations: 495 kB / 481.6 MB, free: 7.551 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.4958, allocations: 12.03 kB / 481.6 MB, free: 7.539 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001961/0.496, allocations: 27.7 kB / 481.7 MB, free: 7.512 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.4963, allocations: 252.3 kB / 481.9 MB, free: 7.238 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.4963, allocations: 7 kB / 481.9 MB, free: 7.234 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.4964, allocations: 4 kB / 481.9 MB, free: 7.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001436/0.4965, allocations: 79.25 kB / 482 MB, free: 7.176 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.4967, allocations: 86.39 kB / 482.1 MB, free: 7.098 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.4967, allocations: 0 / 482.1 MB, free: 7.098 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.4967, allocations: 0 / 482.1 MB, free: 7.098 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.4967, allocations: 0 / 482.1 MB, free: 7.098 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006184/0.4973, allocations: 418.8 kB / 482.5 MB, free: 6.703 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.4975, allocations: 107.5 kB / 482.6 MB, free: 6.613 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.627e-05/0.4976, allocations: 48.78 kB / 482.7 MB, free: 6.578 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.4976, allocations: 4 kB / 482.7 MB, free: 6.574 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/0.4978, allocations: 107.6 kB / 482.8 MB, free: 6.477 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.253e-06/0.4978, allocations: 0 / 482.8 MB, free: 6.477 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002762/0.498, allocations: 166.8 kB / 482.9 MB, free: 6.336 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.4981, allocations: 63.38 kB / 483 MB, free: 6.262 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.4982, allocations: 197.7 kB / 483.2 MB, free: 6.094 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.4983, allocations: 33.33 kB / 483.2 MB, free: 6.059 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.087e-05/0.4983, allocations: 119.5 kB / 483.3 MB, free: 5.961 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.4984, allocations: 42.48 kB / 483.4 MB, free: 5.926 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.049e-05/0.4984, allocations: 0 / 483.4 MB, free: 5.926 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.159e-05/0.4984, allocations: 329.8 kB / 483.7 MB, free: 5.602 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.849e-05/0.4985, allocations: 66.78 kB / 483.8 MB, free: 5.559 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.4986, allocations: 90.19 kB / 483.8 MB, free: 5.488 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.4988, allocations: 80.84 kB / 483.9 MB, free: 5.434 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.4988, allocations: 0 / 483.9 MB, free: 5.434 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003219/0.4992, allocations: 236.8 kB / 484.2 MB, free: 5.246 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.4992, allocations: 9.719 kB / 484.2 MB, free: 5.238 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.4992, allocations: 0 / 484.2 MB, free: 5.238 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.4992, allocations: 0 / 484.2 MB, free: 5.238 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.4994, allocations: 27.98 kB / 484.2 MB, free: 5.211 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.4994, allocations: 3.984 kB / 484.2 MB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.4996, allocations: 31.77 kB / 484.2 MB, free: 5.176 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.4996, allocations: 7.875 kB / 484.2 MB, free: 5.172 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 7.086e-05/0.4997, allocations: 121 kB / 484.4 MB, free: 5.047 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002014/0.4999, allocations: 172.4 kB / 484.5 MB, free: 4.902 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.061e-05/0.4999, allocations: 15.81 kB / 484.5 MB, free: 4.887 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.675e-05/0.5, allocations: 24.45 kB / 484.6 MB, free: 4.871 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.5, allocations: 0 / 484.6 MB, free: 4.871 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.5, allocations: 0 / 484.6 MB, free: 4.871 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5, allocations: 0 / 484.6 MB, free: 4.871 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.5002, allocations: 211.2 kB / 484.8 MB, free: 4.648 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.5002, allocations: 0 / 484.8 MB, free: 4.648 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.5003, allocations: 27.11 kB / 484.8 MB, free: 4.625 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.5003, allocations: 0 / 484.8 MB, free: 4.625 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.5003, allocations: 6.922 kB / 484.8 MB, free: 4.621 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5003, allocations: 0 / 484.8 MB, free: 4.621 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.5003, allocations: 6.5 kB / 484.8 MB, free: 4.617 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002951/0.5006, allocations: 252 kB / 485.1 MB, free: 4.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.091e-05/0.5007, allocations: 111.6 kB / 485.2 MB, free: 4.289 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.5008, allocations: 7.984 kB / 485.2 MB, free: 4.281 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.5009, allocations: 28.03 kB / 485.2 MB, free: 4.254 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.501, allocations: 7.984 kB / 485.2 MB, free: 4.246 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.501, allocations: 11.31 kB / 485.2 MB, free: 4.238 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.359e-05/0.5011, allocations: 158.7 kB / 485.4 MB, free: 4.109 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5011, allocations: 0 / 485.4 MB, free: 4.109 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004405/0.5016, allocations: 103 kB / 485.5 MB, free: 4.012 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.001011/0.5026, allocations: 1.002 MB / 486.5 MB, free: 3.086 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002399/0.5028, allocations: 174.3 kB / 486.6 MB, free: 2.953 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5028, allocations: 4 kB / 486.7 MB, free: 2.949 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.828e-05/0.5029, allocations: 66.44 kB / 486.7 MB, free: 2.902 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.5031, allocations: 7.625 kB / 486.7 MB, free: 2.898 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006116/0.5037, allocations: 350.1 kB / 487.1 MB, free: 2.543 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/0.5039, allocations: 0.7353 MB / 487.8 MB, free: 1.785 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.456e-05/0.504, allocations: 33.19 kB / 487.8 MB, free: 1.754 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.475e-05/0.504, allocations: 46.3 kB / 487.9 MB, free: 1.734 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5041, allocations: 0 / 487.9 MB, free: 1.734 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.5267, allocations: 4.558 MB / 492.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002104/0.527, allocations: 179.5 kB / 492.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/2.134, allocations: 3.375 kB / 492.6 MB, free: 13.05 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat does not exist to compare? outputFormat=mat