Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.001643/0.001643, 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.001782/0.001782, allocations: 212.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.424/1.424, allocations: 230.6 MB / 258.3 MB, free: 8 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.NormalNoiseProperties,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 47.92 kB / 378.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3156, allocations: 53.36 MB / 431.9 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.00315/0.3188, allocations: 1.894 MB / 433.8 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002431/0.3212, allocations: 1.337 MB / 435.2 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.589e-05/0.3213, allocations: 4 kB / 435.2 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.3214, allocations: 19.73 kB / 435.2 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001399/0.3216, allocations: 31.67 kB / 435.2 MB, free: 3.555 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.0009276/0.3225, allocations: 323.1 kB / 435.5 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002787/0.3228, allocations: 223.4 kB / 435.7 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.3229, allocations: 48.55 kB / 435.8 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.323, allocations: 99.62 kB / 435.9 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005958/0.3236, allocations: 129.3 kB / 436 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.011e-05/0.3237, allocations: 20 kB / 436 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005172/0.3242, allocations: 323.4 kB / 436.4 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.424e-05/0.3243, allocations: 63.81 kB / 436.4 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.3244, allocations: 103.4 kB / 436.5 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005654/0.325, allocations: 388.8 kB / 436.9 MB, free: 1.867 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.325, allocations: 7.938 kB / 436.9 MB, free: 1.859 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.325, allocations: 0 / 436.9 MB, free: 1.859 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.325, allocations: 4 kB / 436.9 MB, free: 1.855 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.001208/0.3262, allocations: 0.5019 MB / 437.4 MB, free: 1.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.3262, allocations: 8.031 kB / 437.4 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.89e-05/0.3263, allocations: 12.19 kB / 437.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.279e-05/0.3263, allocations: 58.67 kB / 437.5 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002381/0.3266, allocations: 36.78 kB / 437.5 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.3269, allocations: 186.1 kB / 437.7 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.386e-05/0.3269, allocations: 20.12 kB / 437.7 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.925e-05/0.327, allocations: 19.98 kB / 437.7 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005612/0.3275, allocations: 209.9 kB / 437.9 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.3275, allocations: 0 / 437.9 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.3276, allocations: 8 kB / 438 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.3276, allocations: 7.938 kB / 438 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005264/0.3281, allocations: 164.5 kB / 438.1 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.3293, allocations: 0.5613 MB / 438.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.3305, allocations: 313.4 kB / 439 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003329/0.3308, allocations: 120.8 kB / 439.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.3309, allocations: 7.953 kB / 439.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004858/0.3313, allocations: 183.2 kB / 439.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 2.405e-06/0.3313, allocations: 0 / 439.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.003419/0.3348, allocations: 1.042 MB / 440.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.837e-05/0.3349, allocations: 63.39 kB / 440.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/0.3351, allocations: 215 kB / 440.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.199e-05/0.3352, allocations: 41.69 kB / 440.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.3353, allocations: 129 kB / 440.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.3354, allocations: 115 kB / 440.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.3356, allocations: 78.12 kB / 441 MB, free: 13.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.3358, allocations: 338.8 kB / 441.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004786/0.3363, allocations: 172.7 kB / 441.5 MB, free: 13.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005159/0.3368, allocations: 198.4 kB / 441.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009053/0.3377, allocations: 337.5 kB / 442 MB, free: 12.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.3377, allocations: 7.938 kB / 442 MB, free: 12.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00118/0.3389, allocations: 455.8 kB / 442.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.3389, allocations: 10.84 kB / 442.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.3389, allocations: 4 kB / 442.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.3389, allocations: 3.938 kB / 442.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004229/0.3394, allocations: 91.86 kB / 442.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.3394, allocations: 4 kB / 442.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.3396, allocations: 31.95 kB / 442.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.051e-05/0.3396, allocations: 12 kB / 442.6 MB, free: 11.93 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.000201/0.3398, allocations: 154.6 kB / 442.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.462e-05/0.3399, allocations: 27.75 kB / 442.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.006e-05/0.34, allocations: 30.59 kB / 442.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.34, allocations: 4 kB / 442.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.34, allocations: 3.984 kB / 442.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.34, allocations: 0 / 442.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.3417, allocations: 0.7659 MB / 443.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3417, allocations: 0 / 443.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003386/0.3421, allocations: 63.88 kB / 443.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.3421, allocations: 4 kB / 443.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/0.3421, allocations: 15.92 kB / 443.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3421, allocations: 0 / 443.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3421, allocations: 0 / 443.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.3435, allocations: 0.6075 MB / 444.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.552e-05/0.3435, allocations: 19.86 kB / 444.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.112e-05/0.3436, allocations: 16 kB / 444.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.3438, allocations: 27.95 kB / 444.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.3439, allocations: 15.97 kB / 444.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.865e-05/0.3439, allocations: 19.98 kB / 444.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001537/0.3441, allocations: 152.7 kB / 444.5 MB, free: 9.938 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3441, allocations: 0 / 444.5 MB, free: 9.938 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004876/0.3446, allocations: 107.8 kB / 444.6 MB, free: 9.832 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.002256/0.3468, allocations: 1.301 MB / 445.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009823/0.3478, allocations: 342.2 kB / 446.3 MB, free: 8.195 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3478, allocations: 4 kB / 446.3 MB, free: 8.191 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000426/0.3482, allocations: 159.8 kB / 446.4 MB, free: 8.035 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.3486, allocations: 30.98 kB / 446.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005246/0.3538, allocations: 3.147 MB / 449.6 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.3542, allocations: 0.7522 MB / 450.3 MB, free: 3.996 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001486/0.3544, allocations: 38.27 kB / 450.4 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.3545, allocations: 87.39 kB / 450.5 MB, free: 3.871 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3545, allocations: 0 / 450.5 MB, free: 3.871 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03243/0.3869, allocations: 7.141 MB / 457.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.7, allocations: 19.48 kB / 457.6 MB, free: 12.86 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-09 Modelica_4_1_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.094416433013976] 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.859022984979674 11.874680338 11.546378159 Calling exit ...