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.001741/0.001741, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002353/0.002353, allocations: 211.9 kB / 24.51 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 1.386/1.386, allocations: 230.6 MB / 258.3 MB, free: 7.809 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: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 47.92 kB / 378.5 MB, free: 3.066 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2503, allocations: 53.35 MB / 431.9 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003229/0.2535, allocations: 1.809 MB / 433.7 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.2553, allocations: 0.986 MB / 434.7 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.539e-05/0.2554, allocations: 0 / 434.7 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.2555, allocations: 27.67 kB / 434.7 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.2557, allocations: 31.72 kB / 434.7 MB, free: 3.805 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.0005781/0.2563, allocations: 191.5 kB / 434.9 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002659/0.2566, allocations: 219.5 kB / 435.1 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.2567, allocations: 56.48 kB / 435.2 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.2569, allocations: 103.6 kB / 435.3 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005591/0.2574, allocations: 133.6 kB / 435.4 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.548e-05/0.2575, allocations: 24 kB / 435.4 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002851/0.2577, allocations: 163.7 kB / 435.6 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.583e-05/0.2578, allocations: 59.83 kB / 435.6 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.2579, allocations: 79.58 kB / 435.7 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004175/0.2583, allocations: 299.6 kB / 436 MB, free: 2.512 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2583, allocations: 0 / 436 MB, free: 2.512 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2583, allocations: 0 / 436 MB, free: 2.512 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.2584, allocations: 0 / 436 MB, free: 2.512 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.001096/0.2594, allocations: 0.4904 MB / 436.5 MB, free: 1.988 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.2595, allocations: 12.03 kB / 436.5 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.92e-05/0.2595, allocations: 8.125 kB / 436.5 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.04e-05/0.2596, allocations: 54.69 kB / 436.6 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/0.2598, allocations: 40.72 kB / 436.6 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.2601, allocations: 190.1 kB / 436.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.2601, allocations: 16.12 kB / 436.8 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.744e-05/0.2601, allocations: 20 kB / 436.8 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005303/0.2607, allocations: 209.9 kB / 437 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.2607, allocations: 3.984 kB / 437.1 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.2607, allocations: 8 kB / 437.1 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.2607, allocations: 4 kB / 437.1 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005003/0.2612, allocations: 160.5 kB / 437.2 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.2623, allocations: 0.5184 MB / 437.7 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.2634, allocations: 314.7 kB / 438 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003207/0.2637, allocations: 124.8 kB / 438.2 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.2637, allocations: 0 / 438.2 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004248/0.2641, allocations: 178.2 kB / 438.3 MB, free: 52 kB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.714e-06/0.2641, allocations: 0 / 438.3 MB, free: 52 kB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.003157/0.2673, allocations: 1.044 MB / 439.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.2673, allocations: 63.39 kB / 439.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.2676, allocations: 222.9 kB / 439.7 MB, free: 14.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.314e-05/0.2676, allocations: 41.7 kB / 439.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.2677, allocations: 132.9 kB / 439.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.035e-05/0.2678, allocations: 107.1 kB / 439.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.2679, allocations: 86.11 kB / 440 MB, free: 14.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.2681, allocations: 338.8 kB / 440.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004601/0.2686, allocations: 164.7 kB / 440.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004648/0.269, allocations: 206.4 kB / 440.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008413/0.2699, allocations: 337.5 kB / 441 MB, free: 13.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2699, allocations: 7.938 kB / 441.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001044/0.2709, allocations: 455.8 kB / 441.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.2709, allocations: 12.03 kB / 441.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.2709, allocations: 0 / 441.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.271, allocations: 0 / 441.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004119/0.2714, allocations: 95.86 kB / 441.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.2714, allocations: 0 / 441.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.2716, allocations: 31.95 kB / 441.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.2716, allocations: 12 kB / 441.6 MB, free: 12.64 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 (48): * Single equations (assignments): 47 * 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.0001609/0.2718, allocations: 158.6 kB / 441.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.2718, allocations: 23.86 kB / 441.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.035e-05/0.2719, allocations: 26.66 kB / 441.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.2719, allocations: 0 / 441.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2719, allocations: 4 kB / 441.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.2719, allocations: 3.984 kB / 441.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001623/0.2735, allocations: 0.7252 MB / 442.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2735, allocations: 0 / 442.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003484/0.2739, allocations: 71.91 kB / 442.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.2739, allocations: 3.984 kB / 442.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.789e-05/0.2739, allocations: 11.94 kB / 442.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2739, allocations: 0 / 442.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.2739, allocations: 0 / 442.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.2753, allocations: 0.6036 MB / 443.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.548e-05/0.2753, allocations: 23.8 kB / 443.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.027e-05/0.2754, allocations: 12 kB / 443.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.2756, allocations: 35.95 kB / 443.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.642e-05/0.2757, allocations: 23.91 kB / 443.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.2757, allocations: 11.98 kB / 443.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001524/0.2759, allocations: 156.7 kB / 443.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2759, allocations: 0 / 443.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003809/0.2763, allocations: 71.92 kB / 443.6 MB, free: 10.61 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (27): * Single equations (assignments): 25 * 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.002023/0.2783, allocations: 1.238 MB / 444.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009651/0.2792, allocations: 348.9 kB / 445.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2792, allocations: 4 kB / 445.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000426/0.2797, allocations: 155.9 kB / 445.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.28, allocations: 35.86 kB / 445.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005056/0.2851, allocations: 3.128 MB / 448.5 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/0.2852, allocations: 142.1 kB / 448.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001496/0.2854, allocations: 38.27 kB / 448.7 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.2855, allocations: 83.41 kB / 448.8 MB, free: 5.348 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2855, allocations: 0 / 448.8 MB, free: 5.348 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02957/0.3151, allocations: 6.493 MB / 455.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.11, allocations: 2.406 kB / 455.3 MB, free: 15.04 MB / 366.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-09 Modelica_4_1_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.434255694970489] 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'] 11.26651803101413 11.281469535 11.02018125 Calling exit ...