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.001307/0.001307, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.001747/0.001747, allocations: 219.5 kB / 23 MB, free: 5.609 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.494/1.494, allocations: 230.5 MB / 256.5 MB, free: 8.434 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.001925/0.001925, allocations: 71.81 kB / 376.2 MB, free: 4.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3166, allocations: 53.32 MB / 429.5 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.00303/0.3196, allocations: 1.677 MB / 431.2 MB, free: 5.742 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002282/0.3219, allocations: 1.278 MB / 432.5 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.539e-05/0.3219, allocations: 0 / 432.5 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003365/0.3223, allocations: 27.78 kB / 432.5 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.3224, allocations: 43.77 kB / 432.6 MB, free: 4.383 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.0007353/0.3231, allocations: 299.1 kB / 432.9 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002528/0.3234, allocations: 175.6 kB / 433 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.319e-05/0.3235, allocations: 17.06 kB / 433 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.3237, allocations: 87.67 kB / 433.1 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006013/0.3243, allocations: 106.9 kB / 433.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.935e-05/0.3243, allocations: 16 kB / 433.2 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004491/0.3248, allocations: 287.5 kB / 433.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.962e-05/0.3249, allocations: 63.73 kB / 433.6 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.325, allocations: 67.59 kB / 433.7 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005069/0.3255, allocations: 331.2 kB / 434 MB, free: 2.973 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3255, allocations: 0 / 434 MB, free: 2.973 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3255, allocations: 0 / 434 MB, free: 2.973 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.3255, allocations: 0 / 434 MB, free: 2.973 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.001195/0.3267, allocations: 0.5567 MB / 434.5 MB, free: 2.367 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.3267, allocations: 8.031 kB / 434.5 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.665e-05/0.3268, allocations: 42.69 kB / 434.6 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.327, allocations: 32.78 kB / 434.6 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004719/0.3274, allocations: 273 kB / 434.9 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.3275, allocations: 4.375 kB / 434.9 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.774e-05/0.3275, allocations: 19.88 kB / 434.9 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.3277, allocations: 97.64 kB / 435 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3277, allocations: 0 / 435 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.3277, allocations: 0 / 435 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.3278, allocations: 7.984 kB / 435 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.3279, allocations: 79.88 kB / 435.1 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008453/0.3288, allocations: 456.5 kB / 435.5 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.3291, allocations: 122.4 kB / 435.7 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.3292, allocations: 56.83 kB / 435.7 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.3292, allocations: 4 kB / 435.7 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002507/0.3295, allocations: 118.6 kB / 435.8 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.3295, allocations: 0 / 435.8 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005238/0.33, allocations: 233.6 kB / 436.1 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.33, allocations: 59.41 kB / 436.1 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004269/0.3305, allocations: 247.8 kB / 436.4 MB, free: 400 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.3305, allocations: 37.69 kB / 436.4 MB, free: 356 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.577e-05/0.3306, allocations: 112.1 kB / 436.5 MB, free: 240 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.137e-05/0.3306, allocations: 47.78 kB / 436.6 MB, free: 192 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.54e-05/0.3307, allocations: 41.7 kB / 436.6 MB, free: 144 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3309, allocations: 334.8 kB / 436.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.331, allocations: 83.95 kB / 437 MB, free: 15.72 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.3312, allocations: 113.6 kB / 437.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.3315, allocations: 182.5 kB / 437.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3315, allocations: 0 / 437.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004449/0.332, allocations: 257.3 kB / 437.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.332, allocations: 7.938 kB / 437.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.332, allocations: 8.016 kB / 437.6 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.332, allocations: 0 / 437.6 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.3322, allocations: 27.98 kB / 437.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.3322, allocations: 3.938 kB / 437.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.3324, allocations: 35.8 kB / 437.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.3324, allocations: 11.98 kB / 437.6 MB, free: 15.07 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.0001415/0.3325, allocations: 133.9 kB / 437.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.3326, allocations: 27.78 kB / 437.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.781e-05/0.3326, allocations: 21.52 kB / 437.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.3326, allocations: 4 kB / 437.8 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3326, allocations: 4 kB / 437.8 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3327, allocations: 0 / 437.8 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/0.3329, allocations: 241.5 kB / 438.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3329, allocations: 4 kB / 438.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.3331, allocations: 15.94 kB / 438.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.3331, allocations: 7.922 kB / 438.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.3331, allocations: 0 / 438.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3331, allocations: 4 kB / 438.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3331, allocations: 0 / 438.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004806/0.3336, allocations: 268.9 kB / 438.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.3337, allocations: 117 kB / 438.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.3337, allocations: 7.938 kB / 438.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.3339, allocations: 19.91 kB / 438.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/0.3339, allocations: 16.05 kB / 438.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.3339, allocations: 4 kB / 438.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003314/0.3343, allocations: 181.5 kB / 438.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3343, allocations: 0 / 438.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003686/0.3346, allocations: 87.8 kB / 438.8 MB, free: 13.83 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.001325/0.336, allocations: 0.9785 MB / 439.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003781/0.3363, allocations: 163.8 kB / 439.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3363, allocations: 0 / 439.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.3365, allocations: 59.91 kB / 440 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.3367, allocations: 15.98 kB / 440 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00357/0.3403, allocations: 2.376 MB / 442.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.3407, allocations: 0.7357 MB / 443.1 MB, free: 9.395 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.3408, allocations: 29.41 kB / 443.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.3409, allocations: 47.42 kB / 443.2 MB, free: 9.32 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3409, allocations: 0 / 443.2 MB, free: 9.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03473/0.3756, allocations: 5.139 MB / 448.3 MB, free: 4.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.58/8.956, allocations: 6.719 kB / 448.3 MB, free: 4.266 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 --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.370353753009113] Failed to read output from testmodel.py, exit status != 0: ['time', 'Hw.x_scaled[1]', 'Hw.x_scaled[2]'] 9.02905886300141 9.052895125 8.722624456 Calling exit ...