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.001337/0.001337, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.001481/0.001481, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.514/1.514, allocations: 230.4 MB / 258.1 MB, free: 8.16 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: translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|meanError_y|sigmaError_y|mean.y|variance.mu|variance.var|standardDeviation.variance.mu|standardDeviation.variance.var",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|meanError_y|sigmaError_y|mean.y|variance.mu|variance.var|standardDeviation.variance.mu|standardDeviation.variance.var",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") [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.002019/0.002019, allocations: 67.84 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3221, allocations: 53.32 MB / 432.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003786/0.3259, allocations: 1.883 MB / 433.9 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002498/0.3284, allocations: 1.333 MB / 435.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.749e-05/0.3285, allocations: 4 kB / 435.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001464/0.3286, allocations: 19.73 kB / 435.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001678/0.3288, allocations: 31.72 kB / 435.3 MB, free: 4.098 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.0009806/0.3298, allocations: 311.1 kB / 435.6 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000314/0.3301, allocations: 219.4 kB / 435.8 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.3303, allocations: 52.27 kB / 435.9 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.3304, allocations: 95.62 kB / 436 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006632/0.3311, allocations: 133 kB / 436.1 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.187e-05/0.3311, allocations: 20 kB / 436.1 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005203/0.3316, allocations: 291.5 kB / 436.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.292e-05/0.3317, allocations: 59.77 kB / 436.5 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.3318, allocations: 103.5 kB / 436.6 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000602/0.3324, allocations: 392.1 kB / 437 MB, free: 2.465 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3324, allocations: 0 / 437 MB, free: 2.465 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3324, allocations: 0 / 437 MB, free: 2.465 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.3324, allocations: 0 / 437 MB, free: 2.465 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.001251/0.3337, allocations: 0.585 MB / 437.6 MB, free: 1.828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.3337, allocations: 12.03 kB / 437.6 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002246/0.334, allocations: 40.66 kB / 437.6 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.3343, allocations: 244.9 kB / 437.8 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/0.3343, allocations: 12.66 kB / 437.9 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.223e-05/0.3343, allocations: 24.12 kB / 437.9 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005334/0.3349, allocations: 203.3 kB / 438.1 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3349, allocations: 0 / 438.1 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.3349, allocations: 4 kB / 438.1 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.3349, allocations: 4 kB / 438.1 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005536/0.3355, allocations: 157.3 kB / 438.2 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.3367, allocations: 0.575 MB / 438.8 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.3378, allocations: 294.7 kB / 439.1 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003206/0.3381, allocations: 108.8 kB / 439.2 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.3381, allocations: 7.984 kB / 439.2 MB, free: 64 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004626/0.3386, allocations: 159.2 kB / 439.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.324e-06/0.3386, allocations: 4 kB / 439.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.00119/0.3398, allocations: 358.6 kB / 439.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.3399, allocations: 59.41 kB / 439.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.3401, allocations: 218.7 kB / 440 MB, free: 15.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.464e-05/0.3401, allocations: 41.69 kB / 440 MB, free: 15.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.3403, allocations: 132.6 kB / 440.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.064e-05/0.3403, allocations: 67.42 kB / 440.2 MB, free: 15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.3404, allocations: 73.64 kB / 440.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.3406, allocations: 338.7 kB / 440.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003694/0.341, allocations: 135.9 kB / 440.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004076/0.3414, allocations: 165.7 kB / 440.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007228/0.3421, allocations: 271.2 kB / 441.2 MB, free: 14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3421, allocations: 0 / 441.2 MB, free: 14 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001008/0.3431, allocations: 379.9 kB / 441.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.3432, allocations: 4 kB / 441.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.3432, allocations: 0 / 441.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.739e-05/0.3432, allocations: 4 kB / 441.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/0.3435, allocations: 67.89 kB / 441.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.3435, allocations: 4.031 kB / 441.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.3437, allocations: 43.75 kB / 441.7 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/0.3438, allocations: 11.98 kB / 441.7 MB, free: 13.5 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.0002278/0.344, allocations: 150.2 kB / 441.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.344, allocations: 19.86 kB / 441.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.465e-05/0.3441, allocations: 25.86 kB / 441.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3441, allocations: 0 / 441.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/0.3441, allocations: 4 kB / 441.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3441, allocations: 0 / 441.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.3455, allocations: 0.6307 MB / 442.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3455, allocations: 4 kB / 442.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002592/0.3457, allocations: 39.95 kB / 442.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.3457, allocations: 0 / 442.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/0.3458, allocations: 8 kB / 442.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3458, allocations: 0 / 442.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3458, allocations: 0 / 442.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.347, allocations: 492.9 kB / 443.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.773e-05/0.3471, allocations: 100.9 kB / 443.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.693e-05/0.3472, allocations: 15.94 kB / 443.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.3473, allocations: 19.97 kB / 443.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.865e-05/0.3474, allocations: 15.98 kB / 443.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.3474, allocations: 7.984 kB / 443.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001795/0.3476, allocations: 152.7 kB / 443.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3476, allocations: 0 / 443.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005901/0.3482, allocations: 103.7 kB / 443.5 MB, free: 11.62 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.0008243/0.349, allocations: 263.5 kB / 443.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008101/0.3498, allocations: 267.7 kB / 444 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3499, allocations: 0 / 444 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003228/0.3502, allocations: 115.9 kB / 444.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.3505, allocations: 28.02 kB / 444.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.3516, allocations: 480.2 kB / 444.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004848/0.3521, allocations: 0.7397 MB / 445.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.3522, allocations: 29.94 kB / 445.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.109e-05/0.3523, allocations: 27.42 kB / 445.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3523, allocations: 3.938 kB / 445.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of Templates: time 0.009075/0.3614, allocations: 3.666 MB / 449.1 MB, free: 6.02 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile [Timeout 660] (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 & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.110651885624975] 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'] 0.37082902481779456 0.38483344700000005 0.049324084000000004 Calling exit ...