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.001655/0.001655, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.002005/0.002005, allocations: 210.9 kB / 24.52 MB, free: 3.941 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.597/1.597, allocations: 230.5 MB / 258.2 MB, free: 7.812 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.002918/0.002918, allocations: 59.91 kB / 378.5 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3172, allocations: 53.41 MB / 431.9 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003649/0.3208, allocations: 1.816 MB / 433.7 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002657/0.3235, allocations: 1.239 MB / 435 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.3236, allocations: 4 kB / 435 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.3237, allocations: 19.69 kB / 435 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000156/0.3239, allocations: 31.72 kB / 435 MB, free: 3.332 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.0009394/0.3248, allocations: 323.1 kB / 435.3 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002704/0.3251, allocations: 215.5 kB / 435.6 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.3252, allocations: 52.55 kB / 435.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.3254, allocations: 107.5 kB / 435.7 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006271/0.326, allocations: 119.5 kB / 435.8 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.889e-05/0.326, allocations: 24 kB / 435.8 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005821/0.3266, allocations: 327.4 kB / 436.2 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.247e-05/0.3267, allocations: 55.77 kB / 436.2 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.3268, allocations: 91.5 kB / 436.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006611/0.3275, allocations: 388.9 kB / 436.7 MB, free: 1.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3275, allocations: 4 kB / 436.7 MB, free: 1.656 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3275, allocations: 0 / 436.7 MB, free: 1.656 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.3275, allocations: 0 / 436.7 MB, free: 1.656 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.001264/0.3288, allocations: 0.5019 MB / 437.2 MB, free: 1.121 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.3288, allocations: 12.03 kB / 437.2 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.566e-05/0.3289, allocations: 12.17 kB / 437.2 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.569e-05/0.329, allocations: 58.69 kB / 437.3 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002504/0.3292, allocations: 40.72 kB / 437.3 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.3295, allocations: 186.1 kB / 437.5 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.764e-05/0.3295, allocations: 16.38 kB / 437.5 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.145e-05/0.3296, allocations: 24.31 kB / 437.5 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005532/0.3301, allocations: 209.2 kB / 437.7 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.3301, allocations: 7.984 kB / 437.8 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.3302, allocations: 4 kB / 437.8 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.3302, allocations: 4 kB / 437.8 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005205/0.3307, allocations: 164.5 kB / 437.9 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.3319, allocations: 0.5262 MB / 438.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.333, allocations: 306.7 kB / 438.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003176/0.3333, allocations: 127.8 kB / 438.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.3334, allocations: 3.953 kB / 438.9 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004463/0.3338, allocations: 179.5 kB / 439 MB, free: 15.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 2.154e-06/0.3338, allocations: 0 / 439 MB, free: 15.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.003325/0.3371, allocations: 1.04 MB / 440.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.653e-05/0.3372, allocations: 67.38 kB / 440.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.3375, allocations: 218.9 kB / 440.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.609e-05/0.3375, allocations: 37.7 kB / 440.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.3376, allocations: 133 kB / 440.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.3377, allocations: 111.1 kB / 440.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.3379, allocations: 78.11 kB / 440.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.338, allocations: 338.8 kB / 441.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00045/0.3385, allocations: 164.8 kB / 441.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004971/0.339, allocations: 202.4 kB / 441.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000849/0.3398, allocations: 341.5 kB / 441.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3398, allocations: 0 / 441.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001096/0.3409, allocations: 459.8 kB / 442.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.3409, allocations: 7.984 kB / 442.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.3409, allocations: 3.938 kB / 442.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.341, allocations: 4 kB / 442.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004216/0.3414, allocations: 91.91 kB / 442.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.775e-05/0.3414, allocations: 11.92 kB / 442.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.3416, allocations: 31.97 kB / 442.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.3416, allocations: 8 kB / 442.3 MB, free: 11.77 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.0001995/0.3418, allocations: 150.5 kB / 442.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/0.3419, allocations: 35.75 kB / 442.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.744e-05/0.342, allocations: 30.58 kB / 442.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.342, allocations: 4 kB / 442.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.342, allocations: 0 / 442.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.342, allocations: 0 / 442.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/0.3437, allocations: 0.7252 MB / 443.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3437, allocations: 0 / 443.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003588/0.344, allocations: 67.94 kB / 443.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.3441, allocations: 4 kB / 443.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/0.3441, allocations: 12 kB / 443.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.3441, allocations: 8 kB / 443.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.3441, allocations: 11.86 kB / 443.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.3455, allocations: 0.5993 MB / 444 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.3456, allocations: 19.86 kB / 444 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.98e-05/0.3456, allocations: 8.062 kB / 444 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.3459, allocations: 31.95 kB / 444 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.03e-05/0.3459, allocations: 23.91 kB / 444.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.346, allocations: 11.98 kB / 444.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001703/0.3461, allocations: 156.7 kB / 444.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3461, allocations: 0 / 444.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005564/0.3467, allocations: 107.8 kB / 444.3 MB, free: 9.695 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.002647/0.3493, allocations: 1.303 MB / 445.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.3506, allocations: 346.3 kB / 446 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.3506, allocations: 0 / 446 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004948/0.3511, allocations: 155.7 kB / 446.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004849/0.3515, allocations: 42.7 kB / 446.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006049/0.3576, allocations: 3.137 MB / 449.3 MB, free: 4.641 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002023/0.3578, allocations: 142.2 kB / 449.5 MB, free: 4.477 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002289/0.358, allocations: 38.27 kB / 449.5 MB, free: 4.441 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.3582, allocations: 83.39 kB / 449.6 MB, free: 4.359 MB / 350.1 MB Notification: Performance of SimCode: time 1.703e-06/0.3582, allocations: 0 / 449.6 MB, free: 4.359 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03672/0.395, allocations: 7.262 MB / 456.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.59, allocations: 8.062 kB / 456.8 MB, free: 13.22 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.301378989010118] 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'] 11.75067741505336 11.764687356 11.433932178 Calling exit ...