Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001457/0.001457, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001506/0.001506, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.503/1.503, allocations: 230.6 MB / 258.3 MB, free: 8.059 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.NormalNoiseProperties,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",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.001929/0.001929, allocations: 60.77 kB / 378.6 MB, free: 3.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2897, allocations: 53.37 MB / 431.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003436/0.2931, allocations: 1.886 MB / 433.8 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0025/0.2956, allocations: 1.344 MB / 435.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.2957, allocations: 0 / 435.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.2959, allocations: 19.73 kB / 435.2 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001575/0.296, allocations: 31.67 kB / 435.2 MB, free: 3.602 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.0009211/0.2969, allocations: 319.2 kB / 435.5 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002863/0.2972, allocations: 219.4 kB / 435.7 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.2974, allocations: 52.55 kB / 435.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.2975, allocations: 103.6 kB / 435.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000648/0.2982, allocations: 119.5 kB / 436 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.347e-05/0.2982, allocations: 24 kB / 436 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005562/0.2988, allocations: 335.4 kB / 436.4 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.123e-05/0.2988, allocations: 59.81 kB / 436.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.299, allocations: 99.41 kB / 436.5 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005703/0.2995, allocations: 403.3 kB / 436.9 MB, free: 1.906 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2995, allocations: 0 / 436.9 MB, free: 1.906 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2995, allocations: 0 / 436.9 MB, free: 1.906 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.2995, allocations: 0 / 436.9 MB, free: 1.906 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.001141/0.3007, allocations: 0.5097 MB / 437.4 MB, free: 1.363 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.3007, allocations: 12.03 kB / 437.4 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.228e-05/0.3008, allocations: 50.69 kB / 437.5 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002213/0.301, allocations: 36.78 kB / 437.5 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.3013, allocations: 182.2 kB / 437.7 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.188e-05/0.3013, allocations: 16.38 kB / 437.7 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.985e-05/0.3014, allocations: 23.89 kB / 437.7 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005458/0.3019, allocations: 207.3 kB / 437.9 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3019, allocations: 0 / 437.9 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.3019, allocations: 8 kB / 437.9 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.302, allocations: 4 kB / 437.9 MB, free: 0.793 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004938/0.3024, allocations: 160.1 kB / 438.1 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.3035, allocations: 0.5544 MB / 438.7 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.3046, allocations: 293.8 kB / 438.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/0.3049, allocations: 104.8 kB / 439 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.3049, allocations: 15.91 kB / 439.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004189/0.3054, allocations: 159.3 kB / 439.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.764e-06/0.3054, allocations: 0 / 439.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001079/0.3064, allocations: 359.1 kB / 439.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/0.3065, allocations: 63.41 kB / 439.6 MB, free: 15.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.3067, allocations: 222.7 kB / 439.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.096e-05/0.3068, allocations: 41.7 kB / 439.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.867e-05/0.3069, allocations: 128.6 kB / 440 MB, free: 14.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.599e-05/0.307, allocations: 71.42 kB / 440.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.3071, allocations: 73.62 kB / 440.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3072, allocations: 342.8 kB / 440.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003617/0.3076, allocations: 127.9 kB / 440.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003794/0.308, allocations: 161.6 kB / 440.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006543/0.3086, allocations: 271.2 kB / 441 MB, free: 13.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3086, allocations: 0 / 441 MB, free: 13.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008825/0.3095, allocations: 378.6 kB / 441.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.3095, allocations: 4 kB / 441.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3095, allocations: 0 / 441.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.3096, allocations: 4 kB / 441.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003378/0.3099, allocations: 75.91 kB / 441.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.3099, allocations: 4 kB / 441.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.3101, allocations: 43.69 kB / 441.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.3101, allocations: 12 kB / 441.5 MB, free: 13.06 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.0001808/0.3103, allocations: 154.1 kB / 441.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/0.3103, allocations: 23.86 kB / 441.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.047e-05/0.3104, allocations: 21.97 kB / 441.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3104, allocations: 0 / 441.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.3104, allocations: 7.984 kB / 441.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.3104, allocations: 0 / 441.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.3116, allocations: 0.5948 MB / 442.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.3116, allocations: 3.984 kB / 442.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/0.3118, allocations: 43.91 kB / 442.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.3119, allocations: 7.938 kB / 442.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.3119, allocations: 3.984 kB / 442.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3119, allocations: 0 / 442.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.3119, allocations: 4 kB / 442.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.3129, allocations: 482.1 kB / 442.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.909e-05/0.313, allocations: 31.72 kB / 442.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/0.313, allocations: 8.062 kB / 442.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.3132, allocations: 23.97 kB / 442.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/0.3133, allocations: 7.984 kB / 442.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.3133, allocations: 7.984 kB / 443 MB, free: 11.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001589/0.3134, allocations: 156.7 kB / 443.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3134, allocations: 4 kB / 443.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004468/0.3139, allocations: 99.8 kB / 443.2 MB, free: 11.32 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.001987/0.3159, allocations: 1.174 MB / 444.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008043/0.3167, allocations: 272.2 kB / 444.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3167, allocations: 0 / 444.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003176/0.317, allocations: 103.8 kB / 444.7 MB, free: 9.777 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.3173, allocations: 36.12 kB / 444.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004429/0.3218, allocations: 2.827 MB / 447.6 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.3221, allocations: 0.7398 MB / 448.3 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001397/0.3223, allocations: 33.94 kB / 448.4 MB, free: 6.039 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.3224, allocations: 71.41 kB / 448.5 MB, free: 5.969 MB / 350.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3224, allocations: 0 / 448.5 MB, free: 5.969 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03619/0.3586, allocations: 6.202 MB / 454.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.582/8.941, allocations: 6.516 kB / 454.7 MB, free: 15.87 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.004 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_NormalNoiseProperties.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.573583900928497] 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.017673444002867 9.042331744 8.738079689 Calling exit ...