Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001922/0.001922, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00218/0.00218, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.466/1.466, allocations: 230.6 MB / 258.3 MB, free: 8.078 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Math.Random.Examples.GenerateRandomNumbers,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Math_Random_Examples_GenerateRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Random.Examples.GenerateRandomNumbers,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Math_Random_Examples_GenerateRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 65 kB / 378.5 MB, free: 3.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2768, allocations: 53.37 MB / 431.9 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.00263/0.2795, allocations: 1.25 MB / 433.2 MB, free: 5.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.2806, allocations: 473.4 kB / 433.6 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.674e-05/0.2806, allocations: 0 / 433.6 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.458e-05/0.2806, allocations: 3.984 kB / 433.6 MB, free: 5.371 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.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.typeBindings: time 0.0004507/0.2811, allocations: 79.72 kB / 433.7 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001619/0.2812, allocations: 67.75 kB / 433.8 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.2813, allocations: 51.83 kB / 433.8 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.2814, allocations: 4 kB / 433.8 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.603e-05/0.2814, allocations: 15.98 kB / 433.8 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.926e-05/0.2815, allocations: 23.91 kB / 433.9 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.2815, allocations: 4 kB / 433.9 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00032/0.2818, allocations: 159.7 kB / 434 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.336e-05/0.2818, allocations: 31.91 kB / 434.1 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.25e-05/0.2819, allocations: 47.69 kB / 434.1 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.2822, allocations: 180.4 kB / 434.3 MB, free: 4.719 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2822, allocations: 7.938 kB / 434.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2822, allocations: 0 / 434.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.2822, allocations: 0 / 434.3 MB, free: 4.711 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006372/0.2828, allocations: 0.4968 MB / 434.8 MB, free: 4.168 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.2829, allocations: 8.031 kB / 434.8 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.425e-05/0.2829, allocations: 50.69 kB / 434.8 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.2831, allocations: 24.83 kB / 434.9 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.2832, allocations: 122.4 kB / 435 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.2832, allocations: 4.375 kB / 435 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.2832, allocations: 8.375 kB / 435 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000349/0.2836, allocations: 278.9 kB / 435.3 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.2836, allocations: 3.938 kB / 435.3 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.2836, allocations: 15.88 kB / 435.3 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2836, allocations: 0 / 435.3 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.2838, allocations: 144.3 kB / 435.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004031/0.2842, allocations: 364.7 kB / 435.8 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002986/0.2845, allocations: 197.4 kB / 436 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.2846, allocations: 162.1 kB / 436.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.001e-06/0.2846, allocations: 0 / 436.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005442/0.2852, allocations: 494.8 kB / 436.6 MB, free: 2.172 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 9.82e-07/0.2852, allocations: 0 / 436.6 MB, free: 2.172 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.000934/0.2861, allocations: 0.7605 MB / 437.4 MB, free: 1.395 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.2862, allocations: 164.5 kB / 437.5 MB, free: 1.203 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.135e-05/0.2863, allocations: 97.86 kB / 437.6 MB, free: 1.098 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.2863, allocations: 29.7 kB / 437.7 MB, free: 1.062 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/0.2864, allocations: 81.14 kB / 437.7 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.236e-05/0.2864, allocations: 95.22 kB / 437.8 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.164e-05/0.2865, allocations: 49.73 kB / 437.9 MB, free: 0.832 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.2866, allocations: 330.8 kB / 438.2 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.441e-05/0.2867, allocations: 84.41 kB / 438.3 MB, free: 424 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.2869, allocations: 112.3 kB / 438.4 MB, free: 308 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004099/0.2873, allocations: 440.8 kB / 438.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.2873, allocations: 7.875 kB / 438.8 MB, free: 15.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0004134/0.2877, allocations: 360.5 kB / 439.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001247/0.2878, allocations: 119.3 kB / 439.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2878, allocations: 0 / 439.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.2878, allocations: 0 / 439.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.679e-05/0.2879, allocations: 8 kB / 439.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.2879, allocations: 0 / 439.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.277e-05/0.288, allocations: 27.78 kB / 439.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.288, allocations: 12 kB / 439.4 MB, free: 15.29 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: 49 (state1024[33],state1024[32],state1024[31],state1024[30],state1024[29],state1024[28],state1024[27],state1024[26],state1024[25],state1024[24],state1024[23],state1024[22],state1024[21],state1024[20],state1024[19],state1024[18],state1024[17],state1024[16],state1024[15],state1024[14],state1024[13],state1024[12],state1024[11],state1024[10],state1024[9],state1024[8],state1024[7],state1024[6],state1024[5],state1024[4],state1024[3],state1024[2],state1024[1],state128[4],state128[3],state128[2],state128[1],state64[2],state64[1],$outputAlias_r1024,r1024,$outputAlias_r128,r128,$outputAlias_r64,r64,$whenCondition2,iImpure,rImpure,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 2 * 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.0003213/0.2883, allocations: 303.6 kB / 439.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.882e-05/0.2884, allocations: 31.86 kB / 439.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.641e-05/0.2884, allocations: 9.656 kB / 439.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.2884, allocations: 0 / 439.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2884, allocations: 0 / 439.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2884, allocations: 0 / 439.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/0.29, allocations: 1.439 MB / 441.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.29, allocations: 4 kB / 441.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.789e-05/0.29, allocations: 7.984 kB / 441.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.29, allocations: 0 / 441.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.29, allocations: 16 kB / 441.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.2901, allocations: 0 / 441.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2901, allocations: 0 / 441.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.2916, allocations: 1.347 MB / 442.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.205e-05/0.2916, allocations: 27.84 kB / 442.5 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.2917, allocations: 67.94 kB / 442.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.437e-05/0.2918, allocations: 8 kB / 442.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.2919, allocations: 11.98 kB / 442.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.172e-05/0.2919, allocations: 23.92 kB / 442.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.858e-05/0.2919, allocations: 87.2 kB / 442.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2919, allocations: 0 / 442.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004261/0.2924, allocations: 95.86 kB / 442.8 MB, free: 11.71 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 49 ($whenCondition1,rImpure,iImpure,$whenCondition2,r64,$outputAlias_r64,r128,$outputAlias_r128,r1024,$outputAlias_r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33]) * Number of discrete states: 46 ($outputAlias_r1024,$outputAlias_r128,$outputAlias_r64,state1024[33],state1024[32],state1024[31],state1024[30],state1024[29],state1024[28],state1024[27],state1024[26],state1024[25],state1024[24],state1024[23],state1024[22],state1024[21],state1024[20],state1024[19],state1024[18],state1024[17],state1024[16],state1024[15],state1024[14],state1024[13],state1024[12],state1024[11],state1024[10],state1024[9],state1024[8],state1024[7],state1024[6],state1024[5],state1024[4],state1024[3],state1024[2],state1024[1],state128[4],state128[3],state128[2],state128[1],state64[2],state64[1],$whenCondition2,iImpure,rImpure,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 2 * 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 Backend phase and start with SimCode phase: time 0.002688/0.2951, allocations: 2.327 MB / 445.2 MB, free: 9.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001251/0.2963, allocations: 1.07 MB / 446.2 MB, free: 8.273 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.2963, allocations: 4.062 kB / 446.2 MB, free: 8.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008847/0.2972, allocations: 0.8967 MB / 447.1 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.2975, allocations: 31.45 kB / 447.2 MB, free: 7.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003671/0.3012, allocations: 3.311 MB / 450.5 MB, free: 3.902 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.3015, allocations: 0.7281 MB / 451.2 MB, free: 3.148 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.782e-05/0.3015, allocations: 4 kB / 451.2 MB, free: 3.145 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.062e-05/0.3016, allocations: 35.42 kB / 451.2 MB, free: 3.109 MB / 350.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3016, allocations: 0 / 451.2 MB, free: 3.109 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02975/0.3313, allocations: 5.016 MB / 456.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.088/8.42, allocations: 11.25 kB / 456.3 MB, free: 14.17 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Math_Random_Examples_GenerateRandomNumbers_fmu --startTime=0 --stopTime=2 --stepSize=0.000396747 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Math_Random_Examples_GenerateRandomNumbers.fmu > Modelica_4.1.0-beta.om_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.816457812674344] Failed to read output from testmodel.py, exit status != 0: ['time', 'r1024', 'r128', 'r64'] 8.493502194061875 8.519231927 8.233005674 Calling exit ...