Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers") Notification: Performance of loadModel(Modelica): time 2.005/2.005, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003558, allocations: 8 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07875/0.07913, allocations: 44.51 MB / 308.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3272/0.4063, allocations: 71.21 MB / 379.7 MB, free: 18.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002087/0.4066, allocations: 66.14 kB / 379.7 MB, free: 18.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01106/0.4177, allocations: 2.992 MB / 382.7 MB, free: 18.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.5e-06/0.4177, allocations: 1.734 kB / 382.7 MB, free: 18.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.4177, allocations: 1.156 kB / 382.7 MB, free: 18.38 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.000537/0.4183, allocations: 0.5618 MB / 383.3 MB, free: 17.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.4183, allocations: 9.344 kB / 383.3 MB, free: 17.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.4185, allocations: 17.92 kB / 383.3 MB, free: 17.89 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.4186, allocations: 180.8 kB / 383.5 MB, free: 17.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.4187, allocations: 1.781 kB / 383.5 MB, free: 17.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.4187, allocations: 5.688 kB / 383.5 MB, free: 17.68 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003949/0.4191, allocations: 275.2 kB / 383.8 MB, free: 17.63 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.42e-06/0.4191, allocations: 5.406 kB / 383.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.4192, allocations: 5.5 kB / 383.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.405e-06/0.4192, allocations: 1.5 kB / 383.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.4194, allocations: 149.5 kB / 383.9 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001936/0.4196, allocations: 219.2 kB / 384.1 MB, free: 17.4 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000405/0.42, allocations: 493.2 kB / 384.6 MB, free: 17.35 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.329e-06/0.42, allocations: 1.375 kB / 384.6 MB, free: 17.35 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005003/0.4206, allocations: 487.7 kB / 385.1 MB, free: 17.15 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 3.192e-06/0.4206, allocations: 0 / 385.1 MB, free: 17.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.001243/0.4218, allocations: 0.894 MB / 386 MB, free: 16.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.722e-05/0.4219, allocations: 159.2 kB / 386.1 MB, free: 16.69 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.956e-05/0.422, allocations: 97.31 kB / 386.2 MB, free: 16.6 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.422, allocations: 31.14 kB / 386.3 MB, free: 16.56 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.046e-05/0.4221, allocations: 151.6 kB / 386.4 MB, free: 16.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.496e-05/0.4222, allocations: 84.72 kB / 386.5 MB, free: 16.36 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.46e-06/0.4222, allocations: 1.375 kB / 386.5 MB, free: 16.36 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.543e-05/0.4223, allocations: 324.5 kB / 386.8 MB, free: 16.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.4224, allocations: 85.27 kB / 386.9 MB, free: 16.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.4225, allocations: 109.4 kB / 387 MB, free: 16.03 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.4228, allocations: 192.8 kB / 387.2 MB, free: 15.97 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4228, allocations: 5.406 kB / 387.2 MB, free: 15.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004752/0.4233, allocations: 356.9 kB / 387.5 MB, free: 15.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.4234, allocations: 109.5 kB / 387.6 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.4234, allocations: 0 / 387.6 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.4234, allocations: 5.062 kB / 387.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.361e-06/0.4234, allocations: 4.906 kB / 387.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.343e-06/0.4234, allocations: 0 / 387.7 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.26e-05/0.4235, allocations: 18.56 kB / 387.7 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.4236, allocations: 8.906 kB / 387.7 MB, free: 15.77 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.0003175/0.4239, allocations: 299.1 kB / 388 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.388e-05/0.424, allocations: 32.06 kB / 388 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.722e-05/0.424, allocations: 5.562 kB / 388 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.306e-06/0.424, allocations: 5.438 kB / 388 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.424, allocations: 0 / 388 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.404e-06/0.4241, allocations: 1.375 kB / 388 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.4243, allocations: 245.9 kB / 388.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.036e-06/0.4243, allocations: 1.594 kB / 388.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.396e-06/0.4243, allocations: 0 / 388.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.385e-06/0.4243, allocations: 5.547 kB / 388.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.79e-05/0.4244, allocations: 22.14 kB / 388.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.289e-06/0.4244, allocations: 1.562 kB / 388.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.4244, allocations: 0 / 388.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.4259, allocations: 1.24 MB / 389.5 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.275e-05/0.426, allocations: 98.59 kB / 389.6 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/0.4261, allocations: 70.8 kB / 389.7 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.811e-05/0.4262, allocations: 11.34 kB / 389.7 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.319e-05/0.4263, allocations: 13.19 kB / 389.7 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.759e-05/0.4264, allocations: 26.58 kB / 389.7 MB, free: 15.08 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.703e-05/0.4264, allocations: 91.52 kB / 389.8 MB, free: 15 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.4265, allocations: 0 / 389.8 MB, free: 15 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005225/0.427, allocations: 102.3 kB / 389.9 MB, free: 14.98 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.0006922/0.4277, allocations: 326.2 kB / 390.3 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001588/0.4293, allocations: 2.127 MB / 392.4 MB, free: 14.7 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.991e-06/0.4293, allocations: 128 / 392.4 MB, free: 14.7 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001528/0.4309, allocations: 2.196 MB / 394.6 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.4311, allocations: 11.72 kB / 394.6 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006488/0.4317, allocations: 439.7 kB / 395 MB, free: 14.35 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.4319, allocations: 0.7295 MB / 395.7 MB, free: 13.64 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.427e-05/0.4319, allocations: 7.438 kB / 395.8 MB, free: 13.64 MB / 314.7 MB Notification: Performance of SimCode: time 1.618e-06/0.432, allocations: 3.938 kB / 395.8 MB, free: 13.64 MB / 314.7 MB Notification: Performance of Templates: time 0.006005/0.438, allocations: 3.332 MB / 399.1 MB, free: 13.25 MB / 314.7 MB