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.001844/0.001844, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.002121/0.002121, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.526/1.526, allocations: 230.5 MB / 254.7 MB, free: 15.02 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.001997/0.001997, allocations: 71.83 kB / 373.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1103, allocations: 53.32 MB / 426.9 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.DrydenContinuousTurbulence): time 0.003509/0.1139, allocations: 1.659 MB / 428.6 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002369/0.1162, allocations: 1.271 MB / 429.8 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.1163, allocations: 0 / 429.8 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003389/0.1167, allocations: 35.77 kB / 429.9 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.1168, allocations: 35.78 kB / 429.9 MB, free: 1.84 MB / 350.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.001029/0.1178, allocations: 291.1 kB / 430.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000335/0.1182, allocations: 183.5 kB / 430.4 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1183, allocations: 13.11 kB / 430.4 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/0.1185, allocations: 87.67 kB / 430.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007251/0.1192, allocations: 117.1 kB / 430.6 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.969e-05/0.1193, allocations: 12 kB / 430.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005729/0.1199, allocations: 287.5 kB / 430.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.12, allocations: 51.77 kB / 430.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.1201, allocations: 79.56 kB / 431 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006244/0.1207, allocations: 322.8 kB / 431.3 MB, free: 440 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.1207, allocations: 4 kB / 431.3 MB, free: 436 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1207, allocations: 0 / 431.3 MB, free: 436 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1207, allocations: 0 / 431.3 MB, free: 436 kB / 350.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.1991/0.3199, allocations: 0.5584 MB / 431.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.3199, allocations: 9.625 kB / 431.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.32, allocations: 41.11 kB / 431.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002466/0.3202, allocations: 31.38 kB / 431.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004832/0.3207, allocations: 264.7 kB / 432.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.3207, allocations: 9.281 kB / 432.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.3207, allocations: 8.328 kB / 432.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.321, allocations: 103.3 kB / 432.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.321, allocations: 3.938 kB / 432.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.321, allocations: 4.406 kB / 432.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.321, allocations: 4.531 kB / 432.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.3212, allocations: 84.98 kB / 432.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008208/0.322, allocations: 448.1 kB / 432.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.3223, allocations: 117.2 kB / 433 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.3224, allocations: 57.59 kB / 433 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.3224, allocations: 2.312 kB / 433 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002125/0.3226, allocations: 113.6 kB / 433.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.994e-06/0.3226, allocations: 0 / 433.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004963/0.3231, allocations: 240.1 kB / 433.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.3232, allocations: 57.73 kB / 433.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003866/0.3235, allocations: 251.1 kB / 433.7 MB, free: 9.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.3236, allocations: 35.19 kB / 433.7 MB, free: 9.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.851e-05/0.3236, allocations: 116.8 kB / 433.8 MB, free: 9.805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.058e-05/0.3237, allocations: 44.77 kB / 433.9 MB, free: 9.781 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.491e-05/0.3238, allocations: 46.64 kB / 433.9 MB, free: 9.766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.067e-05/0.3238, allocations: 336.4 kB / 434.2 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.324, allocations: 81.69 kB / 434.3 MB, free: 9.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.3241, allocations: 112.7 kB / 434.4 MB, free: 9.434 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/0.3243, allocations: 178.4 kB / 434.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3244, allocations: 1.062 kB / 434.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004339/0.3248, allocations: 255.4 kB / 434.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.3248, allocations: 9.688 kB / 434.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.3248, allocations: 0.5625 kB / 434.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3248, allocations: 4 kB / 434.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.325, allocations: 33.3 kB / 434.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.325, allocations: 6.156 kB / 434.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.3252, allocations: 26.62 kB / 434.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.3252, allocations: 7.719 kB / 434.9 MB, free: 9.359 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.0001207/0.3254, allocations: 142.7 kB / 435.1 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.3254, allocations: 14.59 kB / 435.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.447e-05/0.3255, allocations: 21.64 kB / 435.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3255, allocations: 1.156 kB / 435.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3255, allocations: 5.094 kB / 435.1 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3255, allocations: 5.156 kB / 435.1 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.3257, allocations: 242.3 kB / 435.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3257, allocations: 2.688 kB / 435.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.3258, allocations: 18.58 kB / 435.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3258, allocations: 4.125 kB / 435.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.3258, allocations: 6.594 kB / 435.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.3258, allocations: 1.859 kB / 435.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3258, allocations: 3.938 kB / 435.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004413/0.3263, allocations: 278.5 kB / 435.7 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.297e-05/0.3263, allocations: 110.1 kB / 435.8 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.3264, allocations: 7.953 kB / 435.8 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.3266, allocations: 20.78 kB / 435.8 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.3266, allocations: 14.36 kB / 435.8 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.3266, allocations: 6.312 kB / 435.8 MB, free: 8.844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003037/0.3269, allocations: 183.5 kB / 436 MB, free: 8.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3269, allocations: 4.906 kB / 436 MB, free: 8.766 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003914/0.3273, allocations: 89.53 kB / 436.1 MB, free: 8.758 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.001152/0.3285, allocations: 0.96 MB / 437.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003772/0.3289, allocations: 161.9 kB / 437.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3289, allocations: 0 / 437.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.329, allocations: 68.3 kB / 437.3 MB, free: 8.133 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.3292, allocations: 26.05 kB / 437.3 MB, free: 8.125 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003229/0.3325, allocations: 2.361 MB / 439.7 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001621/0.3326, allocations: 0.7301 MB / 440.4 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.3327, allocations: 37.25 kB / 440.4 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.806e-05/0.3328, allocations: 48.89 kB / 440.5 MB, free: 6.094 MB / 350.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3328, allocations: 0 / 440.5 MB, free: 6.094 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03497/0.3678, allocations: 5.168 MB / 445.7 MB, free: 5.465 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.735/9.103, allocations: 12.53 kB / 445.7 MB, free: 5.457 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.532186819706112] Failed to read output from testmodel.py, exit status != 0: ['time', 'Hw.x_scaled[1]', 'Hw.x_scaled[2]'] 9.175540793687105 9.190416123 9.065854514 Calling exit ...