Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.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.00173/0.00173, allocations: 104.9 kB / 21.96 MB, free: 5.219 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.002064/0.002064, allocations: 210.1 kB / 25.25 MB, free: 3.133 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.394/1.394, allocations: 207.7 MB / 236.1 MB, free: 9.789 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.UniformNoise,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",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.001654/0.001654, allocations: 47.92 kB / 348 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3008, allocations: 49.16 MB / 397.1 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.00233/0.3031, allocations: 1.456 MB / 398.6 MB, free: 7.891 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009915/0.3041, allocations: 0.5483 MB / 399.1 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.21e-05/0.3042, allocations: 0 / 399.1 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.231e-05/0.3042, allocations: 13.95 kB / 399.2 MB, free: 7.535 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.432e-05/0.3043, allocations: 16.42 kB / 399.2 MB, free: 7.523 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005382/0.3048, allocations: 158.1 kB / 399.3 MB, free: 7.445 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.305, allocations: 118.7 kB / 399.4 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.396e-05/0.305, allocations: 9.609 kB / 399.4 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.313e-05/0.3051, allocations: 53.31 kB / 399.5 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.942e-05/0.3051, allocations: 56.88 kB / 399.6 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.3052, allocations: 9.5 kB / 399.6 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002828/0.3054, allocations: 165 kB / 399.7 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.745e-05/0.3055, allocations: 37.39 kB / 399.8 MB, free: 7.258 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.09e-05/0.3055, allocations: 44.55 kB / 399.8 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.3058, allocations: 216.3 kB / 400 MB, free: 7.148 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3058, allocations: 0.9688 kB / 400 MB, free: 7.148 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3058, allocations: 0 / 400 MB, free: 7.148 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.3058, allocations: 4 kB / 400 MB, free: 7.145 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005283/0.3064, allocations: 384.3 kB / 400.4 MB, free: 6.805 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3064, allocations: 14.14 kB / 400.4 MB, free: 6.801 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.05e-05/0.3064, allocations: 1.625 kB / 400.4 MB, free: 6.801 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.346e-05/0.3065, allocations: 44.08 kB / 400.5 MB, free: 6.754 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002985/0.3068, allocations: 40.06 kB / 400.5 MB, free: 6.746 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.3069, allocations: 141.7 kB / 400.6 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.3069, allocations: 3.828 kB / 400.6 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.3069, allocations: 11.8 kB / 400.6 MB, free: 6.594 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.3071, allocations: 124.8 kB / 400.8 MB, free: 6.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3072, allocations: 1.531 kB / 400.8 MB, free: 6.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.3072, allocations: 4.5 kB / 400.8 MB, free: 6.516 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3072, allocations: 1.5 kB / 400.8 MB, free: 6.516 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.3073, allocations: 58.91 kB / 400.8 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00058/0.3079, allocations: 416.4 kB / 401.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/0.3082, allocations: 129.9 kB / 401.4 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.943e-05/0.3083, allocations: 60.14 kB / 401.4 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.3083, allocations: 5.875 kB / 401.4 MB, free: 6.035 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002538/0.3085, allocations: 148.8 kB / 401.6 MB, free: 5.945 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.322e-06/0.3085, allocations: 0 / 401.6 MB, free: 5.945 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.000708/0.3093, allocations: 342.2 kB / 401.9 MB, free: 5.801 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.3093, allocations: 87.89 kB / 402 MB, free: 5.707 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.3094, allocations: 178.5 kB / 402.2 MB, free: 5.578 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.3095, allocations: 47.08 kB / 402.2 MB, free: 5.539 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.3095, allocations: 110 kB / 402.3 MB, free: 5.434 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.3096, allocations: 48.36 kB / 402.4 MB, free: 5.398 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.6e-05/0.3097, allocations: 56.88 kB / 402.4 MB, free: 5.367 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.063e-05/0.3097, allocations: 334 kB / 402.8 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.3099, allocations: 109 kB / 402.9 MB, free: 5.008 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.3101, allocations: 153.2 kB / 403 MB, free: 4.926 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003516/0.3105, allocations: 226 kB / 403.2 MB, free: 4.828 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3105, allocations: 0 / 403.2 MB, free: 4.828 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004953/0.311, allocations: 324 kB / 403.5 MB, free: 4.695 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.311, allocations: 11 kB / 403.6 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.311, allocations: 1.219 kB / 403.6 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.311, allocations: 1.188 kB / 403.6 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.3112, allocations: 39.12 kB / 403.6 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.3112, allocations: 2.922 kB / 403.6 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.298e-05/0.3113, allocations: 14.45 kB / 403.6 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.3113, allocations: 8.547 kB / 403.6 MB, free: 4.676 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1],uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 2 * 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.0001132/0.3114, allocations: 154.9 kB / 403.8 MB, free: 4.535 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.3114, allocations: 15.08 kB / 403.8 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.379e-05/0.3114, allocations: 16.14 kB / 403.8 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.3114, allocations: 2.328 kB / 403.8 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3115, allocations: 5.203 kB / 403.8 MB, free: 4.508 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3115, allocations: 0 / 403.8 MB, free: 4.508 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004944/0.312, allocations: 403.9 kB / 404.2 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.312, allocations: 1.219 kB / 404.2 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.497e-05/0.312, allocations: 24.73 kB / 404.2 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.312, allocations: 1.125 kB / 404.2 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.312, allocations: 6.078 kB / 404.2 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.312, allocations: 6.375 kB / 404.2 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.312, allocations: 1.219 kB / 404.2 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003647/0.3124, allocations: 315.3 kB / 404.6 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.375e-05/0.3124, allocations: 17.66 kB / 404.6 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.3125, allocations: 10.53 kB / 404.6 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.245e-05/0.3125, allocations: 20.02 kB / 404.6 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.497e-05/0.3126, allocations: 8.625 kB / 404.6 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.3126, allocations: 11.64 kB / 404.6 MB, free: 3.922 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.047e-05/0.3127, allocations: 124.4 kB / 404.7 MB, free: 3.832 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3127, allocations: 3.938 kB / 404.7 MB, free: 3.828 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003942/0.3131, allocations: 61.38 kB / 404.8 MB, free: 3.809 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition2,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001269/0.3144, allocations: 1.032 MB / 405.8 MB, free: 2.973 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004275/0.3148, allocations: 195.4 kB / 406 MB, free: 2.918 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3148, allocations: 1.875 kB / 406 MB, free: 2.918 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.3149, allocations: 60.22 kB / 406.1 MB, free: 2.902 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.3152, allocations: 8.609 kB / 406.1 MB, free: 2.898 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002389/0.3176, allocations: 2.262 MB / 408.4 MB, free: 1.273 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.3177, allocations: 98.95 kB / 408.5 MB, free: 1.203 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.12e-05/0.3178, allocations: 22.75 kB / 408.5 MB, free: 1.191 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.313e-05/0.3179, allocations: 44.47 kB / 408.5 MB, free: 1.164 MB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3179, allocations: 0 / 408.5 MB, free: 1.164 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02821/0.3461, allocations: 4.257 MB / 412.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.44, allocations: 6.516 kB / 412.8 MB, free: 15.46 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise_fmu --startTime=0 --stopTime=2 --stepSize=0.00039208 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.795169147080742] Failed to read output from testmodel.py, exit status != 0: ['time', 'uniformNoise2_y'] 11.592133075930178 11.606278393 11.297490776 Calling exit ...