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.001825/0.001825, allocations: 109.4 kB / 19.8 MB, free: 2.5 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.002184/0.002184, allocations: 216.4 kB / 23 MB, free: 5.578 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.443/1.443, allocations: 230.5 MB / 256.5 MB, free: 8.215 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.001932/0.001932, allocations: 63.91 kB / 376.2 MB, free: 3.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.281, allocations: 53.32 MB / 429.5 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003372/0.2844, allocations: 1.879 MB / 431.4 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002368/0.2868, allocations: 1.333 MB / 432.8 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.603e-05/0.2869, allocations: 4 kB / 432.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.287, allocations: 19.73 kB / 432.8 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.2871, allocations: 31.72 kB / 432.8 MB, free: 4.113 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.0008173/0.2879, allocations: 311.1 kB / 433.1 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002752/0.2882, allocations: 223.4 kB / 433.3 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.2884, allocations: 52.27 kB / 433.4 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.2885, allocations: 99.61 kB / 433.5 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005291/0.289, allocations: 129.1 kB / 433.6 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.024e-05/0.2891, allocations: 20 kB / 433.6 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004565/0.2895, allocations: 291.5 kB / 433.9 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.463e-05/0.2896, allocations: 63.75 kB / 434 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.2897, allocations: 95.47 kB / 434.1 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005454/0.2902, allocations: 394.9 kB / 434.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2902, allocations: 4 kB / 434.5 MB, free: 2.477 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2902, allocations: 0 / 434.5 MB, free: 2.477 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.2903, allocations: 0 / 434.5 MB, free: 2.477 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.001131/0.2914, allocations: 0.5812 MB / 435 MB, free: 1.844 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.2914, allocations: 8.031 kB / 435 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.541e-05/0.2915, allocations: 62.62 kB / 435.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002106/0.2917, allocations: 36.78 kB / 435.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.292, allocations: 244.9 kB / 435.4 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.292, allocations: 16.31 kB / 435.4 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.439e-05/0.2921, allocations: 23.94 kB / 435.4 MB, free: 1.414 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004983/0.2926, allocations: 203 kB / 435.6 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2926, allocations: 8 kB / 435.6 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.2926, allocations: 4 kB / 435.6 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.2926, allocations: 4 kB / 435.6 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005092/0.2931, allocations: 160 kB / 435.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.2942, allocations: 0.5826 MB / 436.4 MB, free: 412 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.2952, allocations: 294.7 kB / 436.7 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003215/0.2956, allocations: 116.8 kB / 436.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.2956, allocations: 0 / 436.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004194/0.296, allocations: 163.3 kB / 436.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.423e-06/0.296, allocations: 4 kB / 436.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001082/0.2971, allocations: 353.2 kB / 437.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.2972, allocations: 63.39 kB / 437.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/0.2974, allocations: 234.5 kB / 437.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.2975, allocations: 37.69 kB / 437.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.2976, allocations: 128.6 kB / 437.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.238e-05/0.2976, allocations: 75.38 kB / 437.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.2977, allocations: 69.69 kB / 437.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.2979, allocations: 334.8 kB / 438.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003621/0.2983, allocations: 131.9 kB / 438.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003986/0.2987, allocations: 165.6 kB / 438.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006816/0.2994, allocations: 267.3 kB / 438.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2994, allocations: 0 / 438.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008834/0.3003, allocations: 382 kB / 439.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.3003, allocations: 8 kB / 439.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3003, allocations: 0 / 439.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.3003, allocations: 0 / 439.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003136/0.3006, allocations: 67.89 kB / 439.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3006, allocations: 0 / 439.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.3008, allocations: 43.84 kB / 439.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.3008, allocations: 15.98 kB / 439.3 MB, free: 13.41 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.0001677/0.301, allocations: 141.7 kB / 439.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.301, allocations: 19.86 kB / 439.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.519e-05/0.3011, allocations: 25.86 kB / 439.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3011, allocations: 7.984 kB / 439.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3011, allocations: 0 / 439.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3011, allocations: 0 / 439.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.3023, allocations: 0.6307 MB / 440.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3023, allocations: 4 kB / 440.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/0.3025, allocations: 43.8 kB / 440.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3025, allocations: 3.938 kB / 440.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.3025, allocations: 11.98 kB / 440.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3025, allocations: 0 / 440.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3025, allocations: 0 / 440.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.3036, allocations: 481.3 kB / 440.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.381e-05/0.3037, allocations: 104.9 kB / 440.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.944e-05/0.3038, allocations: 11.98 kB / 440.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.3039, allocations: 19.98 kB / 440.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.311e-05/0.304, allocations: 15.97 kB / 440.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.304, allocations: 12.12 kB / 440.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001663/0.3042, allocations: 152.7 kB / 440.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3042, allocations: 0 / 440.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004717/0.3046, allocations: 107.8 kB / 441 MB, free: 11.54 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.001937/0.3066, allocations: 1.169 MB / 442.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007793/0.3074, allocations: 267.6 kB / 442.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3074, allocations: 64 / 442.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003299/0.3077, allocations: 111.9 kB / 442.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.308, allocations: 23.94 kB / 442.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004466/0.3125, allocations: 2.832 MB / 445.4 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.3129, allocations: 0.7437 MB / 446.2 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001218/0.313, allocations: 37.92 kB / 446.2 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.3131, allocations: 71.41 kB / 446.3 MB, free: 6.195 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3131, allocations: 0 / 446.3 MB, free: 6.195 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03386/0.347, allocations: 6.058 MB / 452.3 MB, free: 240 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.837/9.184, allocations: 7.25 kB / 452.3 MB, free: 236 kB / 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Noise_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-09 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.565621929010376] 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.256718882010318 9.272118237 8.978465477 Calling exit ...