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.001359/0.001359, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001592/0.001592, allocations: 214.8 kB / 24.52 MB, free: 3.91 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.518/1.518, allocations: 230.5 MB / 258.2 MB, free: 8 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.001833/0.001833, allocations: 55.91 kB / 378.5 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4121, allocations: 53.4 MB / 431.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.003252/0.4153, allocations: 1.488 MB / 433.4 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.4168, allocations: 0.5764 MB / 434 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.751e-05/0.4168, allocations: 0 / 434 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.4169, allocations: 7.875 kB / 434 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.275e-05/0.417, allocations: 19.78 kB / 434 MB, free: 4.387 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.0007412/0.4178, allocations: 151.6 kB / 434.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002285/0.418, allocations: 107.7 kB / 434.2 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.458e-05/0.4181, allocations: 9.297 kB / 434.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.671e-05/0.4182, allocations: 59.66 kB / 434.3 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006932/0.4189, allocations: 73.17 kB / 434.4 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.635e-05/0.4189, allocations: 16 kB / 434.4 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003247/0.4192, allocations: 143.8 kB / 434.5 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.294e-05/0.4193, allocations: 35.84 kB / 434.6 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.601e-05/0.4194, allocations: 43.73 kB / 434.6 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003886/0.4198, allocations: 189.6 kB / 434.8 MB, free: 3.578 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4198, allocations: 0 / 434.8 MB, free: 3.578 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.4198, allocations: 0 / 434.8 MB, free: 3.578 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.4198, allocations: 0 / 434.8 MB, free: 3.578 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.0007341/0.4205, allocations: 393.4 kB / 435.2 MB, free: 3.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.4206, allocations: 8.031 kB / 435.2 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.08e-05/0.4206, allocations: 12.17 kB / 435.2 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.25e-05/0.4207, allocations: 34.69 kB / 435.2 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000325/0.421, allocations: 48.81 kB / 435.3 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.4211, allocations: 131.1 kB / 435.4 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.4212, allocations: 8.375 kB / 435.4 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.247e-05/0.4212, allocations: 8.375 kB / 435.4 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002775/0.4215, allocations: 126.2 kB / 435.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.4215, allocations: 4 kB / 435.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.4215, allocations: 0 / 435.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.4215, allocations: 4 kB / 435.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001929/0.4217, allocations: 59.95 kB / 435.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007897/0.4225, allocations: 419.8 kB / 436 MB, free: 2.227 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000334/0.4228, allocations: 125.2 kB / 436.2 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.423, allocations: 69.69 kB / 436.2 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.423, allocations: 0 / 436.2 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003283/0.4233, allocations: 149 kB / 436.4 MB, free: 1.848 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.763e-06/0.4233, allocations: 0 / 436.4 MB, free: 1.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009583/0.4243, allocations: 337.1 kB / 436.7 MB, free: 1.512 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.4244, allocations: 93.11 kB / 436.8 MB, free: 1.402 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.4246, allocations: 186.2 kB / 437 MB, free: 1.211 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.246e-05/0.4247, allocations: 49.69 kB / 437 MB, free: 1.156 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.794e-05/0.4248, allocations: 100.6 kB / 437.1 MB, free: 1.055 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.765e-05/0.4248, allocations: 51.62 kB / 437.2 MB, free: 1.004 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.714e-05/0.4249, allocations: 57.7 kB / 437.2 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.4251, allocations: 334.8 kB / 437.5 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.4253, allocations: 99.94 kB / 437.6 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/0.4256, allocations: 140.2 kB / 437.8 MB, free: 364 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003672/0.4259, allocations: 230.5 kB / 438 MB, free: 120 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.4259, allocations: 0 / 438 MB, free: 120 kB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005467/0.4265, allocations: 313.2 kB / 438.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.4265, allocations: 8 kB / 438.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.4265, allocations: 0 / 438.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.4265, allocations: 4 kB / 438.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.4267, allocations: 40 kB / 438.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.4267, allocations: 0 / 438.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.787e-05/0.4268, allocations: 8 kB / 438.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/0.4268, allocations: 12 kB / 438.4 MB, free: 15.74 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.0001801/0.427, allocations: 157.6 kB / 438.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.239e-05/0.427, allocations: 15.89 kB / 438.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.605e-05/0.4271, allocations: 13.41 kB / 438.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.4271, allocations: 0 / 438.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.4271, allocations: 8 kB / 438.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.4271, allocations: 0 / 438.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005906/0.4277, allocations: 411.1 kB / 439 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.4277, allocations: 0 / 439 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.505e-05/0.4277, allocations: 12 kB / 439 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.4277, allocations: 3.984 kB / 439 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.4277, allocations: 8.594 kB / 439 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.4278, allocations: 7.938 kB / 439 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4278, allocations: 4.062 kB / 439 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004424/0.4282, allocations: 320.5 kB / 439.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.718e-05/0.4282, allocations: 15.91 kB / 439.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.4283, allocations: 11.98 kB / 439.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.003e-05/0.4284, allocations: 7.938 kB / 439.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.76e-05/0.4284, allocations: 27.94 kB / 439.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.4284, allocations: 4 kB / 439.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001211/0.4286, allocations: 128.2 kB / 439.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4286, allocations: 0 / 439.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000359/0.4289, allocations: 51.92 kB / 439.6 MB, free: 14.46 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.001301/0.4302, allocations: 1.02 MB / 440.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004605/0.4307, allocations: 196.4 kB / 440.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.4307, allocations: 0 / 440.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.4308, allocations: 59.91 kB / 440.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.4311, allocations: 15.55 kB / 440.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003048/0.4341, allocations: 2.247 MB / 443.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.4343, allocations: 106.1 kB / 443.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.642e-05/0.4343, allocations: 21.06 kB / 443.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.392e-05/0.4344, allocations: 43.42 kB / 443.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4344, allocations: 3.938 kB / 443.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02659/0.461, allocations: 4.054 MB / 447.3 MB, free: 6.684 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.67, allocations: 7.969 kB / 447.3 MB, free: 6.68 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.280141217983328] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformNoise2_y'] 11.829453254933469 11.850922531 11.427051567 Calling exit ...