Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001704/0.001704, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.002092/0.002092, allocations: 220.5 kB / 24.53 MB, free: 4.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.558/1.558, allocations: 230.5 MB / 258.2 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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) 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_trunk_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 63.91 kB / 378.6 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4053, allocations: 53.4 MB / 432 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.004372/0.4097, allocations: 1.5 MB / 433.5 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.4118, allocations: 0.5958 MB / 434.1 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.4119, allocations: 0 / 434.1 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001927/0.4121, allocations: 11.86 kB / 434.1 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.4123, allocations: 19.81 kB / 434.1 MB, free: 4.555 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.001043/0.4133, allocations: 147.6 kB / 434.2 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000274/0.4136, allocations: 119.7 kB / 434.4 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.145e-05/0.4137, allocations: 5.297 kB / 434.4 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.459e-05/0.4138, allocations: 51.73 kB / 434.4 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008343/0.4146, allocations: 76.84 kB / 434.5 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.166e-05/0.4147, allocations: 15.94 kB / 434.5 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004341/0.4151, allocations: 143.8 kB / 434.6 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.4152, allocations: 35.89 kB / 434.7 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.073e-05/0.4153, allocations: 55.67 kB / 434.7 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005679/0.4159, allocations: 191.7 kB / 434.9 MB, free: 3.738 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/0.4159, allocations: 0 / 434.9 MB, free: 3.738 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4159, allocations: 0 / 434.9 MB, free: 3.738 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.73e-05/0.4159, allocations: 4 kB / 434.9 MB, free: 3.734 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.0009233/0.4168, allocations: 389.4 kB / 435.3 MB, free: 3.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.4169, allocations: 12.03 kB / 435.3 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.932e-05/0.4169, allocations: 4.125 kB / 435.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.593e-05/0.417, allocations: 46.73 kB / 435.4 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004162/0.4175, allocations: 36.83 kB / 435.4 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.4177, allocations: 135.1 kB / 435.5 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.72e-05/0.4177, allocations: 8.375 kB / 435.5 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.802e-05/0.4178, allocations: 8.375 kB / 435.6 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003241/0.4181, allocations: 126.1 kB / 435.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.4181, allocations: 0 / 435.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.4181, allocations: 0 / 435.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.4181, allocations: 0 / 435.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001953/0.4183, allocations: 59.95 kB / 435.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008862/0.4192, allocations: 447.7 kB / 436.2 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003326/0.4195, allocations: 133.2 kB / 436.3 MB, free: 2.219 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.4197, allocations: 57.77 kB / 436.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.4197, allocations: 0 / 436.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003112/0.42, allocations: 145 kB / 436.5 MB, free: 1.996 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.093e-06/0.42, allocations: 3.938 kB / 436.5 MB, free: 1.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008976/0.4209, allocations: 337.1 kB / 436.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.654e-05/0.421, allocations: 97.09 kB / 436.9 MB, free: 1.543 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.4212, allocations: 178.2 kB / 437.1 MB, free: 1.359 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.097e-05/0.4212, allocations: 45.69 kB / 437.1 MB, free: 1.309 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.144e-05/0.4213, allocations: 108.6 kB / 437.3 MB, free: 1.199 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.19e-05/0.4214, allocations: 51.62 kB / 437.3 MB, free: 1.148 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.4215, allocations: 61.69 kB / 437.4 MB, free: 1.082 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.4217, allocations: 330.8 kB / 437.7 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.4219, allocations: 99.94 kB / 437.8 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.4221, allocations: 144.2 kB / 437.9 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000392/0.4225, allocations: 226.4 kB / 438.1 MB, free: 268 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4225, allocations: 0 / 438.1 MB, free: 268 kB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005526/0.4231, allocations: 317.3 kB / 438.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.4231, allocations: 4 kB / 438.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.4231, allocations: 0 / 438.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.4231, allocations: 4 kB / 438.5 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.4233, allocations: 35.86 kB / 438.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.4233, allocations: 0 / 438.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.105e-05/0.4234, allocations: 15.98 kB / 438.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.4234, allocations: 8 kB / 438.5 MB, free: 15.88 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (31): * Single equations (assignments): 29 * 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.0001902/0.4236, allocations: 161.7 kB / 438.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.4236, allocations: 11.91 kB / 438.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.894e-05/0.4237, allocations: 13.41 kB / 438.7 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.4237, allocations: 4 kB / 438.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.4237, allocations: 0 / 438.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.4237, allocations: 3.984 kB / 438.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007176/0.4244, allocations: 423.1 kB / 439.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4244, allocations: 0 / 439.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.9e-05/0.4245, allocations: 16.11 kB / 439.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.4245, allocations: 0 / 439.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.4245, allocations: 8.469 kB / 439.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-06/0.4245, allocations: 7.922 kB / 439.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4245, allocations: 0 / 439.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004661/0.425, allocations: 324.6 kB / 439.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.801e-05/0.425, allocations: 15.91 kB / 439.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/0.425, allocations: 8.047 kB / 439.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.566e-05/0.4251, allocations: 19.91 kB / 439.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.616e-05/0.4252, allocations: 15.98 kB / 439.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.4252, allocations: 7.984 kB / 439.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001203/0.4253, allocations: 128.2 kB / 439.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4253, allocations: 0 / 439.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003611/0.4257, allocations: 43.94 kB / 439.7 MB, free: 14.61 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition2,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.001578/0.4273, allocations: 1.02 MB / 440.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005306/0.4278, allocations: 192.5 kB / 440.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4278, allocations: 4 kB / 440.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.428, allocations: 60.22 kB / 441 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.4283, allocations: 19.92 kB / 441 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003443/0.4317, allocations: 2.251 MB / 443.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/0.4322, allocations: 0.724 MB / 444 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000111/0.4323, allocations: 17.08 kB / 444 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.4324, allocations: 43.42 kB / 444 MB, free: 10.14 MB / 350.1 MB Notification: Performance of SimCode: time 1.973e-06/0.4324, allocations: 3.938 kB / 444 MB, free: 10.13 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03092/0.4634, allocations: 4.036 MB / 448.1 MB, free: 6.211 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.22, allocations: 7.5 kB / 448.1 MB, free: 6.207 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise_fmu --startTime=0 --stopTime=2 --stepSize=0.00039208 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoise.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.91927521902835] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformNoise2_y'] 12.387286293960642 12.402818667 11.983445446 Calling exit ...