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.458/2.458, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003385, allocations: 19.98 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1136, allocations: 44.51 MB / 309.1 MB, free: 380 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002082/0.1157, allocations: 0.9462 MB / 310 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.1173, allocations: 432.1 kB / 310.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.562e-05/0.1174, allocations: 0 / 310.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.866e-05/0.1175, allocations: 0 / 310.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005082/0.118, allocations: 47.88 kB / 310.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.1183, allocations: 55.75 kB / 310.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.64e-05/0.1184, allocations: 35.89 kB / 310.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.25e-05/0.1185, allocations: 4 kB / 310.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.981e-05/0.1185, allocations: 19.97 kB / 310.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.744e-05/0.1186, allocations: 15.92 kB / 310.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.1186, allocations: 0 / 310.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003546/0.119, allocations: 103.8 kB / 310.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.708e-05/0.1191, allocations: 31.91 kB / 310.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.44e-05/0.1192, allocations: 45.64 kB / 310.8 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.1195, allocations: 111.8 kB / 310.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1195, allocations: 4 kB / 310.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1195, allocations: 0 / 310.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.1196, allocations: 7.938 kB / 310.9 MB, free: 14.51 MB / 266.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.000789/0.1204, allocations: 0.5488 MB / 311.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.1204, allocations: 12.02 kB / 311.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002345/0.1207, allocations: 15.91 kB / 311.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.1209, allocations: 187 kB / 311.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.1209, allocations: 0 / 311.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/0.121, allocations: 8 kB / 311.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005623/0.1216, allocations: 275.2 kB / 311.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1216, allocations: 0 / 311.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.1216, allocations: 4 kB / 311.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1216, allocations: 0 / 311.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003116/0.122, allocations: 147.9 kB / 312.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002843/0.1223, allocations: 194.3 kB / 312.3 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000755/0.123, allocations: 497.2 kB / 312.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.1231, allocations: 4.031 kB / 312.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008053/0.1239, allocations: 484.5 kB / 313.2 MB, free: 11.94 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 2.705e-06/0.1239, allocations: 0 / 313.2 MB, free: 11.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=46): time 0.001772/0.1257, allocations: 0.8826 MB / 314.1 MB, free: 11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.1259, allocations: 164.5 kB / 314.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.126, allocations: 101.9 kB / 314.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.126, allocations: 25.7 kB / 314.4 MB, free: 10.67 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.142e-05/0.1261, allocations: 81.14 kB / 314.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.1262, allocations: 86.75 kB / 314.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/0.1263, allocations: 4 kB / 314.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.1264, allocations: 330.8 kB / 314.9 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.1266, allocations: 80.34 kB / 315 MB, free: 10.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.1269, allocations: 114.4 kB / 315.1 MB, free: 9.973 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/0.1273, allocations: 191.7 kB / 315.3 MB, free: 9.773 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1273, allocations: 0 / 315.3 MB, free: 9.773 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007202/0.128, allocations: 364.6 kB / 315.6 MB, free: 9.398 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000171/0.1282, allocations: 107.3 kB / 315.7 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1282, allocations: 0 / 315.7 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1282, allocations: 0 / 315.7 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.495e-06/0.1283, allocations: 0 / 315.7 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1283, allocations: 0 / 315.7 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.1284, allocations: 27.73 kB / 315.8 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.982e-05/0.1285, allocations: 12.09 kB / 315.8 MB, free: 9.242 MB / 266.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.0008005/0.1293, allocations: 291.7 kB / 316.1 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.1295, allocations: 35.77 kB / 316.1 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.537e-05/0.1295, allocations: 5.562 kB / 316.1 MB, free: 8.895 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1295, allocations: 0 / 316.1 MB, free: 8.895 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.1296, allocations: 3.984 kB / 316.1 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.1297, allocations: 108.7 kB / 316.2 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002855/0.13, allocations: 67.94 kB / 316.3 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.1302, allocations: 8 kB / 316.3 MB, free: 8.691 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.799e-05/0.1303, allocations: 8 kB / 316.3 MB, free: 8.684 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004028/0.1343, allocations: 2.005 MB / 318.3 MB, free: 6.633 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002683/0.137, allocations: 1.42 MB / 319.7 MB, free: 5.184 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002247/0.1393, allocations: 1.5 MB / 321.2 MB, free: 3.684 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.081e-05/0.1394, allocations: 83.27 kB / 321.3 MB, free: 3.602 MB / 266.7 MB Notification: Performance of Backend: time 1.132e-06/0.1394, allocations: 0 / 321.3 MB, free: 3.602 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.004124/0.1436, allocations: 2.12 MB / 323.4 MB, free: 1.48 MB / 266.7 MB Notification: Performance of SimCode: time 0.002038/0.1456, allocations: 1.404 MB / 324.8 MB, free: 8 kB / 266.7 MB Notification: Performance of Templates: time 0.008614/0.1543, allocations: 2.894 MB / 327.7 MB, free: 13.11 MB / 282.7 MB "" Variables in the reference:time,r1024,r128,r64 Variables in the result:globalSeed,id,localSeed,r1024,r128,r64,samplePeriod,time