Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001326/0.001326, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001464/0.001464, allocations: 209.3 kB / 24.54 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.458/1.458, allocations: 230.6 MB / 258.3 MB, free: 8.07 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 60.77 kB / 378.6 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3067, allocations: 53.37 MB / 431.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003118/0.3099, allocations: 1.887 MB / 433.8 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.3118, allocations: 1.044 MB / 434.9 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.3119, allocations: 4 kB / 434.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.312, allocations: 15.75 kB / 434.9 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001934/0.3122, allocations: 43.64 kB / 434.9 MB, free: 3.895 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.0006414/0.3129, allocations: 199.4 kB / 435.1 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002698/0.3131, allocations: 215.5 kB / 435.3 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.3133, allocations: 48.56 kB / 435.4 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.3134, allocations: 103.6 kB / 435.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005768/0.314, allocations: 126.4 kB / 435.6 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.254e-05/0.314, allocations: 20 kB / 435.6 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003145/0.3143, allocations: 159.8 kB / 435.8 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.031e-05/0.3144, allocations: 59.77 kB / 435.8 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.3145, allocations: 95.45 kB / 435.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004232/0.315, allocations: 295.7 kB / 436.2 MB, free: 2.605 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.315, allocations: 8 kB / 436.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.315, allocations: 0 / 436.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.315, allocations: 0 / 436.2 MB, free: 2.598 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.001075/0.316, allocations: 498.1 kB / 436.7 MB, free: 2.078 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.3161, allocations: 8.031 kB / 436.7 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.508e-05/0.3162, allocations: 62.69 kB / 436.8 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001955/0.3164, allocations: 36.78 kB / 436.8 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.3166, allocations: 182.2 kB / 437 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.3166, allocations: 12.38 kB / 437 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.993e-05/0.3167, allocations: 27.89 kB / 437 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004876/0.3172, allocations: 203.2 kB / 437.2 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.3172, allocations: 7.938 kB / 437.2 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.3172, allocations: 8 kB / 437.2 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3172, allocations: 4 kB / 437.3 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005101/0.3177, allocations: 160.2 kB / 437.4 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.3188, allocations: 0.5505 MB / 438 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009942/0.3198, allocations: 294.7 kB / 438.2 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000293/0.3201, allocations: 104.8 kB / 438.4 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.3201, allocations: 7.984 kB / 438.4 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004114/0.3205, allocations: 163.2 kB / 438.5 MB, free: 168 kB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.924e-06/0.3205, allocations: 4 kB / 438.5 MB, free: 164 kB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001022/0.3216, allocations: 354.5 kB / 438.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.3216, allocations: 63.39 kB / 438.9 MB, free: 15.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.3218, allocations: 226.7 kB / 439.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.3219, allocations: 37.7 kB / 439.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.567e-05/0.322, allocations: 132.6 kB / 439.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.551e-05/0.322, allocations: 75.41 kB / 439.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.3222, allocations: 69.64 kB / 439.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3223, allocations: 338.8 kB / 439.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003559/0.3227, allocations: 135.8 kB / 439.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003656/0.323, allocations: 161.6 kB / 440.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000695/0.3237, allocations: 275.2 kB / 440.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.3237, allocations: 0 / 440.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008413/0.3246, allocations: 378.5 kB / 440.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.3246, allocations: 8 kB / 440.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.3246, allocations: 0 / 440.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3246, allocations: 3.938 kB / 440.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/0.3249, allocations: 71.88 kB / 440.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.3249, allocations: 3.984 kB / 440.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.3251, allocations: 47.84 kB / 440.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.3251, allocations: 8 kB / 440.9 MB, free: 13.76 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 (38): * Single equations (assignments): 37 * 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.0001739/0.3253, allocations: 154.1 kB / 441 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.3254, allocations: 27.84 kB / 441 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.418e-05/0.3254, allocations: 17.97 kB / 441.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3254, allocations: 4 kB / 441.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3254, allocations: 0 / 441.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.3254, allocations: 3.984 kB / 441.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.3266, allocations: 0.5987 MB / 441.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3266, allocations: 0 / 441.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.3268, allocations: 43.89 kB / 441.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3268, allocations: 0 / 441.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.3268, allocations: 8 kB / 441.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3268, allocations: 0 / 441.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3268, allocations: 0 / 441.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.3279, allocations: 481.7 kB / 442.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.882e-05/0.3279, allocations: 35.66 kB / 442.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.328, allocations: 12.06 kB / 442.2 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.3281, allocations: 23.97 kB / 442.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.255e-05/0.3282, allocations: 11.97 kB / 442.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.3282, allocations: 4 kB / 442.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001637/0.3284, allocations: 156.7 kB / 442.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3284, allocations: 0 / 442.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003535/0.3287, allocations: 63.92 kB / 442.5 MB, free: 12.06 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (17): * Single equations (assignments): 15 * 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.001733/0.3305, allocations: 1.113 MB / 443.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007788/0.3312, allocations: 268.2 kB / 443.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3313, allocations: 0 / 443.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003338/0.3316, allocations: 111.9 kB / 444 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.3319, allocations: 23.94 kB / 444 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006035/0.3379, allocations: 2.814 MB / 446.8 MB, free: 7.656 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004935/0.3384, allocations: 0.7398 MB / 447.5 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002084/0.3386, allocations: 33.92 kB / 447.6 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.3388, allocations: 67.41 kB / 447.6 MB, free: 6.793 MB / 350.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3388, allocations: 0 / 447.6 MB, free: 6.793 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03845/0.3773, allocations: 5.437 MB / 453.1 MB, free: 1.457 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.526/8.904, allocations: 15.38 kB / 453.1 MB, free: 1.445 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-09 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_UniformNoiseProperties.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.318620485719293] 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'] 8.977505047805607 8.993965536 8.675476523 Calling exit ...