Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestPolynomials.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.TestPolynomials,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_TestPolynomials",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.01088/0.01088, allocations: 112 kB / 15.06 MB, free: 6.035 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.001199/0.001199, allocations: 180 kB / 15.95 MB, free: 5.949 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.04/2.04, allocations: 194.6 MB / 211.3 MB, free: 11.11 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.2703/0.2703, allocations: 40.05 MB / 296.5 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006378/0.000638, allocations: 16 kB / 361.1 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1392, allocations: 54.88 MB / 416 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.0006609/0.1399, allocations: 224.4 kB / 416.2 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005913/0.1458, allocations: 3.003 MB / 419.2 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.535e-05/0.1459, allocations: 0 / 419.2 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.286e-05/0.1459, allocations: 4 kB / 419.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 5.46e-06/0.1459, allocations: 3.938 kB / 419.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.147, allocations: 163.5 kB / 419.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 2.956e-05/0.1471, allocations: 0 / 419.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.825e-05/0.1471, allocations: 8 kB / 419.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.636e-05/0.1471, allocations: 0 / 419.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.756e-05/0.1472, allocations: 0 / 419.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.132e-06/0.1472, allocations: 0 / 419.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008651/0.1481, allocations: 351.3 kB / 419.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.007e-06/0.1481, allocations: 3.984 kB / 419.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.267e-05/0.1481, allocations: 29.7 kB / 419.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004887/0.1486, allocations: 203.6 kB / 420 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1487, allocations: 0 / 420 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.1487, allocations: 0 / 420 MB, free: 14.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1487, allocations: 4 kB / 420 MB, free: 14.57 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.0004347/0.1491, allocations: 385.1 kB / 420.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1492, allocations: 11.97 kB / 420.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.298e-05/0.1492, allocations: 38.48 kB / 420.4 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.417e-05/0.1493, allocations: 4 kB / 420.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.1494, allocations: 167 kB / 420.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.1494, allocations: 0 / 420.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.1494, allocations: 0 / 420.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.794e-05/0.1495, allocations: 29.7 kB / 420.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.1496, allocations: 4 kB / 420.6 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.1496, allocations: 0 / 420.6 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1496, allocations: 0 / 420.6 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.249e-05/0.1496, allocations: 0 / 420.6 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.1498, allocations: 157.6 kB / 420.8 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.521e-05/0.1498, allocations: 22.5 kB / 420.8 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.1499, allocations: 0 / 420.8 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.445e-05/0.1499, allocations: 64.36 kB / 420.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.313e-06/0.1499, allocations: 0 / 420.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001849/0.1501, allocations: 59.41 kB / 420.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.1502, allocations: 85.09 kB / 421 MB, free: 13.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.975e-05/0.1503, allocations: 89.86 kB / 421.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.1503, allocations: 29.64 kB / 421.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.155e-05/0.1503, allocations: 80.14 kB / 421.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.1503, allocations: 3.906 kB / 421.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-06/0.1504, allocations: 0 / 421.2 MB, free: 13.13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1505, allocations: 315 kB / 421.5 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.33e-05/0.1505, allocations: 4 kB / 421.5 MB, free: 12.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.524e-06/0.1505, allocations: 0 / 421.5 MB, free: 12.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.391e-05/0.1506, allocations: 25.7 kB / 421.5 MB, free: 12.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1506, allocations: 0 / 421.5 MB, free: 12.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.129e-05/0.1507, allocations: 71.34 kB / 421.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.928e-05/0.1507, allocations: 29.7 kB / 421.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.341e-06/0.1508, allocations: 4 kB / 421.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1508, allocations: 4.094 kB / 421.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.363e-06/0.1508, allocations: 0 / 421.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.1508, allocations: 0 / 421.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.912e-05/0.1508, allocations: 0 / 421.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.1508, allocations: 0 / 421.6 MB, free: 12.65 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: 1 (result) * Number of discrete states: 0 () * Number of clocked 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 0.0001255/0.151, allocations: 139.5 kB / 421.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/0.151, allocations: 7.938 kB / 421.8 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.397e-05/0.151, allocations: 3.125 kB / 421.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.151, allocations: 0 / 421.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1511, allocations: 4 kB / 421.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1511, allocations: 4 kB / 421.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.1512, allocations: 153.6 kB / 421.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1512, allocations: 0 / 421.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.293e-06/0.1512, allocations: 0 / 421.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1512, allocations: 0 / 421.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.1512, allocations: 7.938 kB / 422 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1513, allocations: 7.938 kB / 422 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1513, allocations: 3.984 kB / 422 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.1514, allocations: 86.84 kB / 422 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.855e-05/0.1515, allocations: 85.09 kB / 422.1 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.1515, allocations: 0 / 422.1 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.474e-05/0.1515, allocations: 3.953 kB / 422.1 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.583e-05/0.1515, allocations: 0 / 422.1 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.1516, allocations: 0 / 422.1 MB, free: 12.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.941e-05/0.1516, allocations: 79.22 kB / 422.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1516, allocations: 4 kB / 422.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004557/0.1521, allocations: 59.98 kB / 422.3 MB, free: 11.9 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * 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.0009466/0.153, allocations: 0.7203 MB / 423 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001133/0.1532, allocations: 63.39 kB / 423.1 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1532, allocations: 0 / 423.1 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.609e-05/0.1532, allocations: 59.34 kB / 423.1 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001085/0.1534, allocations: 7.953 kB / 423.1 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/0.1538, allocations: 128.6 kB / 423.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.1541, allocations: 0.677 MB / 423.9 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.356e-06/0.1541, allocations: 3.984 kB / 423.9 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.561e-05/0.1541, allocations: 11.56 kB / 423.9 MB, free: 10.12 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1541, allocations: 0 / 423.9 MB, free: 10.12 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02157/0.1757, allocations: 2.222 MB / 426.2 MB, free: 7.957 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002644/0.176, allocations: 206.2 kB / 426.4 MB, free: 7.719 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.513/2.689, allocations: 3.938 kB / 426.4 MB, free: 7.715 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Math.TestPolynomials_res.mat does not exist to compare? outputFormat=mat