Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001813/0.001813, allocations: 109 kB / 21.23 MB, free: 0.6719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00254/0.00254, allocations: 209.2 kB / 24.53 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.455/1.455, allocations: 230.6 MB / 258.3 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 68.77 kB / 378.5 MB, free: 3.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2772, allocations: 53.37 MB / 431.9 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003005/0.2802, allocations: 1.681 MB / 433.6 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002328/0.2825, allocations: 1.282 MB / 434.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.665e-05/0.2826, allocations: 4 kB / 434.9 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003262/0.2829, allocations: 43.64 kB / 434.9 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.283, allocations: 39.77 kB / 435 MB, free: 3.855 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.0008119/0.2838, allocations: 303.2 kB / 435.3 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003237/0.2842, allocations: 199.5 kB / 435.5 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.2843, allocations: 17.27 kB / 435.5 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002203/0.2845, allocations: 87.67 kB / 435.6 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006157/0.2851, allocations: 118.1 kB / 435.7 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.52e-05/0.2851, allocations: 12 kB / 435.7 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005269/0.2857, allocations: 327.4 kB / 436 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.846e-05/0.2858, allocations: 47.89 kB / 436.1 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.373e-05/0.2859, allocations: 75.52 kB / 436.1 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00052/0.2864, allocations: 325.2 kB / 436.4 MB, free: 2.375 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2864, allocations: 0 / 436.4 MB, free: 2.375 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2864, allocations: 0 / 436.4 MB, free: 2.375 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.2864, allocations: 3.938 kB / 436.5 MB, free: 2.371 MB / 334.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.001218/0.2876, allocations: 496.9 kB / 436.9 MB, free: 1.855 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.2877, allocations: 12.03 kB / 436.9 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.479e-05/0.2877, allocations: 34.73 kB / 437 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002125/0.2879, allocations: 32.78 kB / 437 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000458/0.2884, allocations: 219.1 kB / 437.2 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.2884, allocations: 12.31 kB / 437.2 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/0.2884, allocations: 11.94 kB / 437.3 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.2886, allocations: 101.6 kB / 437.4 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.2887, allocations: 0 / 437.4 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.2887, allocations: 3.984 kB / 437.4 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.2887, allocations: 3.938 kB / 437.4 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/0.2889, allocations: 83.94 kB / 437.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008289/0.2897, allocations: 415.6 kB / 437.8 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.29, allocations: 126.4 kB / 438 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.2901, allocations: 56.83 kB / 438 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.2901, allocations: 0 / 438 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002358/0.2903, allocations: 115.3 kB / 438.1 MB, free: 0.543 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.2903, allocations: 0 / 438.1 MB, free: 0.543 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005121/0.2909, allocations: 240.2 kB / 438.4 MB, free: 312 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.2909, allocations: 59.41 kB / 438.4 MB, free: 240 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004098/0.2913, allocations: 243.9 kB / 438.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.2914, allocations: 41.59 kB / 438.7 MB, free: 15.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.576e-05/0.2914, allocations: 116.1 kB / 438.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.185e-05/0.2915, allocations: 43.78 kB / 438.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.726e-05/0.2916, allocations: 45.7 kB / 438.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.2917, allocations: 330.8 kB / 439.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.2919, allocations: 91.94 kB / 439.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.2921, allocations: 105.7 kB / 439.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002999/0.2924, allocations: 181.6 kB / 439.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2924, allocations: 0 / 439.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004354/0.2928, allocations: 257.5 kB / 439.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.2928, allocations: 18.62 kB / 439.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2928, allocations: 0 / 439.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.2928, allocations: 3.938 kB / 439.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.293, allocations: 31.97 kB / 439.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.293, allocations: 0 / 439.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.2932, allocations: 31.86 kB / 439.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.2932, allocations: 4 kB / 439.9 MB, free: 14.67 MB / 350.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,globalSeed.id_impure,globalSeed.seed,whiteNoise.actualGlobalSeed,whiteNoise.localSeed,whiteNoise.r_raw,$PRE.whiteNoise.r_raw,whiteNoise.r,$PRE.whiteNoise.r,whiteNoise.state[4],$PRE.whiteNoise.state[4],whiteNoise.state[3],$PRE.whiteNoise.state[3],whiteNoise.state[2],$PRE.whiteNoise.state[2],whiteNoise.state[1],$PRE.whiteNoise.state[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001398/0.2934, allocations: 141.8 kB / 440.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/0.2934, allocations: 23.84 kB / 440.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.056e-05/0.2935, allocations: 17.47 kB / 440.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-06/0.2935, allocations: 96 / 440.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.2935, allocations: 7.922 kB / 440.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2935, allocations: 0 / 440.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.2937, allocations: 212.5 kB / 440.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2937, allocations: 0 / 440.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.2939, allocations: 19.98 kB / 440.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/0.2939, allocations: 7.938 kB / 440.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.2939, allocations: 7.984 kB / 440.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2939, allocations: 3.938 kB / 440.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2939, allocations: 0 / 440.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004831/0.2944, allocations: 268.9 kB / 440.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.413e-05/0.2944, allocations: 35.86 kB / 440.7 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.007e-05/0.2945, allocations: 11.94 kB / 440.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.2947, allocations: 20.03 kB / 440.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.2947, allocations: 7.984 kB / 440.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.2948, allocations: 4 kB / 440.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003255/0.2951, allocations: 193.4 kB / 440.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2951, allocations: 0 / 440.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004222/0.2955, allocations: 83.8 kB / 441 MB, free: 13.55 MB / 350.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001299/0.2968, allocations: 0.9807 MB / 442 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003669/0.2972, allocations: 155.8 kB / 442.1 MB, free: 12.42 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2972, allocations: 4 kB / 442.1 MB, free: 12.42 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.2973, allocations: 55.97 kB / 442.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.2975, allocations: 32.95 kB / 442.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003467/0.301, allocations: 2.359 MB / 444.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/0.3014, allocations: 0.7356 MB / 445.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001076/0.3015, allocations: 33.34 kB / 445.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.971e-05/0.3016, allocations: 47.42 kB / 445.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3016, allocations: 0 / 445.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03021/0.3318, allocations: 5.237 MB / 450.6 MB, free: 3.898 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.922/9.253, allocations: 4.062 kB / 450.6 MB, free: 3.895 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence_fmu --startTime=0 --stopTime=100 --stepSize=0.00249994 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_DrydenContinuousTurbulence.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.626670670229942] Failed to read output from testmodel.py, exit status != 0: ['time', 'Hw.x_scaled[1]', 'Hw.x_scaled[2]'] 9.329360929317772 9.354423 9.063027764 Calling exit ...