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.001177/0.001177, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.00124/0.00124, allocations: 222.3 kB / 22.92 MB, free: 5.195 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.289/1.289, allocations: 230.5 MB / 256.4 MB, free: 8.25 MB / 206.1 MB " [Timeout remaining time 179] 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.001833/0.001833, allocations: 67.89 kB / 376.1 MB, free: 4.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2296, allocations: 53.31 MB / 429.4 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002009/0.2316, allocations: 1.257 MB / 430.6 MB, free: 6.176 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008853/0.2325, allocations: 465.6 kB / 431.1 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.71e-05/0.2325, allocations: 0 / 431.1 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.72e-05/0.2325, allocations: 7.922 kB / 431.1 MB, free: 5.715 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.0003952/0.2329, allocations: 75.72 kB / 431.2 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000128/0.2331, allocations: 59.83 kB / 431.2 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.827e-05/0.2331, allocations: 51.83 kB / 431.3 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.688e-05/0.2332, allocations: 8 kB / 431.3 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.921e-05/0.2332, allocations: 15.98 kB / 431.3 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.912e-05/0.2332, allocations: 27.84 kB / 431.3 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.2333, allocations: 4 kB / 431.3 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.2335, allocations: 127.8 kB / 431.5 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.533e-05/0.2335, allocations: 31.92 kB / 431.5 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.613e-05/0.2336, allocations: 51.61 kB / 431.6 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.2338, allocations: 179.6 kB / 431.7 MB, free: 5.098 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2338, allocations: 0 / 431.7 MB, free: 5.098 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2338, allocations: 0 / 431.7 MB, free: 5.098 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.2338, allocations: 4 kB / 431.7 MB, free: 5.094 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.0005594/0.2344, allocations: 0.5682 MB / 432.3 MB, free: 4.461 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.2344, allocations: 8.031 kB / 432.3 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.385e-05/0.2345, allocations: 54.69 kB / 432.4 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.2346, allocations: 28.77 kB / 432.4 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.2347, allocations: 172.3 kB / 432.6 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.2347, allocations: 4.375 kB / 432.6 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.2348, allocations: 8.375 kB / 432.6 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003126/0.2351, allocations: 294.8 kB / 432.9 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.2351, allocations: 3.938 kB / 432.9 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.2351, allocations: 4 kB / 432.9 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.2351, allocations: 0 / 432.9 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.2352, allocations: 144.3 kB / 433 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003247/0.2356, allocations: 381.5 kB / 433.4 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.2358, allocations: 193.5 kB / 433.6 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.2359, allocations: 174 kB / 433.7 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.2359, allocations: 0 / 433.7 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004463/0.2364, allocations: 490.8 kB / 434.2 MB, free: 2.363 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 1.242e-06/0.2364, allocations: 0 / 434.2 MB, free: 2.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.0008429/0.2372, allocations: 0.7619 MB / 435 MB, free: 1.586 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.498e-05/0.2373, allocations: 160.5 kB / 435.1 MB, free: 1.398 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.096e-05/0.2374, allocations: 101.8 kB / 435.2 MB, free: 1.289 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.2374, allocations: 29.7 kB / 435.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.2375, allocations: 81.14 kB / 435.3 MB, free: 1.168 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.936e-05/0.2375, allocations: 99.19 kB / 435.4 MB, free: 1.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-05/0.2376, allocations: 45.69 kB / 435.5 MB, free: 1.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.2377, allocations: 330.9 kB / 435.8 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.12e-05/0.2378, allocations: 88.34 kB / 435.9 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.966e-05/0.2379, allocations: 116.2 kB / 436 MB, free: 492 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/0.2383, allocations: 435.8 kB / 436.4 MB, free: 24 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.2383, allocations: 3.938 kB / 436.4 MB, free: 20 kB / 334.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0004003/0.2387, allocations: 372.2 kB / 436.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.973e-05/0.2388, allocations: 114.5 kB / 436.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.2388, allocations: 0 / 436.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.2388, allocations: 0 / 436.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.404e-05/0.2389, allocations: 8.031 kB / 436.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.2389, allocations: 4 kB / 436.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.527e-05/0.2389, allocations: 23.78 kB / 436.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.2389, allocations: 11.98 kB / 437 MB, free: 15.47 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: 46 (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,$outputAlias_r128,$outputAlias_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.0002679/0.2392, allocations: 303.6 kB / 437.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.607e-05/0.2393, allocations: 23.91 kB / 437.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.324e-05/0.2393, allocations: 13.56 kB / 437.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2393, allocations: 0 / 437.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.2393, allocations: 0 / 437.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.2393, allocations: 3.984 kB / 437.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.2406, allocations: 1.46 MB / 438.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2406, allocations: 4 kB / 438.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.138e-05/0.2407, allocations: 4 kB / 438.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2407, allocations: 0 / 438.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.2407, allocations: 24.05 kB / 438.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2407, allocations: 4 kB / 438.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2407, allocations: 3.938 kB / 438.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.242, allocations: 1.338 MB / 440.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/0.242, allocations: 100.9 kB / 440.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.2421, allocations: 63.95 kB / 440.3 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.225e-05/0.2422, allocations: 11.94 kB / 440.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.2423, allocations: 15.98 kB / 440.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.2423, allocations: 19.98 kB / 440.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.49e-05/0.2423, allocations: 83.22 kB / 440.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2423, allocations: 0 / 440.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003513/0.2427, allocations: 95.86 kB / 440.5 MB, free: 11.78 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: 46 ($whenCondition1,rImpure,iImpure,$whenCondition2,$outputAlias_r64,$outputAlias_r128,$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.002294/0.245, allocations: 2.327 MB / 442.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.246, allocations: 1.078 MB / 443.9 MB, free: 8.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.246, allocations: 0 / 443.9 MB, free: 8.336 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007452/0.2467, allocations: 0.8967 MB / 444.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.247, allocations: 28.12 kB / 444.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003246/0.2502, allocations: 3.328 MB / 448.2 MB, free: 3.941 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.2506, allocations: 0.7278 MB / 448.9 MB, free: 3.188 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.417e-05/0.2506, allocations: 7.984 kB / 448.9 MB, free: 3.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.684e-05/0.2506, allocations: 43.36 kB / 448.9 MB, free: 3.141 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2506, allocations: 0 / 448.9 MB, free: 3.141 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02699/0.2776, allocations: 4.807 MB / 453.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.978/7.256, allocations: 8.047 kB / 453.8 MB, free: 14.41 MB / 366.1 MB " [Timeout remaining time 653] (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 --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: 9.261238701001275]