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.00152/0.00152, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001654/0.001654, allocations: 216.2 kB / 24.53 MB, free: 4.07 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.415/1.415, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.001448/0.001448, allocations: 47.92 kB / 378.6 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2583, allocations: 53.37 MB / 431.9 MB, free: 7.008 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.00329/0.2616, allocations: 1.885 MB / 433.8 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002058/0.2636, allocations: 1.048 MB / 434.9 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.2637, allocations: 0 / 434.9 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.2639, allocations: 27.73 kB / 434.9 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.2641, allocations: 35.66 kB / 434.9 MB, free: 4.004 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.0006563/0.2647, allocations: 187.5 kB / 435.1 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003205/0.265, allocations: 219.5 kB / 435.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000203/0.2652, allocations: 56.55 kB / 435.4 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.2654, allocations: 103.6 kB / 435.5 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006616/0.2661, allocations: 121.4 kB / 435.6 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.71e-05/0.2661, allocations: 24 kB / 435.6 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003334/0.2664, allocations: 159.8 kB / 435.8 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.636e-05/0.2665, allocations: 63.77 kB / 435.8 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.2666, allocations: 95.45 kB / 435.9 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004394/0.2671, allocations: 292 kB / 436.2 MB, free: 2.715 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.2671, allocations: 0 / 436.2 MB, free: 2.715 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2671, allocations: 0 / 436.2 MB, free: 2.715 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.2671, allocations: 0 / 436.2 MB, free: 2.715 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.001151/0.2682, allocations: 0.4982 MB / 436.7 MB, free: 2.184 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.2683, allocations: 8.031 kB / 436.7 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.75e-05/0.2683, allocations: 8.188 kB / 436.7 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.213e-05/0.2684, allocations: 58.69 kB / 436.8 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002164/0.2686, allocations: 40.72 kB / 436.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.2689, allocations: 186.1 kB / 437 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.531e-05/0.2689, allocations: 20.12 kB / 437 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.919e-05/0.269, allocations: 19.98 kB / 437.1 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005307/0.2695, allocations: 209.9 kB / 437.3 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.2695, allocations: 3.938 kB / 437.3 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.2695, allocations: 15.98 kB / 437.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.2695, allocations: 4 kB / 437.3 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005004/0.27, allocations: 160.5 kB / 437.4 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.2712, allocations: 0.5652 MB / 438 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.2723, allocations: 306.8 kB / 438.3 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003252/0.2726, allocations: 124.8 kB / 438.4 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.2726, allocations: 0 / 438.4 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004291/0.2731, allocations: 179.1 kB / 438.6 MB, free: 200 kB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.493e-06/0.2731, allocations: 0 / 438.6 MB, free: 200 kB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.003207/0.2763, allocations: 1.032 MB / 439.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.2763, allocations: 67.33 kB / 439.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.2766, allocations: 222.9 kB / 439.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.644e-05/0.2766, allocations: 37.7 kB / 440 MB, free: 14.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.2767, allocations: 136.9 kB / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.2768, allocations: 107.1 kB / 440.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.277, allocations: 86.09 kB / 440.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.2771, allocations: 338.8 kB / 440.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004682/0.2776, allocations: 164.8 kB / 440.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004927/0.2781, allocations: 202.4 kB / 441 MB, free: 13.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008439/0.2789, allocations: 341.5 kB / 441.3 MB, free: 13.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.2789, allocations: 3.938 kB / 441.3 MB, free: 13.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001102/0.28, allocations: 463.8 kB / 441.8 MB, free: 12.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.2801, allocations: 4 kB / 441.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.2801, allocations: 0 / 441.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.2801, allocations: 8.031 kB / 441.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003993/0.2805, allocations: 91.86 kB / 441.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.2805, allocations: 4 kB / 441.9 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.2807, allocations: 31.95 kB / 441.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.2807, allocations: 12 kB / 441.9 MB, free: 12.79 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.0001866/0.2809, allocations: 158.5 kB / 442.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/0.281, allocations: 19.86 kB / 442.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.497e-05/0.281, allocations: 30.59 kB / 442.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.281, allocations: 4 kB / 442.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.2811, allocations: 0 / 442.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.2811, allocations: 3.984 kB / 442.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.2827, allocations: 0.7641 MB / 442.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2827, allocations: 0 / 442.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003365/0.283, allocations: 63.97 kB / 442.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.283, allocations: 4 kB / 442.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.866e-05/0.2831, allocations: 7.938 kB / 443 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.2831, allocations: 4 kB / 443 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2831, allocations: 0 / 443 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.2844, allocations: 0.6075 MB / 443.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.483e-05/0.2845, allocations: 19.92 kB / 443.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.466e-05/0.2845, allocations: 19.92 kB / 443.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.2848, allocations: 23.97 kB / 443.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.795e-05/0.2848, allocations: 19.95 kB / 443.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.2849, allocations: 12 kB / 443.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001699/0.285, allocations: 156.7 kB / 443.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.285, allocations: 4 kB / 443.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003922/0.2854, allocations: 75.92 kB / 443.9 MB, free: 10.72 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.002114/0.2875, allocations: 1.239 MB / 445.1 MB, free: 9.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000992/0.2885, allocations: 352.9 kB / 445.5 MB, free: 9.145 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2885, allocations: 0 / 445.5 MB, free: 9.145 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004401/0.289, allocations: 155.8 kB / 445.6 MB, free: 8.992 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.2893, allocations: 34.69 kB / 445.7 MB, free: 8.961 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005124/0.2945, allocations: 3.124 MB / 448.8 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.2948, allocations: 0.7522 MB / 449.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000147/0.295, allocations: 42.28 kB / 449.6 MB, free: 4.926 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.2951, allocations: 83.39 kB / 449.7 MB, free: 4.844 MB / 350.1 MB Notification: Performance of SimCode: time 9.12e-07/0.2951, allocations: 0 / 449.7 MB, free: 4.844 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/0.3244, allocations: 6.394 MB / 456.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.64, allocations: 11.61 kB / 456.1 MB, free: 14.59 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.036650580004789] 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.796113894029986 11.822506399 11.550681718 Calling exit ...