Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.001637/0.001637, 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.00219/0.00219, allocations: 219.8 kB / 24.53 MB, free: 4.004 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.655/1.655, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.NormalNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 67.89 kB / 378.6 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3669, allocations: 53.41 MB / 432 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003565/0.3705, allocations: 1.883 MB / 433.9 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002529/0.373, allocations: 1.34 MB / 435.2 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.3731, allocations: 4 kB / 435.2 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.3733, allocations: 19.73 kB / 435.2 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001622/0.3734, allocations: 31.67 kB / 435.3 MB, free: 3.391 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.001093/0.3745, allocations: 315.1 kB / 435.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003222/0.3749, allocations: 219.5 kB / 435.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.3751, allocations: 56.55 kB / 435.8 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.3752, allocations: 95.62 kB / 435.9 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007103/0.3759, allocations: 132.9 kB / 436.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.822e-05/0.376, allocations: 23.94 kB / 436.1 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006197/0.3766, allocations: 327.4 kB / 436.4 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.087e-05/0.3767, allocations: 59.81 kB / 436.5 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.3768, allocations: 99.41 kB / 436.6 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006273/0.3774, allocations: 398.9 kB / 436.9 MB, free: 1.707 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3774, allocations: 0 / 436.9 MB, free: 1.707 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3774, allocations: 0 / 436.9 MB, free: 1.707 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.3774, allocations: 4 kB / 437 MB, free: 1.703 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.001199/0.3786, allocations: 0.5097 MB / 437.5 MB, free: 1.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.3787, allocations: 8.031 kB / 437.5 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.526e-05/0.3787, allocations: 4.188 kB / 437.5 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.528e-05/0.3788, allocations: 66.67 kB / 437.5 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002319/0.379, allocations: 32.78 kB / 437.6 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.3793, allocations: 186.1 kB / 437.8 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.693e-05/0.3793, allocations: 20.38 kB / 437.8 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.366e-05/0.3794, allocations: 20.38 kB / 437.8 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005449/0.3799, allocations: 213.2 kB / 438 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.38, allocations: 3.938 kB / 438 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.38, allocations: 8 kB / 438 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.38, allocations: 4 kB / 438 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005125/0.3805, allocations: 160.5 kB / 438.2 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.3817, allocations: 0.5613 MB / 438.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.3829, allocations: 313.5 kB / 439 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003354/0.3832, allocations: 123.8 kB / 439.2 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.3832, allocations: 4 kB / 439.2 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004547/0.3837, allocations: 183.4 kB / 439.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.573e-06/0.3837, allocations: 0 / 439.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.0033/0.387, allocations: 1.036 MB / 440.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.387, allocations: 71.38 kB / 440.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.3873, allocations: 222.9 kB / 440.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.224e-05/0.3873, allocations: 33.7 kB / 440.7 MB, free: 13.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.3874, allocations: 133 kB / 440.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.826e-05/0.3875, allocations: 115 kB / 440.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.3877, allocations: 78.11 kB / 441 MB, free: 13.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.3879, allocations: 338.8 kB / 441.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004755/0.3883, allocations: 164.8 kB / 441.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005006/0.3888, allocations: 206.4 kB / 441.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008901/0.3897, allocations: 337.5 kB / 442 MB, free: 12.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3897, allocations: 0 / 442 MB, free: 12.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001115/0.3908, allocations: 463.7 kB / 442.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.3909, allocations: 7.938 kB / 442.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.3909, allocations: 0 / 442.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.3909, allocations: 8.031 kB / 442.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004339/0.3913, allocations: 91.86 kB / 442.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.3913, allocations: 4 kB / 442.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/0.3916, allocations: 27.97 kB / 442.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.323e-05/0.3916, allocations: 15.98 kB / 442.6 MB, free: 11.78 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.0001868/0.3918, allocations: 154.5 kB / 442.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.149e-05/0.3918, allocations: 23.8 kB / 442.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.887e-05/0.3919, allocations: 34.62 kB / 442.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.3919, allocations: 4 kB / 442.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.3919, allocations: 0 / 442.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3919, allocations: 0 / 442.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.3937, allocations: 0.7564 MB / 443.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3937, allocations: 3.938 kB / 443.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003673/0.3941, allocations: 75.89 kB / 443.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.3941, allocations: 4 kB / 443.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.3941, allocations: 4 kB / 443.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.3941, allocations: 8 kB / 443.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.3941, allocations: 3.938 kB / 443.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.3957, allocations: 0.6071 MB / 444.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.543e-05/0.3957, allocations: 19.84 kB / 444.3 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.082e-05/0.3958, allocations: 12.06 kB / 444.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.396, allocations: 23.97 kB / 444.4 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.3961, allocations: 23.89 kB / 444.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.3962, allocations: 12 kB / 444.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002105/0.3964, allocations: 156.7 kB / 444.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3964, allocations: 4 kB / 444.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006892/0.3971, allocations: 107.8 kB / 444.7 MB, free: 9.672 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.002778/0.3998, allocations: 1.297 MB / 446 MB, free: 8.371 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.4011, allocations: 354.2 kB / 446.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.4011, allocations: 0 / 446.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000453/0.4015, allocations: 147.9 kB / 446.5 MB, free: 7.883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.4019, allocations: 35.88 kB / 446.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00617/0.4081, allocations: 3.145 MB / 449.6 MB, free: 4.613 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.4085, allocations: 0.7483 MB / 450.4 MB, free: 3.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001884/0.4087, allocations: 46.25 kB / 450.4 MB, free: 3.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.4089, allocations: 79.41 kB / 450.5 MB, free: 3.715 MB / 350.1 MB Notification: Performance of SimCode: time 1.823e-06/0.4089, allocations: 0 / 450.5 MB, free: 3.715 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03311/0.442, allocations: 7.14 MB / 457.6 MB, free: 12.69 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.14, allocations: 9.312 kB / 457.7 MB, free: 12.68 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-09 Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.959735303011257] 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.306728955998551 12.323403139 11.942625618 Calling exit ...