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.001617/0.001617, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001735/0.001735, allocations: 213.6 kB / 24.54 MB, free: 4.02 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.511/1.511, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.002976/0.002976, allocations: 72.75 kB / 378.6 MB, free: 3.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3591, 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.003596/0.3627, allocations: 1.895 MB / 433.8 MB, free: 5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002046/0.3648, allocations: 1.044 MB / 434.9 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.3649, allocations: 7.938 kB / 434.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001364/0.365, allocations: 19.73 kB / 434.9 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.3652, allocations: 35.66 kB / 434.9 MB, free: 3.887 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.0006598/0.3659, allocations: 191.5 kB / 435.1 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003186/0.3662, allocations: 219.5 kB / 435.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.3664, allocations: 52.55 kB / 435.4 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.3665, allocations: 103.6 kB / 435.5 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006729/0.3672, allocations: 120.7 kB / 435.6 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.06e-05/0.3672, allocations: 24 kB / 435.6 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003222/0.3675, allocations: 155.8 kB / 435.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.694e-05/0.3676, allocations: 67.75 kB / 435.8 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.3677, allocations: 95.47 kB / 435.9 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004777/0.3682, allocations: 291.7 kB / 436.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.3682, allocations: 4 kB / 436.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3682, allocations: 0 / 436.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.3682, allocations: 0 / 436.2 MB, free: 2.594 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.001201/0.3694, allocations: 0.4982 MB / 436.7 MB, free: 2.062 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.3695, allocations: 8.031 kB / 436.7 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.773e-05/0.3696, allocations: 50.69 kB / 436.8 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002086/0.3698, allocations: 36.78 kB / 436.8 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.3701, allocations: 182.2 kB / 437 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.3701, allocations: 16.38 kB / 437 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.863e-05/0.3701, allocations: 31.83 kB / 437 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005236/0.3707, allocations: 211.2 kB / 437.2 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.3707, allocations: 0 / 437.2 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.3707, allocations: 11.98 kB / 437.3 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3707, allocations: 0 / 437.3 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004927/0.3712, allocations: 156.2 kB / 437.4 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.3723, allocations: 0.5466 MB / 438 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.3734, allocations: 302.7 kB / 438.3 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002964/0.3737, allocations: 104.8 kB / 438.4 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.3737, allocations: 4 kB / 438.4 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004251/0.3741, allocations: 167.2 kB / 438.5 MB, free: 156 kB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.714e-06/0.3741, allocations: 0 / 438.5 MB, free: 156 kB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001048/0.3752, allocations: 351.3 kB / 438.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.3752, allocations: 63.41 kB / 438.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.3755, allocations: 226.6 kB / 439.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.751e-05/0.3755, allocations: 41.7 kB / 439.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.3757, allocations: 132.6 kB / 439.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.926e-05/0.3757, allocations: 71.42 kB / 439.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.3758, allocations: 73.62 kB / 439.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.376, allocations: 338.8 kB / 439.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003571/0.3763, allocations: 131.9 kB / 439.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003729/0.3767, allocations: 161.5 kB / 440.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006382/0.3774, allocations: 267.3 kB / 440.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3774, allocations: 0 / 440.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008546/0.3782, allocations: 386.5 kB / 440.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.3782, allocations: 7.938 kB / 440.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.3782, allocations: 8 kB / 440.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.3783, allocations: 0 / 440.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003267/0.3786, allocations: 75.92 kB / 440.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.3786, allocations: 0 / 440.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.3788, allocations: 39.81 kB / 440.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.3788, allocations: 8 kB / 440.9 MB, free: 13.75 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.0001811/0.379, allocations: 154.1 kB / 441 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.379, allocations: 23.86 kB / 441 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.483e-05/0.3791, allocations: 21.95 kB / 441 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3791, allocations: 4 kB / 441.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3791, allocations: 0 / 441.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3791, allocations: 0 / 441.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.3803, allocations: 0.6025 MB / 441.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3803, allocations: 0 / 441.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.3806, allocations: 43.95 kB / 441.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3806, allocations: 0 / 441.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.3806, allocations: 8 kB / 441.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.3806, allocations: 0 / 441.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3806, allocations: 0 / 441.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.3816, allocations: 489.9 kB / 442.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.122e-05/0.3817, allocations: 23.73 kB / 442.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/0.3817, allocations: 12.05 kB / 442.2 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.3819, allocations: 23.97 kB / 442.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.509e-05/0.382, allocations: 11.98 kB / 442.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.382, allocations: 7.984 kB / 442.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001737/0.3822, allocations: 156.7 kB / 442.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3822, allocations: 0 / 442.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003873/0.3826, allocations: 63.94 kB / 442.5 MB, free: 12.05 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.00183/0.3844, allocations: 1.12 MB / 443.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008373/0.3852, 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.555e-06/0.3852, allocations: 4.062 kB / 443.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003129/0.3855, allocations: 103.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.000366/0.3859, allocations: 27.94 kB / 444 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004514/0.3904, allocations: 2.804 MB / 446.8 MB, free: 7.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.3908, allocations: 0.7515 MB / 447.5 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001425/0.391, allocations: 33.92 kB / 447.6 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.3911, allocations: 67.41 kB / 447.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of SimCode: time 1.483e-06/0.3911, allocations: 0 / 447.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03714/0.4282, allocations: 5.437 MB / 453.1 MB, free: 1.445 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.48/8.908, allocations: 7.203 kB / 453.1 MB, free: 1.441 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_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_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.542178928852081] 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.986339214257896 9.013267571 8.639779252 Calling exit ...