Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001917/0.001917, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 213.3 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.086/2.086, allocations: 230.6 MB / 258.2 MB, free: 7.742 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,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_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,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_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 47.92 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3242, allocations: 53.36 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003955/0.3282, allocations: 1.813 MB / 434.2 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002348/0.3305, allocations: 0.9937 MB / 435.1 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.3306, allocations: 0 / 435.1 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.3308, allocations: 23.73 kB / 435.2 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.331, allocations: 31.67 kB / 435.2 MB, free: 3.832 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.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.0105/0.3415, allocations: 195.5 kB / 435.4 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.3419, allocations: 215.5 kB / 435.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.3421, allocations: 56.34 kB / 435.7 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002598/0.3423, allocations: 103.6 kB / 435.8 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007104/0.343, allocations: 126 kB / 435.9 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.661e-05/0.3431, allocations: 20 kB / 435.9 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004191/0.3435, allocations: 151.8 kB / 436.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.625e-05/0.3436, allocations: 67.75 kB / 436.1 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.3437, allocations: 83.56 kB / 436.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005492/0.3443, allocations: 297.7 kB / 436.5 MB, free: 2.551 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3443, allocations: 4 kB / 436.5 MB, free: 2.547 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3443, allocations: 0 / 436.5 MB, free: 2.547 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.3443, allocations: 0 / 436.5 MB, free: 2.547 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.001419/0.3457, allocations: 0.4904 MB / 437 MB, free: 2.023 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3458, allocations: 8.031 kB / 437 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002785/0.346, allocations: 44.73 kB / 437 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.3464, allocations: 178.2 kB / 437.2 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.34e-05/0.3464, allocations: 16.64 kB / 437.2 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.269e-05/0.3465, allocations: 24.12 kB / 437.2 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006499/0.3471, allocations: 197 kB / 437.4 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.3471, allocations: 3.938 kB / 437.4 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.3472, allocations: 4 kB / 437.4 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.3472, allocations: 4 kB / 437.5 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006605/0.3478, allocations: 156.4 kB / 437.6 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.3491, allocations: 472.7 kB / 438.1 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.3505, allocations: 294.7 kB / 438.4 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000407/0.3509, allocations: 108.7 kB / 438.5 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.3509, allocations: 8 kB / 438.5 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01032/0.3612, allocations: 163.3 kB / 438.6 MB, free: 304 kB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 2.334e-06/0.3612, allocations: 0 / 438.6 MB, free: 304 kB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001406/0.3626, allocations: 356.4 kB / 439 MB, free: 15.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.608e-05/0.3627, allocations: 63.41 kB / 439 MB, free: 15.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.363, allocations: 203.1 kB / 439.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.866e-05/0.363, allocations: 33.7 kB / 439.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.3632, allocations: 136.6 kB / 439.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.3633, allocations: 79.31 kB / 439.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.3634, allocations: 69.67 kB / 439.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.3636, allocations: 330.8 kB / 439.9 MB, free: 15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004843/0.3641, allocations: 139.7 kB / 440 MB, free: 14.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005005/0.3646, allocations: 165.4 kB / 440.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008796/0.3655, allocations: 271.2 kB / 440.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.3655, allocations: 3.938 kB / 440.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001134/0.3666, allocations: 367.9 kB / 440.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.3666, allocations: 14.67 kB / 440.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.3666, allocations: 0 / 440.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.3667, allocations: 7.938 kB / 440.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004243/0.3671, allocations: 67.95 kB / 440.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.3671, allocations: 3.938 kB / 440.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.3674, allocations: 43.75 kB / 440.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.3674, allocations: 12 kB / 440.9 MB, free: 13.91 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.0002097/0.3676, allocations: 153.6 kB / 441.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.396e-05/0.3676, allocations: 15.91 kB / 441.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.489e-05/0.3677, allocations: 21.95 kB / 441.1 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.3677, allocations: 4 kB / 441.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3677, allocations: 0 / 441.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.3677, allocations: 0 / 441.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/0.3691, allocations: 0.533 MB / 441.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.3691, allocations: 7.922 kB / 441.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003418/0.3695, allocations: 39.91 kB / 441.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/0.3695, allocations: 0 / 441.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.3695, allocations: 11.98 kB / 441.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3695, allocations: 4 kB / 441.7 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3695, allocations: 0 / 441.7 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.3709, allocations: 483 kB / 442.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003777/0.3712, allocations: 15.91 kB / 442.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005364/0.3766, allocations: 8.062 kB / 442.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003222/0.3798, allocations: 15.97 kB / 442.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.552e-05/0.3799, allocations: 23.91 kB / 442.3 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.38, allocations: 4 kB / 442.3 MB, free: 12.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001934/0.3801, allocations: 144.3 kB / 442.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3801, allocations: 3.938 kB / 442.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005559/0.3807, allocations: 75.81 kB / 442.5 MB, free: 12.31 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.0006298/0.3813, allocations: 203.4 kB / 442.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.3824, allocations: 270.3 kB / 442.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.3824, allocations: 0 / 442.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004362/0.3828, allocations: 107.9 kB / 443.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.3833, allocations: 29.98 kB / 443.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.3845, allocations: 466.3 kB / 443.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.3847, allocations: 137.1 kB / 443.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001579/0.3849, allocations: 33.61 kB / 443.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.385, allocations: 23.42 kB / 443.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.385, allocations: 0 / 443.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Templates: time 0.0194/0.4044, allocations: 3.12 MB / 446.8 MB, free: 7.957 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.384308235996286] 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.4282471960032126 0.458455183 0.10685101100000001 Calling exit ...