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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0008188/0.0008187, allocations: 95.44 kB / 17 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009349/0.0009349, allocations: 193.3 kB / 17.91 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.559/1.559, allocations: 227.3 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002742/0.0002742, allocations: 8 kB / 306.8 MB, free: 1.473 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1322, allocations: 51.48 MB / 358.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.002078/0.1343, allocations: 1.369 MB / 359.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002205/0.1366, allocations: 1.178 MB / 360.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1367, allocations: 7.938 kB / 360.9 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003964/0.1371, allocations: 19.91 kB / 360.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.1372, allocations: 35.77 kB / 360.9 MB, free: 11.36 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.0006286/0.1379, allocations: 227.4 kB / 361.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.1381, allocations: 159.5 kB / 361.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.1382, allocations: 17.08 kB / 361.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.1384, allocations: 83.73 kB / 361.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002388/0.1387, allocations: 91.64 kB / 361.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.1387, allocations: 8 kB / 361.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004424/0.1392, allocations: 287.5 kB / 361.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.132e-05/0.1393, allocations: 43.89 kB / 361.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.728e-05/0.1393, allocations: 53.58 kB / 361.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000325/0.1397, allocations: 231.8 kB / 362.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.1397, allocations: 0 / 362.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.1397, allocations: 0 / 362.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1397, allocations: 0 / 362.1 MB, free: 10.18 MB / 302.1 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.001129/0.1408, allocations: 0.5336 MB / 362.6 MB, free: 9.598 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.1409, allocations: 8.031 kB / 362.6 MB, free: 9.59 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.221e-05/0.1409, allocations: 42.55 kB / 362.7 MB, free: 9.539 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.1411, allocations: 27.8 kB / 362.7 MB, free: 9.512 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004313/0.1416, allocations: 271.6 kB / 363 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.1416, allocations: 12 kB / 363 MB, free: 9.191 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.1416, allocations: 11.89 kB / 363 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.1419, allocations: 109.6 kB / 363.1 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.1419, allocations: 0 / 363.1 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.1419, allocations: 0 / 363.1 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1419, allocations: 0 / 363.1 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.1421, allocations: 83.94 kB / 363.2 MB, free: 8.984 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007888/0.1429, allocations: 448.5 kB / 363.6 MB, free: 8.496 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.1432, allocations: 130.5 kB / 363.7 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.1433, allocations: 56.83 kB / 363.8 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.1433, allocations: 0 / 363.8 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.1436, allocations: 127.4 kB / 363.9 MB, free: 8.164 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.1436, allocations: 4 kB / 363.9 MB, free: 8.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004827/0.1441, allocations: 229.5 kB / 364.1 MB, free: 7.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.1441, allocations: 63.41 kB / 364.2 MB, free: 7.855 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003861/0.1445, allocations: 247.7 kB / 364.4 MB, free: 7.602 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.1446, allocations: 41.7 kB / 364.5 MB, free: 7.555 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.446e-05/0.1447, allocations: 116.2 kB / 364.6 MB, free: 7.438 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.785e-05/0.1447, allocations: 47.39 kB / 364.7 MB, free: 7.391 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.172e-05/0.1447, allocations: 4 kB / 364.7 MB, free: 7.387 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1449, allocations: 338.8 kB / 365 MB, free: 7.047 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.1451, allocations: 79.95 kB / 365.1 MB, free: 6.969 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.1452, allocations: 114.9 kB / 365.2 MB, free: 6.852 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.1454, allocations: 96.97 kB / 365.3 MB, free: 6.758 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1454, allocations: 0 / 365.3 MB, free: 6.758 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004039/0.1458, allocations: 254.2 kB / 365.5 MB, free: 6.504 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.1459, allocations: 6.5 kB / 365.5 MB, free: 6.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1459, allocations: 3.938 kB / 365.5 MB, free: 6.496 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1459, allocations: 8.031 kB / 365.5 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.1461, allocations: 35.97 kB / 365.6 MB, free: 6.453 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1461, allocations: 0 / 365.6 MB, free: 6.453 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.1463, allocations: 27.83 kB / 365.6 MB, free: 6.426 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.1463, allocations: 11.98 kB / 365.6 MB, free: 6.414 MB / 302.1 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): 22 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.0001239/0.1464, allocations: 137.7 kB / 365.7 MB, free: 6.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.1465, allocations: 19.81 kB / 365.8 MB, free: 6.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.995e-05/0.1465, allocations: 21.53 kB / 365.8 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.1465, allocations: 4 kB / 365.8 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1465, allocations: 0 / 365.8 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1465, allocations: 0 / 365.8 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.1468, allocations: 241.4 kB / 366 MB, free: 5.945 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1468, allocations: 8 kB / 366 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.1469, allocations: 15.98 kB / 366 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1469, allocations: 0 / 366 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.1469, allocations: 7.984 kB / 366.1 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.147, allocations: 7.984 kB / 366.1 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.147, allocations: 4 kB / 366.1 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004495/0.1474, allocations: 276.3 kB / 366.3 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.716e-05/0.1475, allocations: 112.8 kB / 366.4 MB, free: 5.488 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.1476, allocations: 4 kB / 366.5 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.1477, allocations: 28.03 kB / 366.5 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.1478, allocations: 7.984 kB / 366.5 MB, free: 5.449 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.1478, allocations: 4 kB / 366.5 MB, free: 5.445 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002898/0.1481, allocations: 184.2 kB / 366.7 MB, free: 5.266 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.793e-06/0.1481, allocations: 0 / 366.7 MB, free: 5.266 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003671/0.1485, allocations: 87.92 kB / 366.8 MB, free: 5.18 MB / 302.1 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.001248/0.1497, allocations: 0.975 MB / 367.7 MB, free: 4.199 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003625/0.1501, allocations: 176.2 kB / 367.9 MB, free: 4.027 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.1501, allocations: 4.062 kB / 367.9 MB, free: 4.023 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.1503, allocations: 63.91 kB / 368 MB, free: 3.961 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.1505, allocations: 19.44 kB / 368 MB, free: 3.945 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/0.1529, allocations: 1.353 MB / 369.3 MB, free: 2.535 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.1532, allocations: 0.7283 MB / 370.1 MB, free: 1.781 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000105/0.1533, allocations: 29.41 kB / 370.1 MB, free: 1.754 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.233e-05/0.1534, allocations: 47.42 kB / 370.1 MB, free: 1.707 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1534, allocations: 0 / 370.1 MB, free: 1.707 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2226/0.3761, allocations: 4.775 MB / 374.9 MB, free: 19 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001601/0.3763, allocations: 230 kB / 375.1 MB, free: 18.76 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.009/2.385, allocations: 3.5 kB / 375.1 MB, free: 18.76 MB / 302.1 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