Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 108.6 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 196.8 kB / 24.5 MB, free: 4.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 51.92 kB / 371.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3008, allocations: 52.19 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003157/0.304, allocations: 1.861 MB / 425.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.3058, allocations: 1.002 MB / 426.3 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.078e-05/0.3058, allocations: 0 / 426.3 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.306, allocations: 23.67 kB / 426.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001606/0.3061, allocations: 35.66 kB / 426.4 MB, free: 11.68 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0005377/0.3067, allocations: 191.5 kB / 426.5 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002871/0.3069, allocations: 227.4 kB / 426.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.3071, allocations: 52.55 kB / 426.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.3072, allocations: 91.69 kB / 426.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005374/0.3077, allocations: 130.9 kB / 427 MB, free: 11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.021e-05/0.3078, allocations: 20 kB / 427 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002947/0.3081, allocations: 163.8 kB / 427.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.2e-05/0.3081, allocations: 59.81 kB / 427.3 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.3083, allocations: 95.45 kB / 427.4 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004145/0.3087, allocations: 303.7 kB / 427.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3087, allocations: 0 / 427.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3087, allocations: 4 kB / 427.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.3087, allocations: 0 / 427.7 MB, free: 10.38 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.001092/0.3098, allocations: 494.1 kB / 428.1 MB, free: 9.859 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.3098, allocations: 8.031 kB / 428.2 MB, free: 9.852 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.731e-05/0.3098, allocations: 12.19 kB / 428.2 MB, free: 9.84 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.468e-05/0.3099, allocations: 50.73 kB / 428.2 MB, free: 9.781 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002024/0.3101, allocations: 36.78 kB / 428.2 MB, free: 9.746 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.3104, allocations: 191.1 kB / 428.4 MB, free: 9.535 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/0.3104, allocations: 20 kB / 428.5 MB, free: 9.516 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.438e-05/0.3104, allocations: 20 kB / 428.5 MB, free: 9.496 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005138/0.311, allocations: 205.3 kB / 428.7 MB, free: 9.289 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.311, allocations: 0 / 428.7 MB, free: 9.289 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.311, allocations: 8 kB / 428.7 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.311, allocations: 4 kB / 428.7 MB, free: 9.277 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004748/0.3115, allocations: 159.8 kB / 428.8 MB, free: 9.121 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.3125, allocations: 0.5654 MB / 429.4 MB, free: 8.512 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.3136, allocations: 314.6 kB / 429.7 MB, free: 8.195 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/0.3139, allocations: 124.8 kB / 429.8 MB, free: 8.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.3139, allocations: 8.062 kB / 429.8 MB, free: 8.062 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004215/0.3144, allocations: 175.2 kB / 430 MB, free: 7.879 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.513e-06/0.3144, allocations: 0 / 430 MB, free: 7.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.003025/0.3174, allocations: 1.017 MB / 431 MB, free: 6.832 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.3175, allocations: 71.27 kB / 431.1 MB, free: 6.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.3177, allocations: 223.7 kB / 431.3 MB, free: 6.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.387e-05/0.3177, allocations: 41.7 kB / 431.4 MB, free: 6.473 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.3178, allocations: 125 kB / 431.5 MB, free: 6.348 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.99e-05/0.3179, allocations: 115 kB / 431.6 MB, free: 6.234 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.3181, allocations: 82.11 kB / 431.7 MB, free: 6.148 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.3183, allocations: 342.8 kB / 432 MB, free: 5.805 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004426/0.3187, allocations: 160.8 kB / 432.2 MB, free: 5.645 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004564/0.3192, allocations: 190.4 kB / 432.4 MB, free: 5.453 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007956/0.32, allocations: 332.9 kB / 432.7 MB, free: 5.121 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.32, allocations: 0 / 432.7 MB, free: 5.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001016/0.321, allocations: 447.8 kB / 433.1 MB, free: 4.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.321, allocations: 8 kB / 433.1 MB, free: 4.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.321, allocations: 3.938 kB / 433.1 MB, free: 4.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.321, allocations: 0 / 433.1 MB, free: 4.668 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/0.3214, allocations: 99.84 kB / 433.2 MB, free: 4.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.3214, allocations: 3.984 kB / 433.2 MB, free: 4.566 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.3216, allocations: 31.97 kB / 433.3 MB, free: 4.535 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.3216, allocations: 8 kB / 433.3 MB, free: 4.527 MB / 334.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 (49): * Single equations (assignments): 48 * 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.00018/0.3218, allocations: 154.7 kB / 433.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.3218, allocations: 19.86 kB / 433.4 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.816e-05/0.3219, allocations: 26.66 kB / 433.5 MB, free: 4.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.3219, allocations: 11.94 kB / 433.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3219, allocations: 0 / 433.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.3219, allocations: 3.984 kB / 433.5 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.3235, allocations: 0.7693 MB / 434.2 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.3235, allocations: 0 / 434.2 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003295/0.3239, allocations: 71.94 kB / 434.3 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3239, allocations: 0 / 434.3 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.3239, allocations: 8 kB / 434.3 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.3239, allocations: 0 / 434.3 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.3239, allocations: 4 kB / 434.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.3252, allocations: 0.6069 MB / 434.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.335e-05/0.3253, allocations: 19.86 kB / 435 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.118e-05/0.3253, allocations: 16.05 kB / 435 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.3255, allocations: 19.97 kB / 435 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.719e-05/0.3256, allocations: 20.2 kB / 435 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/0.3256, allocations: 19.92 kB / 435 MB, free: 2.672 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001498/0.3258, allocations: 153.5 kB / 435.2 MB, free: 2.523 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3258, allocations: 0 / 435.2 MB, free: 2.523 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003653/0.3261, allocations: 75.88 kB / 435.3 MB, free: 2.449 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (29): * Single equations (assignments): 27 * 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.001985/0.3281, allocations: 1.235 MB / 436.5 MB, free: 1.215 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000922/0.329, allocations: 339 kB / 436.8 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.329, allocations: 0 / 436.8 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004051/0.3295, allocations: 153.6 kB / 437 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.3298, allocations: 39.91 kB / 437 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004921/0.3347, allocations: 3.103 MB / 440.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.3352, allocations: 0.7523 MB / 440.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001603/0.3353, allocations: 38.27 kB / 440.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/0.3355, allocations: 87.39 kB / 441 MB, free: 12.59 MB / 350.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3355, allocations: 0 / 441 MB, free: 12.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02814/0.3636, allocations: 6.422 MB / 447.4 MB, free: 6.332 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12, allocations: 7.5 kB / 447.4 MB, free: 6.328 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-09 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.4620411110227] Failed to read output from testmodel.py, exit status != 0: ['time', 'mean.mu', 'standardDeviation.variance.mu', 'standardDeviation.variance.var', 'variance.mu', 'variance.var', 'meanError_y', 'sigmaError_y'] 12.157204538001679 12.174765127 11.862729850000001 Calling exit ...