Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.00137/0.00137, 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.001463/0.001463, allocations: 215.8 kB / 24.53 MB, free: 4.012 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.636/1.636, allocations: 230.5 MB / 258.2 MB, free: 8.035 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.UniformNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 55.91 kB / 378.6 MB, free: 3.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4096, allocations: 53.42 MB / 432 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003733/0.4133, allocations: 1.879 MB / 433.9 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.4156, allocations: 1.055 MB / 434.9 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.4157, allocations: 0 / 434.9 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.4158, allocations: 23.67 kB / 434.9 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002331/0.4161, allocations: 27.73 kB / 435 MB, free: 3.688 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.0007582/0.4168, allocations: 195.5 kB / 435.2 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002789/0.4171, allocations: 219.5 kB / 435.4 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.4173, allocations: 60.47 kB / 435.4 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.4174, allocations: 99.61 kB / 435.5 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006448/0.418, allocations: 124.8 kB / 435.7 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.397e-05/0.4181, allocations: 20 kB / 435.7 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003396/0.4184, allocations: 163.7 kB / 435.8 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.23e-05/0.4185, allocations: 55.83 kB / 435.9 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.4187, allocations: 99.44 kB / 436 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004947/0.4192, allocations: 303.2 kB / 436.3 MB, free: 2.383 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4192, allocations: 0 / 436.3 MB, free: 2.383 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4192, allocations: 0 / 436.3 MB, free: 2.383 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.4192, allocations: 4 kB / 436.3 MB, free: 2.379 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001364/0.4205, allocations: 494.2 kB / 436.8 MB, free: 1.863 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.936e-05/0.4206, allocations: 12.03 kB / 436.8 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.482e-05/0.4207, allocations: 16.11 kB / 436.8 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.638e-05/0.4208, allocations: 50.69 kB / 436.8 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002617/0.421, allocations: 36.78 kB / 436.9 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.4213, allocations: 190.1 kB / 437.1 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.763e-05/0.4213, allocations: 20.38 kB / 437.1 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.551e-05/0.4214, allocations: 20.38 kB / 437.1 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005822/0.422, allocations: 209.2 kB / 437.3 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.422, allocations: 0 / 437.3 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.422, allocations: 8 kB / 437.3 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.422, allocations: 4 kB / 437.3 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005459/0.4226, allocations: 164.5 kB / 437.5 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.4239, allocations: 0.5574 MB / 438 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.4251, allocations: 317.4 kB / 438.3 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003353/0.4255, allocations: 124.7 kB / 438.5 MB, free: 68 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.542e-05/0.4255, allocations: 7.969 kB / 438.5 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005047/0.426, allocations: 171.9 kB / 438.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.964e-06/0.426, allocations: 4 kB / 438.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.003638/0.4296, allocations: 1.039 MB / 439.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.168e-05/0.4297, allocations: 63.39 kB / 439.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.43, allocations: 226.9 kB / 440 MB, free: 14.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.895e-05/0.4301, allocations: 41.7 kB / 440 MB, free: 14.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.4302, allocations: 132.9 kB / 440.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.4303, allocations: 107.1 kB / 440.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.4305, allocations: 82.11 kB / 440.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.4306, allocations: 338.8 kB / 440.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004607/0.4311, allocations: 164.8 kB / 440.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004996/0.4316, allocations: 202.4 kB / 441 MB, free: 13.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009546/0.4326, allocations: 341.5 kB / 441.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4326, allocations: 0 / 441.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001218/0.4338, allocations: 467.7 kB / 441.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.4338, allocations: 4 kB / 441.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.4338, allocations: 4.031 kB / 441.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.758e-05/0.4338, allocations: 7.984 kB / 441.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004413/0.4343, allocations: 91.86 kB / 441.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/0.4343, allocations: 4 kB / 441.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.4345, allocations: 23.97 kB / 441.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.4346, allocations: 19.98 kB / 442 MB, free: 12.46 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.seed,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * 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.0002327/0.4348, allocations: 150.5 kB / 442.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.842e-05/0.4348, allocations: 23.8 kB / 442.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.197e-05/0.4349, allocations: 30.64 kB / 442.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.4349, allocations: 4 kB / 442.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.435, allocations: 4 kB / 442.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.435, allocations: 3.984 kB / 442.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.4367, allocations: 0.7486 MB / 442.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.4367, allocations: 8.031 kB / 442.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003459/0.4371, allocations: 71.86 kB / 443 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.4371, allocations: 0 / 443 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.4371, allocations: 4 kB / 443 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.4371, allocations: 4 kB / 443 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.4371, allocations: 3.938 kB / 443 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.4385, allocations: 0.6074 MB / 443.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/0.4386, allocations: 19.8 kB / 443.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.064e-05/0.4386, allocations: 12 kB / 443.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.4389, allocations: 31.95 kB / 443.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.529e-05/0.4389, allocations: 27.84 kB / 443.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.743e-05/0.439, allocations: 11.98 kB / 443.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000203/0.4392, allocations: 160.7 kB / 443.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4392, allocations: 0 / 443.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000468/0.4396, allocations: 71.92 kB / 443.9 MB, free: 10.4 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * 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.002297/0.4419, allocations: 1.23 MB / 445.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001047/0.443, allocations: 350.5 kB / 445.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.443, allocations: 0 / 445.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004482/0.4434, allocations: 151.9 kB / 445.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.4438, allocations: 44.06 kB / 445.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00554/0.4494, allocations: 3.138 MB / 448.8 MB, free: 5.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.4498, allocations: 0.7522 MB / 449.6 MB, free: 4.633 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001738/0.45, allocations: 38.22 kB / 449.6 MB, free: 4.594 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.4501, allocations: 83.39 kB / 449.7 MB, free: 4.512 MB / 350.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4501, allocations: 0 / 449.7 MB, free: 4.512 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04198/0.4921, allocations: 6.372 MB / 456.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.41, allocations: 9.312 kB / 456.1 MB, free: 14.25 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-09 Modelica_trunk_Modelica_Blocks_Examples_Noise_UniformNoiseProperties.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.256936430989299] Failed to read output from testmodel.py, exit status != 0: ['time', 'meanError_y', 'sigmaError_y', 'mean.y', 'variance.mu', 'variance.var', 'standardDeviation.variance.mu', 'standardDeviation.variance.var'] 12.575464739988092 12.596063568 12.173564586 Calling exit ...