Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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.001258/0.001258, allocations: 110.6 kB / 19.17 MB, free: 3.871 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.001484/0.001484, allocations: 207.2 kB / 22.12 MB, free: 0.9297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 207.6 MB / 232.5 MB, free: 11.5 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NoiseExamples.UniformNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 52.39 kB / 343 MB, free: 12.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2612, allocations: 49.13 MB / 392.1 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties): time 0.00278/0.264, allocations: 1.842 MB / 394 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001589/0.2656, allocations: 1.014 MB / 395 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.867e-05/0.2657, allocations: 6.562 kB / 395 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.2658, allocations: 19.08 kB / 395 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001682/0.266, allocations: 32.75 kB / 395 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000583/0.2666, allocations: 188 kB / 395.2 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.2668, allocations: 217.5 kB / 395.4 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.267, allocations: 55.27 kB / 395.5 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.2671, allocations: 101.3 kB / 395.6 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.2672, allocations: 124.2 kB / 395.7 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.169e-05/0.2673, allocations: 21.75 kB / 395.7 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002881/0.2676, allocations: 140 kB / 395.9 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.222e-05/0.2677, allocations: 61.59 kB / 395.9 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.624e-05/0.2677, allocations: 103.1 kB / 396 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004713/0.2682, allocations: 309.8 kB / 396.3 MB, free: 6.254 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2682, allocations: 0 / 396.3 MB, free: 6.254 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2682, allocations: 3.938 kB / 396.3 MB, free: 6.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.2682, allocations: 0 / 396.3 MB, free: 6.25 MB / 318.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.001118/0.2694, allocations: 0.5633 MB / 396.9 MB, free: 5.781 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.2694, allocations: 8.906 kB / 396.9 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.48e-05/0.2694, allocations: 8.844 kB / 396.9 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.247e-05/0.2695, allocations: 58.83 kB / 397 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002133/0.2697, allocations: 39.86 kB / 397 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.2699, allocations: 244.6 kB / 397.3 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.27, allocations: 12.94 kB / 397.3 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.907e-05/0.27, allocations: 27.92 kB / 397.3 MB, free: 5.453 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004793/0.2705, allocations: 215 kB / 397.5 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.2705, allocations: 2.031 kB / 397.5 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.2705, allocations: 5.094 kB / 397.5 MB, free: 5.359 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.964e-06/0.2705, allocations: 8.312 kB / 397.5 MB, free: 5.355 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004481/0.271, allocations: 154.7 kB / 397.7 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000938/0.2719, allocations: 0.5963 MB / 398.3 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.273, allocations: 313.4 kB / 398.6 MB, free: 4.828 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/0.2733, allocations: 122.4 kB / 398.7 MB, free: 4.789 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.2733, allocations: 11.16 kB / 398.7 MB, free: 4.781 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004017/0.2737, allocations: 168 kB / 398.9 MB, free: 4.707 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 2.023e-06/0.2737, allocations: 5 kB / 398.9 MB, free: 4.703 MB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.002935/0.2767, allocations: 1.096 MB / 400 MB, free: 4.188 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.2767, allocations: 58.86 kB / 400 MB, free: 4.125 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.2769, allocations: 212.5 kB / 400.2 MB, free: 3.984 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.277, allocations: 41.48 kB / 400.3 MB, free: 3.945 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.889e-05/0.277, allocations: 131.3 kB / 400.4 MB, free: 3.828 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.975e-05/0.2771, allocations: 119.6 kB / 400.5 MB, free: 3.734 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.2772, allocations: 80.38 kB / 400.6 MB, free: 3.691 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.901e-05/0.2773, allocations: 340.4 kB / 400.9 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004235/0.2778, allocations: 158.9 kB / 401.1 MB, free: 3.324 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004362/0.2782, allocations: 200.9 kB / 401.3 MB, free: 3.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007776/0.279, allocations: 332 kB / 401.6 MB, free: 3.129 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.279, allocations: 0 / 401.6 MB, free: 3.129 MB / 318.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009743/0.2799, allocations: 448.2 kB / 402 MB, free: 2.977 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.28, allocations: 5.281 kB / 402.1 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.28, allocations: 0 / 402.1 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.28, allocations: 2.5 kB / 402.1 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003744/0.2804, allocations: 97.5 kB / 402.1 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.2804, allocations: 2.844 kB / 402.2 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.2806, allocations: 34.34 kB / 402.2 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.049e-05/0.2806, allocations: 15.36 kB / 402.2 MB, free: 2.945 MB / 318.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.0001348/0.2807, allocations: 157.3 kB / 402.4 MB, free: 2.801 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.098e-05/0.2808, allocations: 25.91 kB / 402.4 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.343e-05/0.2808, allocations: 29.14 kB / 402.4 MB, free: 2.762 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2809, allocations: 6.594 kB / 402.4 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.2809, allocations: 0.6562 kB / 402.4 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.2809, allocations: 3 kB / 402.4 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/0.2823, allocations: 0.8003 MB / 403.2 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2823, allocations: 5.062 kB / 403.2 MB, free: 2.277 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003204/0.2827, allocations: 66.73 kB / 403.3 MB, free: 2.273 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.2827, allocations: 5.688 kB / 403.3 MB, free: 2.27 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/0.2827, allocations: 13.98 kB / 403.3 MB, free: 2.262 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.2827, allocations: 2.047 kB / 403.3 MB, free: 2.262 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.2827, allocations: 1.188 kB / 403.3 MB, free: 2.262 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.2839, allocations: 0.5976 MB / 403.9 MB, free: 1.973 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.361e-05/0.2839, allocations: 98.55 kB / 404 MB, free: 1.867 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/0.284, allocations: 13.55 kB / 404 MB, free: 1.859 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.2842, allocations: 26.81 kB / 404 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.676e-05/0.2843, allocations: 20.72 kB / 404.1 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.2843, allocations: 8.578 kB / 404.1 MB, free: 1.852 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.2844, allocations: 153 kB / 404.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2844, allocations: 1.375 kB / 404.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004162/0.2848, allocations: 75.94 kB / 404.3 MB, free: 1.738 MB / 318.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.001763/0.2866, allocations: 1.258 MB / 405.6 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009289/0.2875, allocations: 351.6 kB / 405.9 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2875, allocations: 0 / 405.9 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004118/0.2879, allocations: 154 kB / 406 MB, free: 0.707 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.2883, allocations: 42.16 kB / 406.1 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004813/0.2931, allocations: 3.104 MB / 409.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.2935, allocations: 0.7512 MB / 409.9 MB, free: 14.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001704/0.2937, allocations: 42.73 kB / 410 MB, free: 14.08 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.2938, allocations: 83.17 kB / 410.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2938, allocations: 0 / 410.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02675/0.3206, allocations: 6.296 MB / 416.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.535/8.856, allocations: 6.688 kB / 416.4 MB, free: 10.71 MB / 334.1 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-09 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.21542020299239] 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'] 8.985049762006383 9.006927875 8.734585713 Calling exit ...