Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.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.001871/0.001871, allocations: 105.1 kB / 21.22 MB, free: 0.6797 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.001941/0.001941, allocations: 209.9 kB / 24.54 MB, free: 4.055 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.051 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.UniformNoise,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_UniformNoise",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.003353/0.003353, allocations: 64.77 kB / 378.5 MB, free: 3.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4297/0.4331, allocations: 53.36 MB / 431.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.002896/0.436, allocations: 1.511 MB / 433.4 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.4372, allocations: 0.5924 MB / 434 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.963e-05/0.4372, allocations: 0 / 434 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.4374, allocations: 19.8 kB / 434 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.412e-05/0.4374, allocations: 11.86 kB / 434 MB, free: 4.762 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.0005978/0.438, allocations: 159.5 kB / 434.2 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.4382, allocations: 107.7 kB / 434.3 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.31e-05/0.4382, allocations: 13.28 kB / 434.3 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.358e-05/0.4383, allocations: 43.86 kB / 434.4 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006458/0.4389, allocations: 83.92 kB / 434.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.439, allocations: 12 kB / 434.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002995/0.4393, allocations: 143.8 kB / 434.6 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.089e-05/0.4393, allocations: 35.89 kB / 434.6 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.785e-05/0.4394, allocations: 51.67 kB / 434.7 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000333/0.4397, allocations: 200.1 kB / 434.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.4397, allocations: 4 kB / 434.9 MB, free: 3.938 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4397, allocations: 0 / 434.9 MB, free: 3.938 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.4397, allocations: 0 / 434.9 MB, free: 3.938 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.0006668/0.4404, allocations: 385.4 kB / 435.3 MB, free: 3.531 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.4405, allocations: 12.03 kB / 435.3 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.462e-05/0.4405, allocations: 38.73 kB / 435.3 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003115/0.4408, allocations: 40.83 kB / 435.3 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.441, allocations: 143.1 kB / 435.5 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.441, allocations: 8.375 kB / 435.5 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.441, allocations: 8.375 kB / 435.5 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.4413, allocations: 119.2 kB / 435.6 MB, free: 3.125 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.4413, allocations: 4 kB / 435.6 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.4413, allocations: 0 / 435.6 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.4413, allocations: 0 / 435.6 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.4415, allocations: 59.89 kB / 435.7 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006853/0.4422, allocations: 427.9 kB / 436.1 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.4425, allocations: 125.2 kB / 436.2 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.4426, allocations: 53.75 kB / 436.3 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.4426, allocations: 3.938 kB / 436.3 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000269/0.4429, allocations: 145 kB / 436.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.112e-06/0.4429, allocations: 0 / 436.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005238/0.4434, allocations: 237.5 kB / 436.6 MB, free: 1.996 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.691e-05/0.4435, allocations: 97.03 kB / 436.7 MB, free: 1.883 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.4437, allocations: 178.2 kB / 436.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.407e-05/0.4437, allocations: 49.69 kB / 437 MB, free: 1.645 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.796e-05/0.4438, allocations: 104.6 kB / 437.1 MB, free: 1.539 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.4438, allocations: 47.62 kB / 437.1 MB, free: 1.492 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.71e-05/0.4439, allocations: 61.92 kB / 437.2 MB, free: 1.422 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.4441, allocations: 330.8 kB / 437.5 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.4443, allocations: 96.47 kB / 437.6 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.4445, allocations: 128.4 kB / 437.7 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003512/0.4448, allocations: 215.4 kB / 437.9 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4448, allocations: 0 / 437.9 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004784/0.4453, allocations: 293.3 kB / 438.2 MB, free: 356 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.4453, allocations: 4 kB / 438.2 MB, free: 352 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.4453, allocations: 4.062 kB / 438.2 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.4453, allocations: 4 kB / 438.2 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.4455, allocations: 27.98 kB / 438.3 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.4455, allocations: 7.922 kB / 438.3 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.281e-05/0.4456, allocations: 19.83 kB / 438.3 MB, free: 288 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.4456, allocations: 8 kB / 438.3 MB, free: 280 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1],uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 2 * 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.0001532/0.4457, allocations: 141.8 kB / 438.4 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.4458, allocations: 15.91 kB / 438.4 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.05e-05/0.4458, allocations: 21.33 kB / 438.5 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4458, allocations: 0 / 438.5 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4458, allocations: 0 / 438.5 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4458, allocations: 7.938 kB / 438.5 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.446, allocations: 180.6 kB / 438.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.446, allocations: 3.938 kB / 438.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.359e-05/0.4461, allocations: 11.98 kB / 438.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4461, allocations: 0 / 438.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.4461, allocations: 4 kB / 438.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.4461, allocations: 4 kB / 438.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.4461, allocations: 4 kB / 438.7 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003715/0.4465, allocations: 224.1 kB / 438.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.502e-05/0.4465, allocations: 11.91 kB / 438.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.536e-05/0.4465, allocations: 16.08 kB / 438.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.743e-05/0.4466, allocations: 8 kB / 438.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.618e-05/0.4466, allocations: 27.83 kB / 439 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.567e-06/0.4467, allocations: 4 kB / 439 MB, free: 15.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001111/0.4468, allocations: 128.2 kB / 439.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4468, allocations: 0 / 439.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002933/0.4471, allocations: 47.94 kB / 439.1 MB, free: 15.36 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw,$whenCondition1,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw) * Number of discrete states: 8 (uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001151/0.4482, allocations: 0.905 MB / 440 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003987/0.4486, allocations: 183.8 kB / 440.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4486, allocations: 0 / 440.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.4487, allocations: 47.98 kB / 440.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.4489, allocations: 15.92 kB / 440.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002534/0.4515, allocations: 2.089 MB / 442.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.4518, allocations: 0.7157 MB / 443.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.134e-05/0.4519, allocations: 20.95 kB / 443.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.718e-05/0.4519, allocations: 39.42 kB / 443.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4519, allocations: 0 / 443.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.029/0.4809, allocations: 3.748 MB / 446.9 MB, free: 7.562 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.348/8.829, allocations: 1.406 kB / 446.9 MB, free: 7.562 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039208 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_UniformNoise.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.362488543149084] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformNoise2_y'] 8.905017246026546 8.922293384 8.479008829 Calling exit ...