Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial.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.TestSpecial,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_Random_TestSpecial",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.01125/0.01125, allocations: 107.6 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.001499/0.001499, allocations: 179.4 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.139/2.139, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.3115/0.3115, allocations: 40.04 MB / 296.5 MB, free: 6.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006332/0.0006333, allocations: 12 kB / 361.1 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.121, allocations: 54.88 MB / 416 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.0007111/0.1218, allocations: 232.4 kB / 416.3 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003639/0.1255, allocations: 1.914 MB / 418.2 MB, free: 384 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.272e-05/0.1255, allocations: 0 / 418.2 MB, free: 384 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.261e-05/0.1255, allocations: 0 / 418.2 MB, free: 384 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.412e-06/0.1256, allocations: 0 / 418.2 MB, free: 384 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.1273, allocations: 391.1 kB / 418.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 3.042e-05/0.1274, allocations: 0 / 418.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.39e-05/0.1274, allocations: 4 kB / 418.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.623e-05/0.1275, allocations: 0 / 418.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.761e-05/0.1275, allocations: 0 / 418.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.614e-06/0.1275, allocations: 0 / 418.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001482/0.129, allocations: 0.6396 MB / 419.2 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.124e-05/0.1291, allocations: 4 kB / 419.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.472e-05/0.1291, allocations: 25.7 kB / 419.2 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006657/0.1298, allocations: 243.5 kB / 419.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1298, allocations: 0 / 419.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1298, allocations: 0 / 419.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1298, allocations: 0 / 419.5 MB, free: 15.07 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.0005097/0.1303, allocations: 401.1 kB / 419.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.1304, allocations: 8.031 kB / 419.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.243e-05/0.1305, allocations: 38.55 kB / 419.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.695e-05/0.1305, allocations: 4 kB / 419.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.1306, allocations: 159.1 kB / 420.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.1307, allocations: 7.891 kB / 420.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.1307, allocations: 4 kB / 420.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.1308, allocations: 33.69 kB / 420.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1308, allocations: 3.938 kB / 420.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1309, allocations: 4 kB / 420.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1309, allocations: 0 / 420.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.668e-05/0.1309, allocations: 3.984 kB / 420.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002831/0.1312, allocations: 232.9 kB / 420.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.383e-05/0.1313, allocations: 26.53 kB / 420.4 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.1313, allocations: 0 / 420.4 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.182e-05/0.1314, allocations: 60.33 kB / 420.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.1314, allocations: 0 / 420.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002459/0.1317, allocations: 83.28 kB / 420.5 MB, free: 13.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.1317, allocations: 81.05 kB / 420.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.841e-05/0.1318, allocations: 89.86 kB / 420.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.1318, allocations: 33.64 kB / 420.7 MB, free: 13.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.951e-05/0.1318, allocations: 80.14 kB / 420.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.1319, allocations: 0 / 420.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.969e-06/0.1319, allocations: 4 kB / 420.8 MB, free: 13.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.132, allocations: 310.8 kB / 421.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.449e-05/0.132, allocations: 128 / 421.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.332e-05/0.1321, allocations: 8 kB / 421.1 MB, free: 13.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.817e-05/0.1321, allocations: 29.7 kB / 421.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.1321, allocations: 3.953 kB / 421.1 MB, free: 13.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001019/0.1322, allocations: 67.39 kB / 421.2 MB, free: 13.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.839e-05/0.1323, allocations: 29.7 kB / 421.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.1323, allocations: 0 / 421.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.1323, allocations: 0 / 421.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.124e-05/0.1324, allocations: 0 / 421.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1324, allocations: 4 kB / 421.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.318e-05/0.1324, allocations: 4.375 kB / 421.2 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.1324, allocations: 3.984 kB / 421.2 MB, free: 13.03 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.0001111/0.1326, allocations: 147.4 kB / 421.4 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/0.1326, allocations: 3.953 kB / 421.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.205e-05/0.1326, allocations: 7.078 kB / 421.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1326, allocations: 0 / 421.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1327, allocations: 0 / 421.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1327, allocations: 0 / 421.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.133, allocations: 308.2 kB / 421.7 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.133, allocations: 0 / 421.7 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.671e-06/0.133, allocations: 0 / 421.7 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1331, allocations: 0 / 421.7 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.1331, allocations: 4 kB / 421.7 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1331, allocations: 0 / 421.7 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1331, allocations: 0 / 421.7 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.1333, allocations: 177.1 kB / 421.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.02e-05/0.1333, allocations: 85.14 kB / 422 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.1333, allocations: 4 kB / 422 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.37e-05/0.1334, allocations: 0 / 422 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.084e-05/0.1334, allocations: 3.938 kB / 422 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.1335, allocations: 0 / 422 MB, free: 12.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.346e-05/0.1335, allocations: 79.28 kB / 422 MB, free: 12.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1335, allocations: 0 / 422 MB, free: 12.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006967/0.1342, allocations: 124 kB / 422.2 MB, free: 11.98 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.001707/0.1359, allocations: 0.9155 MB / 423.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001395/0.1361, allocations: 63.39 kB / 423.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1361, allocations: 0 / 423.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.027e-05/0.1362, allocations: 59.41 kB / 423.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.1363, allocations: 0 / 423.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007554/0.1371, allocations: 352.7 kB / 423.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.1374, allocations: 0.6771 MB / 424.2 MB, free: 9.801 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.366e-05/0.1374, allocations: 0 / 424.2 MB, free: 9.801 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.1375, allocations: 11.44 kB / 424.2 MB, free: 9.789 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.1375, allocations: 0 / 424.2 MB, free: 9.789 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03406/0.1715, allocations: 4.206 MB / 428.4 MB, free: 5.648 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003364/0.1719, allocations: 213.7 kB / 428.6 MB, free: 5.406 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.61/2.782, allocations: 4.062 kB / 428.6 MB, free: 5.402 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial_res.mat does not exist to compare? outputFormat=mat