Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestDistributions.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.TestDistributions,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_Random_TestDistributions",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.01087/0.01087, allocations: 106.2 kB / 15.06 MB, free: 5.555 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.001257/0.001257, allocations: 178.2 kB / 15.95 MB, free: 5.52 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.17/2.17, allocations: 194.5 MB / 211.2 MB, free: 10.99 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.2758/0.2758, allocations: 40.04 MB / 296.5 MB, free: 6.281 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005234/0.0005235, allocations: 16 kB / 361.1 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1207, allocations: 54.89 MB / 416 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestDistributions): time 0.0007918/0.1216, allocations: 232.4 kB / 416.3 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003957/0.1256, allocations: 1.941 MB / 418.2 MB, free: 368 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.06e-05/0.1256, allocations: 0 / 418.2 MB, free: 368 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.105e-05/0.1257, allocations: 0 / 418.2 MB, free: 368 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.841e-06/0.1257, allocations: 0 / 418.2 MB, free: 368 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.1276, allocations: 407 kB / 418.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 3.359e-05/0.1277, allocations: 0 / 418.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.813e-05/0.1277, allocations: 3.984 kB / 418.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.745e-05/0.1278, allocations: 0 / 418.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.057e-05/0.1278, allocations: 0 / 418.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.063e-06/0.1278, allocations: 0 / 418.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001444/0.1293, allocations: 0.5773 MB / 419.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.063e-06/0.1293, allocations: 0 / 419.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.132e-05/0.1293, allocations: 25.7 kB / 419.2 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006592/0.13, allocations: 243.5 kB / 419.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.13, allocations: 4 kB / 419.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1301, allocations: 7.938 kB / 419.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1301, allocations: 0 / 419.4 MB, free: 15.1 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.0004979/0.1306, allocations: 409.3 kB / 419.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.1306, allocations: 12.03 kB / 419.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.172e-05/0.1307, allocations: 38.56 kB / 419.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.603e-05/0.1307, allocations: 0 / 419.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.1309, allocations: 163 kB / 420.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.1309, allocations: 0 / 420.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.1309, allocations: 15.88 kB / 420.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.1311, allocations: 33.69 kB / 420.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1311, allocations: 0 / 420.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.1311, allocations: 0 / 420.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1311, allocations: 0 / 420.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.66e-05/0.1311, allocations: 3.938 kB / 420.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002577/0.1314, allocations: 228.9 kB / 420.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.798e-05/0.1315, allocations: 26.66 kB / 420.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.1315, allocations: 4 kB / 420.4 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.87e-05/0.1316, allocations: 60.27 kB / 420.4 MB, free: 13.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.763e-06/0.1316, allocations: 0 / 420.4 MB, free: 13.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002212/0.1318, allocations: 79.23 kB / 420.5 MB, free: 13.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.1319, allocations: 77.11 kB / 420.6 MB, free: 13.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.761e-05/0.1319, allocations: 89.86 kB / 420.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.132, allocations: 25.83 kB / 420.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.344e-05/0.132, allocations: 84.14 kB / 420.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.132, allocations: 4 kB / 420.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.1321, allocations: 0 / 420.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1322, allocations: 310.8 kB / 421.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.363e-05/0.1322, allocations: 0 / 421.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.597e-05/0.1322, allocations: 8 kB / 421.1 MB, free: 13.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.408e-05/0.1323, allocations: 33.64 kB / 421.1 MB, free: 13.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1323, allocations: 4 kB / 421.1 MB, free: 13.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.901e-05/0.1324, allocations: 67.41 kB / 421.2 MB, free: 13.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.235e-05/0.1325, allocations: 33.7 kB / 421.2 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1325, allocations: 0 / 421.2 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1325, allocations: 4 kB / 421.2 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.24e-05/0.1325, allocations: 3.984 kB / 421.2 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1326, allocations: 0 / 421.2 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.159e-05/0.1326, allocations: 0 / 421.2 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.1326, allocations: 0 / 421.2 MB, free: 13.05 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 0.0001051/0.1327, allocations: 143.5 kB / 421.4 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.1328, allocations: 7.938 kB / 421.4 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.251e-05/0.1328, allocations: 7.078 kB / 421.4 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.1328, allocations: 0 / 421.4 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.1328, allocations: 4 kB / 421.4 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1328, allocations: 3.938 kB / 421.4 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003288/0.1332, allocations: 308.2 kB / 421.7 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1332, allocations: 0 / 421.7 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.711e-06/0.1332, allocations: 0 / 421.7 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.1332, allocations: 4 kB / 421.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.1332, allocations: 4.031 kB / 421.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1332, allocations: 3.938 kB / 421.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1333, allocations: 0 / 421.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.1334, allocations: 165.2 kB / 421.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.195e-05/0.1335, allocations: 81.11 kB / 421.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.1335, allocations: 0 / 421.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.346e-05/0.1336, allocations: 4 kB / 421.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.993e-05/0.1336, allocations: 4.031 kB / 422 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.1336, allocations: 4 kB / 422 MB, free: 12.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.222e-05/0.1336, allocations: 75.28 kB / 422 MB, free: 12.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.755e-06/0.1337, allocations: 0 / 422 MB, free: 12.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006639/0.1343, allocations: 131.8 kB / 422.2 MB, free: 12 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.001529/0.1359, allocations: 0.9028 MB / 423.1 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001369/0.136, allocations: 63.41 kB / 423.1 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1361, allocations: 3.938 kB / 423.1 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.669e-05/0.1361, allocations: 63.34 kB / 423.2 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.1363, allocations: 128 / 423.2 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006916/0.137, allocations: 348.6 kB / 423.5 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.1373, allocations: 0.677 MB / 424.2 MB, free: 9.828 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.484e-05/0.1373, allocations: 0 / 424.2 MB, free: 9.828 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.543e-05/0.1373, allocations: 7.438 kB / 424.2 MB, free: 9.82 MB / 362.7 MB Notification: Performance of SimCode: time 1.253e-06/0.1373, allocations: 0 / 424.2 MB, free: 9.82 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03365/0.171, allocations: 4.189 MB / 428.4 MB, free: 5.695 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003608/0.1714, allocations: 212.5 kB / 428.6 MB, free: 5.461 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.532/2.704, allocations: 0 / 428.6 MB, free: 5.461 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestDistributions_res.mat does not exist to compare? outputFormat=mat