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.001783/0.001783, allocations: 118.6 kB / 18.5 MB, free: 4.602 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.002181/0.002181, allocations: 206.6 kB / 21.45 MB, free: 1.652 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.507/1.507, allocations: 230.5 MB / 254.8 MB, free: 15.11 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.001996/0.001996, allocations: 72.06 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.119, allocations: 53.33 MB / 427 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003373/0.1224, allocations: 1.877 MB / 428.9 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002505/0.1249, allocations: 1.309 MB / 430.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.125, allocations: 4 kB / 430.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.1251, allocations: 19.73 kB / 430.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.1253, allocations: 39.66 kB / 430.3 MB, free: 1.527 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.000889/0.1261, allocations: 303.1 kB / 430.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003081/0.1265, allocations: 219.4 kB / 430.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.1266, allocations: 56.25 kB / 430.8 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.1268, allocations: 99.62 kB / 430.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005673/0.1273, allocations: 123.9 kB / 431.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.31e-05/0.1274, allocations: 28 kB / 431.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004681/0.1278, allocations: 291.5 kB / 431.4 MB, free: 444 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.801e-05/0.1279, allocations: 51.83 kB / 431.4 MB, free: 392 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.128, allocations: 103.4 kB / 431.5 MB, free: 288 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2214/0.3494, allocations: 389.8 kB / 431.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.3494, allocations: 0.5156 kB / 431.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3494, allocations: 4.375 kB / 431.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.3494, allocations: 0 / 431.9 MB, free: 8.086 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.001175/0.3506, allocations: 0.5822 MB / 432.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.3506, allocations: 11.03 kB / 432.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.488e-05/0.3507, allocations: 56.03 kB / 432.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002215/0.3509, allocations: 35.62 kB / 432.6 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.3511, allocations: 242.8 kB / 432.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.3512, allocations: 16.66 kB / 432.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.76e-05/0.3512, allocations: 19.16 kB / 432.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004956/0.3517, allocations: 214.5 kB / 433.1 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3517, allocations: 0 / 433.1 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.3518, allocations: 7.5 kB / 433.1 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.3518, allocations: 2.906 kB / 433.1 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000517/0.3523, allocations: 161.1 kB / 433.2 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009702/0.3532, allocations: 0.5851 MB / 433.8 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.3543, allocations: 292.2 kB / 434.1 MB, free: 7.004 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002886/0.3546, allocations: 106 kB / 434.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.3546, allocations: 6.25 kB / 434.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003892/0.355, allocations: 166.2 kB / 434.4 MB, free: 6.949 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.623e-06/0.355, allocations: 0 / 434.4 MB, free: 6.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001035/0.356, allocations: 358.4 kB / 434.7 MB, free: 6.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.3561, allocations: 61.47 kB / 434.8 MB, free: 6.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.3562, allocations: 221.9 kB / 435 MB, free: 6.727 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.3563, allocations: 42.03 kB / 435 MB, free: 6.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.363e-05/0.3563, allocations: 129.2 kB / 435.2 MB, free: 6.602 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.871e-05/0.3564, allocations: 76.81 kB / 435.2 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.3565, allocations: 70.36 kB / 435.3 MB, free: 6.539 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.186e-05/0.3566, allocations: 332.3 kB / 435.6 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003596/0.3569, allocations: 137.3 kB / 435.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003835/0.3573, allocations: 159.6 kB / 435.9 MB, free: 6.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006797/0.358, allocations: 273.7 kB / 436.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.358, allocations: 0 / 436.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008602/0.3588, allocations: 380.2 kB / 436.6 MB, free: 6.125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.3589, allocations: 5.719 kB / 436.6 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3589, allocations: 0.5 kB / 436.6 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.3589, allocations: 3.094 kB / 436.6 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003146/0.3592, allocations: 67.2 kB / 436.6 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.3592, allocations: 2.344 kB / 436.6 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.3594, allocations: 49.78 kB / 436.7 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.851e-05/0.3594, allocations: 13.73 kB / 436.7 MB, free: 6.105 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.0001249/0.3595, allocations: 143.1 kB / 436.8 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.704e-05/0.3596, allocations: 23.52 kB / 436.9 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.169e-05/0.3596, allocations: 24.28 kB / 436.9 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3596, allocations: 2.875 kB / 436.9 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3597, allocations: 0 / 436.9 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3597, allocations: 5.656 kB / 436.9 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.3608, allocations: 0.6248 MB / 437.5 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3608, allocations: 0 / 437.5 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/0.361, allocations: 51.83 kB / 437.6 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.361, allocations: 1.469 kB / 437.6 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.361, allocations: 8.172 kB / 437.6 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.361, allocations: 1.219 kB / 437.6 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3611, allocations: 0 / 437.6 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.3622, allocations: 478.9 kB / 438.1 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.861e-05/0.3622, allocations: 104 kB / 438.2 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.265e-05/0.3622, allocations: 9.031 kB / 438.2 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.3624, allocations: 27.55 kB / 438.2 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.981e-05/0.3625, allocations: 15.95 kB / 438.2 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.3625, allocations: 6.953 kB / 438.2 MB, free: 5.383 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001239/0.3626, allocations: 157.1 kB / 438.4 MB, free: 5.305 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3626, allocations: 0 / 438.4 MB, free: 5.305 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004448/0.3631, allocations: 100.8 kB / 438.5 MB, free: 5.293 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.001729/0.3648, allocations: 1.175 MB / 439.6 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008134/0.3656, allocations: 268.6 kB / 439.9 MB, free: 4.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3656, allocations: 2.844 kB / 439.9 MB, free: 4.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003388/0.366, allocations: 110.2 kB / 440 MB, free: 4.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.3663, allocations: 25.7 kB / 440 MB, free: 4.582 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004319/0.3706, allocations: 2.832 MB / 442.9 MB, free: 3.145 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001884/0.3708, allocations: 0.742 MB / 443.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001348/0.3709, allocations: 30.58 kB / 443.6 MB, free: 2.434 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.3711, allocations: 72.52 kB / 443.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3711, allocations: 0 / 443.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03313/0.4042, allocations: 6.085 MB / 449.8 MB, free: 1.641 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.552/8.956, allocations: 6.125 kB / 449.8 MB, free: 1.641 MB / 350.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.575930181890726] 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.034096023999155 9.060892009 8.706166153 Calling exit ...