Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers") Notification: Performance of loadModel(Modelica): time 2.331/2.331, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004986/0.0004988, allocations: 12 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1166, allocations: 44.51 MB / 309 MB, free: 380 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.497/0.6136, allocations: 71.21 MB / 380.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/0.614, allocations: 68.52 kB / 380.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01322/0.6272, allocations: 3.004 MB / 383.3 MB, free: 14.87 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.6273, allocations: 1.25 kB / 383.3 MB, free: 14.87 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.6273, allocations: 1.562 kB / 383.3 MB, free: 14.87 MB / 314.7 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.000702/0.628, allocations: 0.5629 MB / 383.9 MB, free: 14.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.6281, allocations: 9.031 kB / 383.9 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002043/0.6283, allocations: 17.75 kB / 383.9 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.6284, allocations: 179 kB / 384.1 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.6285, allocations: 7.562 kB / 384.1 MB, free: 14.17 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.525e-05/0.6285, allocations: 4.062 kB / 384.1 MB, free: 14.17 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004564/0.629, allocations: 282.5 kB / 384.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.629, allocations: 0 / 384.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/0.629, allocations: 2.75 kB / 384.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.6291, allocations: 3.938 kB / 384.4 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002068/0.6293, allocations: 140.5 kB / 384.5 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002448/0.6295, allocations: 219.2 kB / 384.7 MB, free: 13.9 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004564/0.63, allocations: 0.4929 MB / 385.2 MB, free: 13.85 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-06/0.63, allocations: 1.375 kB / 385.2 MB, free: 13.85 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006167/0.6307, allocations: 482.8 kB / 385.7 MB, free: 13.64 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 2.856e-06/0.6307, allocations: 0 / 385.7 MB, free: 13.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.001375/0.6321, allocations: 0.8923 MB / 386.6 MB, free: 13.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.361e-05/0.6322, allocations: 159.2 kB / 386.7 MB, free: 13.19 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.958e-05/0.6323, allocations: 107 kB / 386.8 MB, free: 13.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.6323, allocations: 26.77 kB / 386.9 MB, free: 13.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.844e-05/0.6324, allocations: 86.08 kB / 387 MB, free: 12.97 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.691e-05/0.6325, allocations: 87.11 kB / 387 MB, free: 12.92 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.6325, allocations: 0.8438 kB / 387 MB, free: 12.92 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.148e-05/0.6326, allocations: 330.6 kB / 387.4 MB, free: 12.6 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.6327, allocations: 80.95 kB / 387.4 MB, free: 12.6 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.6328, allocations: 108.8 kB / 387.6 MB, free: 12.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002308/0.6331, allocations: 197 kB / 387.7 MB, free: 12.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.6331, allocations: 3.953 kB / 387.7 MB, free: 12.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005155/0.6336, allocations: 350.7 kB / 388.1 MB, free: 12.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.6337, allocations: 110.7 kB / 388.2 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.6338, allocations: 7.312 kB / 388.2 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.6338, allocations: 4.094 kB / 388.2 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.684e-06/0.6338, allocations: 1.344 kB / 388.2 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.6338, allocations: 3.797 kB / 388.2 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.6339, allocations: 21.84 kB / 388.2 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/0.634, allocations: 7.875 kB / 388.2 MB, free: 12.32 MB / 314.7 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 ($whenCondition2,r64,r128,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],$whenCondition1,rImpure,iImpure) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004799/0.6345, allocations: 300.5 kB / 388.5 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.6346, allocations: 29.08 kB / 388.6 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.879e-05/0.6347, allocations: 9.578 kB / 388.6 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.6347, allocations: 0 / 388.6 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.6347, allocations: 1.312 kB / 388.6 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.6347, allocations: 1.344 kB / 388.6 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000392/0.6351, allocations: 238.1 kB / 388.8 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.6352, allocations: 5.344 kB / 388.8 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.089e-06/0.6352, allocations: 6.766 kB / 388.8 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/0.6352, allocations: 1.312 kB / 388.8 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.523e-05/0.6353, allocations: 20.09 kB / 388.8 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.6353, allocations: 1.969 kB / 388.8 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.6354, allocations: 2.531 kB / 388.8 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/0.6373, allocations: 1.236 MB / 390.1 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.438e-05/0.6374, allocations: 100.6 kB / 390.2 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/0.6376, allocations: 72.38 kB / 390.3 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.6377, allocations: 10.03 kB / 390.3 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.838e-05/0.6378, allocations: 13.16 kB / 390.3 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-05/0.6379, allocations: 32.47 kB / 390.3 MB, free: 11.65 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.065e-05/0.6379, allocations: 82.66 kB / 390.4 MB, free: 11.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6379, allocations: 0 / 390.4 MB, free: 11.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006051/0.6385, allocations: 99.31 kB / 390.5 MB, free: 11.56 MB / 314.7 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 ($whenCondition2,r64,r128,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],$whenCondition1,rImpure,iImpure) * Number of discrete states: 46 (iImpure,rImpure,$whenCondition1,r1024,r128,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007981/0.6394, allocations: 325.9 kB / 390.8 MB, free: 11.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001967/0.6413, allocations: 2.126 MB / 392.9 MB, free: 11.28 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.6414, allocations: 3.938 kB / 392.9 MB, free: 11.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001875/0.6433, allocations: 2.184 MB / 395.1 MB, free: 11.15 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.6436, allocations: 13.05 kB / 395.1 MB, free: 11.15 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008056/0.6444, allocations: 414.5 kB / 395.5 MB, free: 10.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.6446, allocations: 0.7308 MB / 396.3 MB, free: 10.25 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.506e-05/0.6447, allocations: 0 / 396.3 MB, free: 10.25 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.633e-05/0.6447, allocations: 7.438 kB / 396.3 MB, free: 10.25 MB / 314.7 MB Notification: Performance of SimCode: time 1.483e-06/0.6447, allocations: 0 / 396.3 MB, free: 10.25 MB / 314.7 MB Notification: Performance of Templates: time 0.009297/0.654, allocations: 3.275 MB / 399.5 MB, free: 9.867 MB / 314.7 MB