Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.001272/0.001272, allocations: 108.6 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.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.001409/0.001409, allocations: 191.5 kB / 24.51 MB, free: 4.086 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.438/1.438, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.NormalNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 39.94 kB / 371.2 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2876, allocations: 52.2 MB / 423.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.00313/0.2907, allocations: 1.859 MB / 425.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002276/0.293, allocations: 1.282 MB / 426.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.631e-05/0.2931, allocations: 4 kB / 426.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.2932, allocations: 23.67 kB / 426.6 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.369e-05/0.2933, allocations: 23.73 kB / 426.6 MB, free: 11.38 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.0008821/0.2942, allocations: 331.1 kB / 426.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002609/0.2944, allocations: 223.4 kB / 427.2 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.2946, allocations: 44.56 kB / 427.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.2947, allocations: 95.69 kB / 427.3 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005414/0.2952, allocations: 126.3 kB / 427.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.685e-05/0.2953, allocations: 24 kB / 427.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005419/0.2958, allocations: 327.4 kB / 427.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.701e-05/0.2959, allocations: 59.7 kB / 427.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.296, allocations: 95.52 kB / 427.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005382/0.2965, allocations: 395.4 kB / 428.3 MB, free: 9.699 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.2965, allocations: 4 kB / 428.3 MB, free: 9.695 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2965, allocations: 0 / 428.3 MB, free: 9.695 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.2965, allocations: 0 / 428.3 MB, free: 9.695 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.001076/0.2976, allocations: 0.5058 MB / 428.8 MB, free: 9.156 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.2977, allocations: 8.031 kB / 428.8 MB, free: 9.148 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.179e-05/0.2977, allocations: 4.188 kB / 428.8 MB, free: 9.145 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.851e-05/0.2978, allocations: 58.66 kB / 428.9 MB, free: 9.078 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000203/0.298, allocations: 32.8 kB / 428.9 MB, free: 9.047 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.2982, allocations: 191.1 kB / 429.1 MB, free: 8.836 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.2983, allocations: 16 kB / 429.1 MB, free: 8.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.781e-05/0.2983, allocations: 24 kB / 429.1 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000491/0.2988, allocations: 209.3 kB / 429.3 MB, free: 8.586 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.2988, allocations: 0 / 429.3 MB, free: 8.586 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.2988, allocations: 8 kB / 429.3 MB, free: 8.578 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.2988, allocations: 7.938 kB / 429.4 MB, free: 8.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004749/0.2993, allocations: 159.9 kB / 429.5 MB, free: 8.414 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.3004, allocations: 0.5499 MB / 430.1 MB, free: 7.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.3014, allocations: 330.6 kB / 430.4 MB, free: 7.488 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003238/0.3018, allocations: 124.8 kB / 430.5 MB, free: 7.363 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.3018, allocations: 0 / 430.5 MB, free: 7.363 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004254/0.3022, allocations: 177.1 kB / 430.7 MB, free: 7.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.523e-06/0.3022, allocations: 0 / 430.7 MB, free: 7.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.003026/0.3052, allocations: 1.027 MB / 431.7 MB, free: 6.121 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.3053, allocations: 67.33 kB / 431.8 MB, free: 6.043 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.3055, allocations: 207.8 kB / 432 MB, free: 5.828 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.652e-05/0.3056, allocations: 41.7 kB / 432 MB, free: 5.781 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.3057, allocations: 129 kB / 432.1 MB, free: 5.652 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.3058, allocations: 115.1 kB / 432.3 MB, free: 5.539 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.3059, allocations: 78.11 kB / 432.3 MB, free: 5.457 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.3061, allocations: 342.8 kB / 432.7 MB, free: 5.113 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004263/0.3065, allocations: 160.8 kB / 432.8 MB, free: 4.953 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004441/0.3069, allocations: 198.4 kB / 433 MB, free: 4.754 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007873/0.3077, allocations: 332.9 kB / 433.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3077, allocations: 0 / 433.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001005/0.3087, allocations: 447.7 kB / 433.8 MB, free: 3.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3088, allocations: 12.03 kB / 433.8 MB, free: 3.969 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.3088, allocations: 0 / 433.8 MB, free: 3.969 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.3088, allocations: 4 kB / 433.8 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004006/0.3092, allocations: 87.81 kB / 433.9 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.3092, allocations: 0 / 433.9 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.3094, allocations: 31.97 kB / 433.9 MB, free: 3.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.3094, allocations: 15.98 kB / 433.9 MB, free: 3.832 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.0001859/0.3096, allocations: 150.7 kB / 434.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.689e-05/0.3096, allocations: 23.86 kB / 434.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.089e-05/0.3097, allocations: 30.59 kB / 434.1 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.3097, allocations: 3.938 kB / 434.1 MB, free: 3.617 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.3097, allocations: 0 / 434.1 MB, free: 3.617 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.3097, allocations: 7.984 kB / 434.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/0.3114, allocations: 0.7731 MB / 434.9 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3114, allocations: 3.938 kB / 434.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003215/0.3117, allocations: 63.94 kB / 435 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3117, allocations: 0 / 435 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.3118, allocations: 8 kB / 435 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.3118, allocations: 4 kB / 435 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3118, allocations: 3.938 kB / 435 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.3131, allocations: 0.6031 MB / 435.6 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.306e-05/0.3131, allocations: 23.84 kB / 435.6 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.846e-05/0.3132, allocations: 12.06 kB / 435.6 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.3134, allocations: 24.09 kB / 435.7 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.404e-05/0.3134, allocations: 28.19 kB / 435.7 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.3135, allocations: 15.94 kB / 435.7 MB, free: 1.973 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001492/0.3136, allocations: 153.5 kB / 435.8 MB, free: 1.824 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3136, allocations: 0 / 435.8 MB, free: 1.824 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004572/0.3141, allocations: 107.8 kB / 436 MB, free: 1.719 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.002194/0.3163, allocations: 1.302 MB / 437.3 MB, free: 428 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009208/0.3172, allocations: 343 kB / 437.6 MB, free: 88 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3172, allocations: 3.938 kB / 437.6 MB, free: 84 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004121/0.3176, allocations: 149 kB / 437.7 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.3179, allocations: 36.05 kB / 437.8 MB, free: 15.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005073/0.323, allocations: 3.118 MB / 440.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/0.3235, allocations: 0.7562 MB / 441.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001716/0.3237, allocations: 34.28 kB / 441.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.3238, allocations: 83.39 kB / 441.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3238, allocations: 4 kB / 441.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03027/0.3541, allocations: 7.133 MB / 448.9 MB, free: 4.809 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.01, allocations: 9.578 kB / 448.9 MB, free: 4.805 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-09 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_NormalNoiseProperties.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.47922999196453] 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.17447078996338 12.199083135 11.899351467 Calling exit ...