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: "" <> buildModelFMU(Modelica.Math.Random.Examples.GenerateRandomNumbers,fileNamePrefix="Modelica_3_2_2_Modelica_Math_Random_Examples_GenerateRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.184/2.184, allocations: 194.9 MB / 211.1 MB, free: 7.59 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003612, allocations: 12 kB / 264.1 MB, free: 2.508 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2961, allocations: 44.5 MB / 308.6 MB, free: 12.56 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.133/0.4292, allocations: 71.22 MB / 379.8 MB, free: 5.242 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.4295, allocations: 59.97 kB / 379.8 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01334/0.4428, allocations: 2.999 MB / 382.8 MB, free: 2.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.4429, allocations: 0 / 382.8 MB, free: 2.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.4429, allocations: 4 kB / 382.8 MB, free: 2.176 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.0007998/0.4437, allocations: 0.5643 MB / 383.4 MB, free: 1.551 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.4438, allocations: 12.03 kB / 383.4 MB, free: 1.539 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001048/0.4439, allocations: 54.53 kB / 383.5 MB, free: 1.477 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.4441, allocations: 19.81 kB / 383.5 MB, free: 1.457 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.4443, allocations: 182.8 kB / 383.7 MB, free: 1.238 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.4443, allocations: 4 kB / 383.7 MB, free: 1.234 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/0.4444, allocations: 4 kB / 383.7 MB, free: 1.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005787/0.445, allocations: 294.2 kB / 384 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.445, allocations: 3.984 kB / 384 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.445, allocations: 0 / 384 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.445, allocations: 4 kB / 384 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002621/0.4453, allocations: 144.3 kB / 384.1 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004912/0.4458, allocations: 401.4 kB / 384.5 MB, free: 340 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006716/0.4465, allocations: 0.4996 MB / 385 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.4465, allocations: 0 / 385 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000731/0.4473, allocations: 490.8 kB / 385.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of pre-optimization done (n=49): time 2.134e-06/0.4473, allocations: 0 / 385.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=49): time 0.001613/0.4489, allocations: 0.9191 MB / 386.4 MB, free: 14.33 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.4491, allocations: 156.5 kB / 386.6 MB, free: 14.14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.4492, allocations: 101 kB / 386.7 MB, free: 14.04 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.4492, allocations: 25.7 kB / 386.7 MB, free: 14.01 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.4493, allocations: 81.14 kB / 386.8 MB, free: 13.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.4494, allocations: 90.72 kB / 386.8 MB, free: 13.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.437e-06/0.4494, allocations: 4 kB / 386.8 MB, free: 13.83 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.4496, allocations: 334.8 kB / 387.2 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.4498, allocations: 88.44 kB / 387.3 MB, free: 13.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.45, allocations: 116.2 kB / 387.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/0.4503, allocations: 212.1 kB / 387.6 MB, free: 13.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.4503, allocations: 0 / 387.6 MB, free: 13.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006333/0.4509, allocations: 364.2 kB / 387.9 MB, free: 12.69 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001458/0.4511, allocations: 109.8 kB / 388 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.4511, allocations: 4 kB / 388 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.4511, allocations: 0 / 388 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.364e-05/0.4512, allocations: 7.969 kB / 388.1 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4513, allocations: 4 kB / 388.1 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.4514, allocations: 31.69 kB / 388.1 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.4514, allocations: 11.94 kB / 388.1 MB, free: 12.52 MB / 330.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,$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],$whenCondition1,rImpure,iImpure) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004303/0.4519, allocations: 305.6 kB / 388.4 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.72e-05/0.4519, allocations: 23.81 kB / 388.4 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.044e-05/0.452, allocations: 9.562 kB / 388.4 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.452, allocations: 4 kB / 388.4 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.452, allocations: 0 / 388.4 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.452, allocations: 3.984 kB / 388.4 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00228/0.4543, allocations: 1.444 MB / 389.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.4544, allocations: 4.469 kB / 389.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.971e-05/0.4544, allocations: 4 kB / 389.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.4544, allocations: 0 / 389.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.823e-05/0.4545, allocations: 23.98 kB / 389.9 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.4545, allocations: 0 / 389.9 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4545, allocations: 0 / 389.9 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002189/0.4567, allocations: 1.336 MB / 391.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.627e-05/0.4568, allocations: 96.8 kB / 391.3 MB, free: 9.129 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002253/0.4571, allocations: 79.84 kB / 391.4 MB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.4572, allocations: 12 kB / 391.4 MB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.429e-05/0.4573, allocations: 11.98 kB / 391.4 MB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.126e-05/0.4574, allocations: 31.94 kB / 391.5 MB, free: 8.996 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.345e-05/0.4575, allocations: 79.28 kB / 391.6 MB, free: 8.918 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4575, allocations: 0 / 391.6 MB, free: 8.918 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000627/0.4581, allocations: 115.9 kB / 391.7 MB, free: 8.805 MB / 330.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 ($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 (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.003916/0.4621, allocations: 2.402 MB / 394.1 MB, free: 6.387 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002827/0.4649, allocations: 2.144 MB / 396.2 MB, free: 4.219 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.465, allocations: 0 / 396.2 MB, free: 4.219 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002647/0.4676, allocations: 2.194 MB / 398.4 MB, free: 2 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.4679, allocations: 19.89 kB / 398.4 MB, free: 1.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/0.4708, allocations: 1.521 MB / 400 MB, free: 400 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.4713, allocations: 0.7283 MB / 400.7 MB, free: 15.64 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.137e-05/0.4713, allocations: 4 kB / 400.7 MB, free: 15.63 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.894e-05/0.4714, allocations: 35.42 kB / 400.7 MB, free: 15.6 MB / 346.7 MB Notification: Performance of SimCode: time 1.143e-06/0.4714, allocations: 0 / 400.7 MB, free: 15.6 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02701/0.4984, allocations: 5.07 MB / 405.8 MB, free: 10.53 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003637/0.4989, allocations: 227.9 kB / 406 MB, free: 10.29 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.832/3.33, allocations: 4 kB / 406 MB, free: 10.28 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat does not exist to compare? outputFormat=mat