Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributions.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestDistributions,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestDistributions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.248/2.248, allocations: 235.1 MB / 243 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.928e-05/2.948e-05, allocations: 4 kB / 303.3 MB, free: 3.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3419, allocations: 54.87 MB / 358.1 MB, free: 15.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1691/0.5111, allocations: 81.4 MB / 439.5 MB, free: 14.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/0.5114, allocations: 67.97 kB / 439.6 MB, free: 14.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.621/3.132, allocations: 81.52 MB / 0.5089 GB, free: 88.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.475e-06/3.132, allocations: 0 / 0.5089 GB, free: 88.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.585e-06/3.132, allocations: 0 / 0.5089 GB, free: 88.48 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.005502/3.138, allocations: 447.3 kB / 0.5093 GB, free: 88.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/3.138, allocations: 12.03 kB / 0.5093 GB, free: 88.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/3.138, allocations: 3.906 kB / 0.5093 GB, free: 88.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.108e-05/3.138, allocations: 160.8 kB / 0.5095 GB, free: 87.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/3.138, allocations: 0 / 0.5095 GB, free: 87.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/3.138, allocations: 4.891 kB / 0.5095 GB, free: 87.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.792e-05/3.138, allocations: 3.938 kB / 0.5095 GB, free: 87.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.598e-05/3.138, allocations: 33.66 kB / 0.5095 GB, free: 87.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/3.138, allocations: 0 / 0.5095 GB, free: 87.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/3.138, allocations: 3.984 kB / 0.5095 GB, free: 87.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/3.138, allocations: 4.875 kB / 0.5095 GB, free: 87.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.454e-05/3.138, allocations: 127.3 kB / 0.5097 GB, free: 87.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.612e-05/3.138, allocations: 14.58 kB / 0.5097 GB, free: 87.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.47e-05/3.138, allocations: 8.797 kB / 0.5097 GB, free: 87.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-06/3.138, allocations: 4.094 kB / 0.5097 GB, free: 87.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/3.139, allocations: 60.2 kB / 0.5098 GB, free: 87.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.693e-06/3.139, allocations: 0 / 0.5098 GB, free: 87.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.000193/3.139, allocations: 41.69 kB / 0.5098 GB, free: 87.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/3.139, allocations: 81.11 kB / 0.5099 GB, free: 87.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.294e-05/3.139, allocations: 88.72 kB / 0.51 GB, free: 87.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/3.139, allocations: 25.7 kB / 0.51 GB, free: 87.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.623e-05/3.139, allocations: 150.6 kB / 0.5101 GB, free: 87.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/3.139, allocations: 3.938 kB / 0.5101 GB, free: 87.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/3.139, allocations: 0 / 0.5101 GB, free: 87.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.258e-05/3.139, allocations: 318.2 kB / 0.5104 GB, free: 86.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.039e-05/3.139, allocations: 8.031 kB / 0.5104 GB, free: 86.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.811e-06/3.139, allocations: 0 / 0.5104 GB, free: 86.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.429e-05/3.139, allocations: 0 / 0.5104 GB, free: 86.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/3.139, allocations: 0 / 0.5104 GB, free: 86.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.046e-05/3.139, allocations: 45.62 kB / 0.5105 GB, free: 86.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/3.139, allocations: 32.2 kB / 0.5105 GB, free: 86.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/3.139, allocations: 0 / 0.5105 GB, free: 86.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/3.139, allocations: 0 / 0.5105 GB, free: 86.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.235e-06/3.139, allocations: 4.812 kB / 0.5105 GB, free: 86.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/3.139, allocations: 0 / 0.5105 GB, free: 86.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.69e-05/3.139, allocations: 4.094 kB / 0.5105 GB, free: 86.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/3.139, allocations: 0 / 0.5105 GB, free: 86.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 6.248e-05/3.139, allocations: 134.6 kB / 0.5106 GB, free: 86.52 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.397e-05/3.139, allocations: 37.69 kB / 0.5107 GB, free: 86.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-06/3.139, allocations: 0 / 0.5107 GB, free: 86.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.289e-05/3.139, allocations: 7.703 kB / 0.5107 GB, free: 86.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/3.14, allocations: 0 / 0.5107 GB, free: 86.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/3.14, allocations: 3.5 kB / 0.5107 GB, free: 86.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/3.14, allocations: 7.953 kB / 0.5107 GB, free: 86.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.558e-05/3.14, allocations: 134.3 kB / 0.5108 GB, free: 86.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/3.14, allocations: 0 / 0.5108 GB, free: 86.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.61e-07/3.14, allocations: 0 / 0.5108 GB, free: 86.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/3.14, allocations: 0 / 0.5108 GB, free: 86.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/3.14, allocations: 3.938 kB / 0.5108 GB, free: 86.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/3.14, allocations: 4 kB / 0.5108 GB, free: 86.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/3.14, allocations: 0 / 0.5108 GB, free: 86.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/3.14, allocations: 65.08 kB / 0.5109 GB, free: 86.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.138e-05/3.14, allocations: 77.11 kB / 0.511 GB, free: 86.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/3.14, allocations: 7.719 kB / 0.511 GB, free: 86.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.174e-05/3.14, allocations: 0 / 0.511 GB, free: 86.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/3.14, allocations: 4 kB / 0.511 GB, free: 86.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/3.14, allocations: 0 / 0.511 GB, free: 86.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.709e-05/3.14, allocations: 75.28 kB / 0.5111 GB, free: 86.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.51e-07/3.14, allocations: 0 / 0.5111 GB, free: 86.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01232/3.152, allocations: 2.155 MB / 0.5132 GB, free: 83.89 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.02045/3.173, allocations: 2.77 MB / 0.5159 GB, free: 81.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001243/3.173, allocations: 59.41 kB / 0.5159 GB, free: 81.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/3.173, allocations: 4 kB / 0.5159 GB, free: 81.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.481e-05/3.173, allocations: 55.34 kB / 0.516 GB, free: 80.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001121/3.173, allocations: 4 kB / 0.516 GB, free: 80.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004636/3.178, allocations: 177.4 kB / 0.5162 GB, free: 80.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/3.178, allocations: 0.6768 MB / 0.5168 GB, free: 80.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.262e-05/3.178, allocations: 7.438 kB / 0.5168 GB, free: 80.06 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/3.178, allocations: 128 / 0.5168 GB, free: 80.06 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 12.73/15.91, allocations: 121.1 MB / 0.6351 GB, free: 6.77 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributions_res.mat does not exist to compare? outputFormat=mat