Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestTruncatedDistributions.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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) 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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestTruncatedDistributions,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_Random_TestTruncatedDistributions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01107/0.01107, allocations: 107.2 kB / 15.06 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001435/0.001435, allocations: 182.5 kB / 15.95 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.123/2.123, allocations: 194.6 MB / 211.3 MB, free: 11.09 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2757/0.2757, allocations: 40.04 MB / 296.5 MB, free: 6.305 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006362/0.0006362, allocations: 12 kB / 361.2 MB, free: 9.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1201, allocations: 54.86 MB / 416 MB, free: 2.586 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestTruncatedDistributions): time 0.000678/0.1209, allocations: 244.4 kB / 416.3 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004269/0.1251, allocations: 2.191 MB / 418.4 MB, free: 132 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.325e-05/0.1252, allocations: 0 / 418.4 MB, free: 132 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.536e-05/0.1253, allocations: 0 / 418.4 MB, free: 132 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.35e-06/0.1253, allocations: 3.938 kB / 418.4 MB, free: 128 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.1274, allocations: 458.9 kB / 418.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 3.255e-05/0.1274, allocations: 0 / 418.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.1275, allocations: 0 / 418.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.018e-05/0.1275, allocations: 7.938 kB / 418.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.204e-05/0.1276, allocations: 4 kB / 418.9 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.011e-06/0.1276, allocations: 0 / 418.9 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001797/0.1294, allocations: 0.6786 MB / 419.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.078e-06/0.1294, allocations: 3.938 kB / 419.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.247e-05/0.1295, allocations: 29.7 kB / 419.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008654/0.1303, allocations: 295.7 kB / 419.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.1304, allocations: 0 / 419.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1304, allocations: 0 / 419.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1304, allocations: 0 / 419.9 MB, free: 14.66 MB / 362.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.0006055/0.131, allocations: 429.1 kB / 420.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.1311, allocations: 16.03 kB / 420.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.153e-05/0.1311, allocations: 30.56 kB / 420.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.1312, allocations: 0 / 420.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.1313, allocations: 159.1 kB / 420.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.1313, allocations: 3.953 kB / 420.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.1314, allocations: 4 kB / 420.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.1315, allocations: 33.67 kB / 420.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1315, allocations: 4 kB / 420.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1315, allocations: 3.938 kB / 420.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1315, allocations: 3.938 kB / 420.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.963e-05/0.1316, allocations: 8 kB / 420.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002773/0.1319, allocations: 236.8 kB / 420.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.247e-05/0.1319, allocations: 26.59 kB / 420.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.132, allocations: 4.062 kB / 420.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.435e-05/0.132, allocations: 56.27 kB / 420.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.724e-06/0.132, allocations: 7.938 kB / 420.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002213/0.1323, allocations: 71.39 kB / 421 MB, free: 13.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.1323, allocations: 77.11 kB / 421.1 MB, free: 13.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.697e-05/0.1324, allocations: 89.86 kB / 421.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.1324, allocations: 25.7 kB / 421.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.01e-05/0.1325, allocations: 80.14 kB / 421.2 MB, free: 13.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.1325, allocations: 4 kB / 421.3 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.1325, allocations: 0 / 421.3 MB, free: 13.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.1327, allocations: 319 kB / 421.6 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.954e-05/0.1327, allocations: 3.984 kB / 421.6 MB, free: 12.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.266e-05/0.1328, allocations: 4 kB / 421.6 MB, free: 12.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.241e-05/0.1328, allocations: 25.7 kB / 421.6 MB, free: 12.72 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.1328, allocations: 3.953 kB / 421.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001093/0.1329, allocations: 71.34 kB / 421.7 MB, free: 12.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.416e-05/0.133, allocations: 33.69 kB / 421.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.133, allocations: 0 / 421.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1331, allocations: 0 / 421.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.069e-05/0.1331, allocations: 8.094 kB / 421.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1331, allocations: 0 / 421.7 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.343e-05/0.1331, allocations: 3.938 kB / 421.7 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.1332, allocations: 3.938 kB / 421.7 MB, free: 12.58 MB / 362.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: 2 (result,$outputAlias_result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * 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 9.921e-05/0.1333, allocations: 135.5 kB / 421.8 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.088e-05/0.1333, allocations: 7.859 kB / 421.9 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.938e-05/0.1333, allocations: 7.078 kB / 421.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1334, allocations: 0 / 421.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1334, allocations: 0 / 421.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1334, allocations: 7.984 kB / 421.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003063/0.1337, allocations: 304.2 kB / 422.2 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1337, allocations: 0 / 422.2 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.58e-06/0.1337, allocations: 3.938 kB / 422.2 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1337, allocations: 0 / 422.2 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.1338, allocations: 8 kB / 422.2 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1338, allocations: 0 / 422.2 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.1338, allocations: 0 / 422.2 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.1339, allocations: 169.2 kB / 422.3 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.203e-05/0.134, allocations: 81.11 kB / 422.4 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.134, allocations: 3.938 kB / 422.4 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.963e-05/0.1341, allocations: 0 / 422.4 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-05/0.1341, allocations: 7.984 kB / 422.4 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.1341, allocations: 4 kB / 422.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.347e-05/0.1342, allocations: 75.28 kB / 422.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1342, allocations: 0 / 422.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007174/0.1349, allocations: 152 kB / 422.7 MB, free: 11.51 MB / 362.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: 2 (result,$outputAlias_result) * Number of discrete states: 1 ($outputAlias_result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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.001574/0.1365, allocations: 0.9446 MB / 423.6 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001281/0.1366, allocations: 63.34 kB / 423.7 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1367, allocations: 3.938 kB / 423.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.783e-05/0.1367, allocations: 63.39 kB / 423.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.1369, allocations: 4 kB / 423.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007364/0.1376, allocations: 360.8 kB / 424.1 MB, free: 9.988 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.1379, allocations: 0.677 MB / 424.8 MB, free: 9.285 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.646e-05/0.138, allocations: 0 / 424.8 MB, free: 9.285 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.45e-05/0.138, allocations: 11.38 kB / 424.8 MB, free: 9.273 MB / 362.7 MB Notification: Performance of SimCode: time 9.11e-07/0.138, allocations: 0 / 424.8 MB, free: 9.273 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02582/0.1638, allocations: 4.403 MB / 429.2 MB, free: 4.934 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002566/0.1641, allocations: 222.8 kB / 429.4 MB, free: 4.699 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.508/2.673, allocations: 0 / 429.4 MB, free: 4.699 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestTruncatedDistributions_res.mat does not exist to compare? outputFormat=mat