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.001276/0.001276, allocations: 202.7 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.236/1.236, allocations: 227.2 MB / 245 MB, free: 7.605 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001204/0.001204, allocations: 102.8 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002383/0.0002383, allocations: 8 kB / 358 MB, free: 9.441 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2153, allocations: 51.48 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09713/0.3125, allocations: 80.12 MB / 489.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.3129, allocations: 75.97 kB / 489.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02035/0.3332, allocations: 6.497 MB / 496.2 MB, free: 3.895 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3333, allocations: 0 / 496.2 MB, free: 3.895 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.82e-05/0.3333, allocations: 4 kB / 496.2 MB, free: 3.891 MB / 362.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.001138/0.3345, allocations: 0.5535 MB / 496.7 MB, free: 3.289 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.3345, allocations: 12.03 kB / 496.8 MB, free: 3.277 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.588e-05/0.3346, allocations: 34.5 kB / 496.8 MB, free: 3.234 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001989/0.3348, allocations: 35.8 kB / 496.8 MB, free: 3.199 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004838/0.3353, allocations: 275.6 kB / 497.1 MB, free: 2.887 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.3353, allocations: 7.953 kB / 497.1 MB, free: 2.879 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.075e-05/0.3354, allocations: 8 kB / 497.1 MB, free: 2.871 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.3356, allocations: 101.6 kB / 497.2 MB, free: 2.766 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3356, allocations: 0 / 497.2 MB, free: 2.766 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.3356, allocations: 8 kB / 497.2 MB, free: 2.758 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.3356, allocations: 3.984 kB / 497.2 MB, free: 2.754 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001859/0.3358, allocations: 79.94 kB / 497.3 MB, free: 2.676 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007642/0.3366, allocations: 452.4 kB / 497.7 MB, free: 2.184 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.3369, allocations: 126.5 kB / 497.9 MB, free: 2.051 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.3369, allocations: 0 / 497.9 MB, free: 2.051 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002048/0.3371, allocations: 131 kB / 498 MB, free: 1.914 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.3371, allocations: 0 / 498 MB, free: 1.914 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005377/0.3377, allocations: 322.5 kB / 498.3 MB, free: 1.574 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.3377, allocations: 59.41 kB / 498.4 MB, free: 1.504 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003766/0.3381, allocations: 226.9 kB / 498.6 MB, free: 1.277 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/0.3382, allocations: 41.69 kB / 498.6 MB, free: 1.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.561e-05/0.3382, allocations: 116.1 kB / 498.7 MB, free: 1.113 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.186e-05/0.3383, allocations: 39.59 kB / 498.8 MB, free: 1.074 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.165e-05/0.3383, allocations: 4 kB / 498.8 MB, free: 1.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3384, allocations: 338.8 kB / 499.1 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.3386, allocations: 71.95 kB / 499.2 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.3388, allocations: 106 kB / 499.3 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.3389, allocations: 96.25 kB / 499.4 MB, free: 464 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.339, allocations: 0 / 499.4 MB, free: 464 kB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004178/0.3394, allocations: 254.1 kB / 499.6 MB, free: 204 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3394, allocations: 4 kB / 499.6 MB, free: 200 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.3394, allocations: 0 / 499.6 MB, free: 200 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.3394, allocations: 8.031 kB / 499.6 MB, free: 192 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.3396, allocations: 27.97 kB / 499.7 MB, free: 164 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.3396, allocations: 4 kB / 499.7 MB, free: 160 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.3398, allocations: 27.83 kB / 499.7 MB, free: 132 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.3399, allocations: 7.984 kB / 499.7 MB, free: 124 kB / 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 () * Number of clocked 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.0001483/0.34, allocations: 145.7 kB / 499.8 MB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.3401, allocations: 19.81 kB / 499.9 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.523e-05/0.3401, allocations: 17.53 kB / 499.9 MB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3401, allocations: 0 / 499.9 MB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.3401, allocations: 4 kB / 499.9 MB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3402, allocations: 3.984 kB / 499.9 MB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.3404, allocations: 253.3 kB / 0.4884 GB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3404, allocations: 0 / 0.4884 GB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.3405, allocations: 15.98 kB / 0.4884 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.3405, allocations: 0 / 0.4884 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.3406, allocations: 4 kB / 0.4884 GB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3406, allocations: 7.938 kB / 0.4884 GB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3406, allocations: 0 / 0.4884 GB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004689/0.341, allocations: 280.9 kB / 0.4887 GB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.3412, allocations: 112.8 kB / 0.4888 GB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.214e-05/0.3412, allocations: 11.98 kB / 0.4888 GB, free: 15.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.3414, allocations: 20.03 kB / 0.4888 GB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.3415, allocations: 11.98 kB / 0.4889 GB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.3415, allocations: 4 kB / 0.4889 GB, free: 15.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003178/0.3418, allocations: 184.2 kB / 0.489 GB, free: 14.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3418, allocations: 3.938 kB / 0.489 GB, free: 14.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004347/0.3423, allocations: 111.9 kB / 0.4891 GB, free: 14.84 MB / 378.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]) * 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.001421/0.3437, allocations: 1.041 MB / 0.4902 GB, free: 13.81 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003564/0.3441, allocations: 205.1 kB / 0.4904 GB, free: 13.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3441, allocations: 3.938 kB / 0.4904 GB, free: 13.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.3442, allocations: 63.97 kB / 0.4904 GB, free: 13.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.3444, allocations: 14.06 kB / 0.4904 GB, free: 13.53 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.3454, allocations: 0.8141 MB / 0.4912 GB, free: 12.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.3457, allocations: 0.7322 MB / 0.492 GB, free: 11.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.406e-05/0.3458, allocations: 33.41 kB / 0.492 GB, free: 11.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.817e-05/0.3459, allocations: 51.42 kB / 0.492 GB, free: 11.82 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3459, allocations: 3.938 kB / 0.492 GB, free: 11.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.363, allocations: 4.934 MB / 0.4969 GB, free: 7.02 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/0.3632, allocations: 229.2 kB / 0.4971 GB, free: 6.781 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/2.1, allocations: 3.375 kB / 0.4971 GB, free: 6.781 MB / 378.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