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.TestTruncatedDistributions.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.TestTruncatedDistributions,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestTruncatedDistributions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.262/2.262, allocations: 235.1 MB / 243 MB, free: 9.605 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.545e-05/2.565e-05, allocations: 4 kB / 303.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3402, allocations: 54.85 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1525/0.4927, allocations: 82.75 MB / 440.9 MB, free: 12.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/0.493, allocations: 63.97 kB / 440.9 MB, free: 12.01 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.862/2.355, allocations: 71.55 MB / 0.5005 GB, free: 65.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.304e-06/2.355, allocations: 0 / 0.5005 GB, free: 65.37 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.033e-06/2.355, allocations: 1.031 kB / 0.5005 GB, free: 65.37 MB / 394.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.004432/2.36, allocations: 461.8 kB / 0.5009 GB, free: 64.9 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/2.36, allocations: 8.031 kB / 0.5009 GB, free: 64.89 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/2.36, allocations: 0 / 0.5009 GB, free: 64.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.215e-05/2.36, allocations: 163.1 kB / 0.5011 GB, free: 64.69 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/2.36, allocations: 7.938 kB / 0.5011 GB, free: 64.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-06/2.36, allocations: 0 / 0.5011 GB, free: 64.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.175e-05/2.36, allocations: 0 / 0.5011 GB, free: 64.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.437e-05/2.36, allocations: 33.66 kB / 0.5011 GB, free: 64.64 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/2.36, allocations: 0 / 0.5011 GB, free: 64.64 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/2.36, allocations: 0 / 0.5011 GB, free: 64.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/2.36, allocations: 3.938 kB / 0.5011 GB, free: 64.64 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.667e-05/2.36, allocations: 130.2 kB / 0.5013 GB, free: 64.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.23e-05/2.36, allocations: 18.58 kB / 0.5013 GB, free: 64.45 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.396e-05/2.36, allocations: 8.953 kB / 0.5013 GB, free: 64.44 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.193e-06/2.36, allocations: 0 / 0.5013 GB, free: 64.44 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/2.36, allocations: 63.92 kB / 0.5013 GB, free: 64.36 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.523e-06/2.36, allocations: 0 / 0.5013 GB, free: 64.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001852/2.36, allocations: 37.69 kB / 0.5014 GB, free: 64.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/2.36, allocations: 81.11 kB / 0.5015 GB, free: 64.22 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.642e-05/2.36, allocations: 89.03 kB / 0.5015 GB, free: 64.13 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/2.361, allocations: 25.7 kB / 0.5016 GB, free: 64.1 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.352e-05/2.361, allocations: 150.6 kB / 0.5017 GB, free: 63.95 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/2.361, allocations: 0 / 0.5017 GB, free: 63.95 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/2.361, allocations: 0 / 0.5017 GB, free: 63.95 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.943e-05/2.361, allocations: 318.8 kB / 0.502 GB, free: 63.63 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.686e-06/2.361, allocations: 0 / 0.502 GB, free: 63.63 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.8e-06/2.361, allocations: 0 / 0.502 GB, free: 63.63 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.498e-05/2.361, allocations: 4.062 kB / 0.502 GB, free: 63.62 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/2.361, allocations: 0 / 0.502 GB, free: 63.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.732e-05/2.361, allocations: 41.62 kB / 0.5021 GB, free: 63.58 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/2.361, allocations: 29.7 kB / 0.5021 GB, free: 63.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/2.361, allocations: 4 kB / 0.5021 GB, free: 63.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/2.361, allocations: 0.8438 kB / 0.5021 GB, free: 63.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.432e-06/2.361, allocations: 0 / 0.5021 GB, free: 63.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/2.361, allocations: 0 / 0.5021 GB, free: 63.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.678e-05/2.361, allocations: 0 / 0.5021 GB, free: 63.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/2.361, allocations: 0 / 0.5021 GB, free: 63.54 MB / 394.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.902e-05/2.361, allocations: 148.7 kB / 0.5022 GB, free: 63.38 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.338e-05/2.361, allocations: 37.69 kB / 0.5023 GB, free: 63.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-06/2.361, allocations: 0 / 0.5023 GB, free: 63.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.478e-05/2.361, allocations: 7.703 kB / 0.5023 GB, free: 63.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/2.361, allocations: 4 kB / 0.5023 GB, free: 63.33 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/2.361, allocations: 0 / 0.5023 GB, free: 63.33 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/2.361, allocations: 3.953 kB / 0.5023 GB, free: 63.33 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.662e-05/2.361, allocations: 132.9 kB / 0.5024 GB, free: 63.17 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/2.361, allocations: 0 / 0.5024 GB, free: 63.17 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.082e-06/2.361, allocations: 3.938 kB / 0.5024 GB, free: 63.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/2.361, allocations: 4.031 kB / 0.5024 GB, free: 63.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/2.361, allocations: 4 kB / 0.5024 GB, free: 63.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/2.361, allocations: 3.828 kB / 0.5024 GB, free: 63.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/2.361, allocations: 0 / 0.5024 GB, free: 63.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.37e-05/2.361, allocations: 65.08 kB / 0.5025 GB, free: 63.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.21e-05/2.361, allocations: 81.05 kB / 0.5026 GB, free: 62.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/2.362, allocations: 4 kB / 0.5026 GB, free: 62.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.153e-05/2.362, allocations: 4.031 kB / 0.5026 GB, free: 62.97 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.278e-05/2.362, allocations: 0 / 0.5026 GB, free: 62.97 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.237e-06/2.362, allocations: 0 / 0.5026 GB, free: 62.97 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.782e-05/2.362, allocations: 75.28 kB / 0.5026 GB, free: 62.89 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/2.362, allocations: 0 / 0.5026 GB, free: 62.89 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01001/2.372, allocations: 1.528 MB / 0.5041 GB, free: 61.39 MB / 394.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.01631/2.388, allocations: 2.547 MB / 0.5066 GB, free: 58.85 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001231/2.388, allocations: 55.41 kB / 0.5067 GB, free: 58.79 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/2.388, allocations: 8.031 kB / 0.5067 GB, free: 58.78 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.511e-05/2.388, allocations: 55.41 kB / 0.5067 GB, free: 58.71 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001119/2.388, allocations: 2.812 kB / 0.5067 GB, free: 58.71 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003929/2.392, allocations: 216.1 kB / 0.5069 GB, free: 58.46 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/2.392, allocations: 0.669 MB / 0.5076 GB, free: 57.76 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/2.393, allocations: 11.44 kB / 0.5076 GB, free: 57.75 MB / 394.7 MB Notification: Performance of SimCode: time 9.92e-07/2.393, allocations: 0 / 0.5076 GB, free: 57.75 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 9.372/11.76, allocations: 86.26 MB / 0.5918 GB, free: 3.363 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestTruncatedDistributions_res.mat does not exist to compare? outputFormat=mat