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.001711/0.001711, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.002146/0.002146, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.5/1.5, allocations: 230.4 MB / 254.7 MB, free: 14.84 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.002103/0.002103, allocations: 68.08 kB / 373.6 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1092, allocations: 53.31 MB / 426.9 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003303/0.1125, allocations: 1.877 MB / 428.8 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001924/0.1144, allocations: 1.021 MB / 429.8 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.525e-05/0.1145, allocations: 4 kB / 429.8 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.1146, allocations: 23.67 kB / 429.8 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001834/0.1148, allocations: 31.72 kB / 429.9 MB, free: 1.84 MB / 350.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.0005597/0.1153, allocations: 191.5 kB / 430 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002722/0.1156, allocations: 219.5 kB / 430.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.1158, allocations: 52.22 kB / 430.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.1159, allocations: 103.5 kB / 430.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005817/0.1165, allocations: 117.6 kB / 430.5 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.185e-05/0.1165, allocations: 23.98 kB / 430.5 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002433/0.1168, allocations: 127.8 kB / 430.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.03e-05/0.1168, allocations: 63.77 kB / 430.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.1169, allocations: 95.45 kB / 430.8 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004264/0.1174, allocations: 302.8 kB / 431.1 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1174, allocations: 0 / 431.1 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1174, allocations: 0 / 431.1 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1174, allocations: 4 kB / 431.1 MB, free: 0.5664 MB / 350.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.2226/0.34, allocations: 0.5553 MB / 431.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.3401, allocations: 10.88 kB / 431.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.284e-05/0.3402, allocations: 52 kB / 431.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002817/0.3404, allocations: 39.88 kB / 431.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.3407, allocations: 239.9 kB / 432 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.816e-05/0.3407, allocations: 18.56 kB / 432 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.342e-05/0.3408, allocations: 21.47 kB / 432.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005152/0.3413, allocations: 207.5 kB / 432.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3413, allocations: 8.625 kB / 432.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.3413, allocations: 6.219 kB / 432.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.3414, allocations: 3.281 kB / 432.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004874/0.3418, allocations: 158.8 kB / 432.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.3428, allocations: 0.582 MB / 433 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.3439, allocations: 293.3 kB / 433.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002842/0.3442, allocations: 113.6 kB / 433.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.3442, allocations: 9.844 kB / 433.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003723/0.3446, allocations: 166.6 kB / 433.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.974e-06/0.3446, allocations: 0 / 433.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0009949/0.3456, allocations: 355.6 kB / 433.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.3456, allocations: 63.03 kB / 434 MB, free: 10.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.3458, allocations: 224.2 kB / 434.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.3458, allocations: 38.89 kB / 434.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.637e-05/0.3459, allocations: 134.7 kB / 434.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.146e-05/0.346, allocations: 72.62 kB / 434.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.852e-05/0.3461, allocations: 67.53 kB / 434.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.825e-05/0.3461, allocations: 335 kB / 434.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003389/0.3465, allocations: 132.3 kB / 435 MB, free: 9.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/0.3468, allocations: 164.2 kB / 435.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006172/0.3474, allocations: 268.3 kB / 435.4 MB, free: 9.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3474, allocations: 5.281 kB / 435.4 MB, free: 9.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008087/0.3482, allocations: 382.5 kB / 435.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.3483, allocations: 5.469 kB / 435.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.3483, allocations: 1 kB / 435.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.3483, allocations: 5.531 kB / 435.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002949/0.3486, allocations: 69.83 kB / 435.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.3486, allocations: 2.859 kB / 435.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.3488, allocations: 42.17 kB / 435.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.3488, allocations: 8.031 kB / 435.9 MB, free: 9.309 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.000124/0.3489, allocations: 150.6 kB / 436.1 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.349, allocations: 19.95 kB / 436.1 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.292e-05/0.349, allocations: 25.67 kB / 436.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.349, allocations: 3.703 kB / 436.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.349, allocations: 0 / 436.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.349, allocations: 1.406 kB / 436.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.35, allocations: 0.6263 MB / 436.7 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.35, allocations: 1 kB / 436.7 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.3503, allocations: 44.53 kB / 436.8 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.3503, allocations: 1.703 kB / 436.8 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.3503, allocations: 5.688 kB / 436.8 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3503, allocations: 1.734 kB / 436.8 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.3503, allocations: 5.125 kB / 436.8 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009887/0.3513, allocations: 489.3 kB / 437.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.3514, allocations: 95.59 kB / 437.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.41e-05/0.3514, allocations: 9.719 kB / 437.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.3516, allocations: 25 kB / 437.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.147e-05/0.3516, allocations: 11.56 kB / 437.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.3517, allocations: 10.48 kB / 437.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000151/0.3518, allocations: 159 kB / 437.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3518, allocations: 0 / 437.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003969/0.3522, allocations: 69.34 kB / 437.6 MB, free: 8.492 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.001554/0.3538, allocations: 1.103 MB / 438.7 MB, free: 7.809 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007698/0.3545, allocations: 268.7 kB / 439 MB, free: 7.781 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3545, allocations: 0 / 439 MB, free: 7.781 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003179/0.3549, allocations: 107 kB / 439.1 MB, free: 7.762 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.3552, allocations: 24.19 kB / 439.1 MB, free: 7.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004016/0.3592, allocations: 2.83 MB / 442 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.3595, allocations: 0.7414 MB / 442.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001583/0.3596, allocations: 30.39 kB / 442.7 MB, free: 5.305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.3597, allocations: 72.31 kB / 442.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3597, allocations: 0 / 442.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03319/0.3929, allocations: 5.333 MB / 448.1 MB, free: 4.586 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.674/9.067, allocations: 7.281 kB / 448.1 MB, free: 4.586 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.571189426817] 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'] 9.1396615030244 9.157003643 9.035816001 Calling exit ...