Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestPolynomials.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Math.TestPolynomials,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestPolynomials") Notification: Performance of loadModel(ModelicaTest): time 2.232/2.232, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.706e-05/1.769e-05, allocations: 0 / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2766, allocations: 54.86 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5389/0.8155, allocations: 191.9 MB / 0.537 GB, free: 15.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001933/0.8157, allocations: 60.11 kB / 0.5371 GB, free: 15.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02681/0.8426, allocations: 6.959 MB / 0.5438 GB, free: 9.922 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.022e-06/0.8426, allocations: 0 / 0.5438 GB, free: 9.922 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.988e-06/0.8426, allocations: 0 / 0.5438 GB, free: 9.922 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.0003622/0.843, allocations: 407.7 kB / 0.5442 GB, free: 9.477 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.843, allocations: 8.031 kB / 0.5442 GB, free: 9.469 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.496e-05/0.8431, allocations: 0 / 0.5442 GB, free: 9.469 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.677e-05/0.8431, allocations: 159.1 kB / 0.5444 GB, free: 9.273 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.961e-06/0.8432, allocations: 7.938 kB / 0.5444 GB, free: 9.266 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.8432, allocations: 0 / 0.5444 GB, free: 9.266 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.026e-05/0.8432, allocations: 4 kB / 0.5444 GB, free: 9.262 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.669e-05/0.8433, allocations: 33.06 kB / 0.5444 GB, free: 9.227 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.8433, allocations: 0 / 0.5444 GB, free: 9.227 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.026e-06/0.8433, allocations: 3.953 kB / 0.5444 GB, free: 9.223 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.8433, allocations: 4 kB / 0.5444 GB, free: 9.219 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.078e-05/0.8434, allocations: 126.2 kB / 0.5446 GB, free: 9.059 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.646e-05/0.8435, allocations: 14.58 kB / 0.5446 GB, free: 9.035 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.22e-05/0.8435, allocations: 4.859 kB / 0.5446 GB, free: 9.027 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.809e-06/0.8435, allocations: 0 / 0.5446 GB, free: 9.027 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.8435, allocations: 65.64 kB / 0.5446 GB, free: 8.949 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.917e-06/0.8436, allocations: 0 / 0.5446 GB, free: 8.949 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001537/0.8437, allocations: 41.06 kB / 0.5447 GB, free: 8.906 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.8438, allocations: 81.05 kB / 0.5448 GB, free: 8.809 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.36e-05/0.8438, allocations: 89 kB / 0.5449 GB, free: 8.715 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.61e-06/0.8438, allocations: 25.7 kB / 0.5449 GB, free: 8.684 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.091e-05/0.8438, allocations: 150.6 kB / 0.545 GB, free: 8.535 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.449e-05/0.8439, allocations: 3.938 kB / 0.545 GB, free: 8.531 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.406e-06/0.8439, allocations: 0 / 0.545 GB, free: 8.531 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.771e-05/0.8439, allocations: 314.8 kB / 0.5453 GB, free: 8.215 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.239e-06/0.844, allocations: 7.344 kB / 0.5453 GB, free: 8.211 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.725e-06/0.844, allocations: 4 kB / 0.5453 GB, free: 8.207 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.136e-05/0.844, allocations: 0 / 0.5453 GB, free: 8.207 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.131e-06/0.844, allocations: 0 / 0.5453 GB, free: 8.207 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.068e-05/0.8441, allocations: 41.62 kB / 0.5454 GB, free: 8.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.8441, allocations: 29.7 kB / 0.5454 GB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.036e-06/0.8442, allocations: 0 / 0.5454 GB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.8442, allocations: 0 / 0.5454 GB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.576e-06/0.8442, allocations: 0 / 0.5454 GB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.687e-06/0.8442, allocations: 96 / 0.5454 GB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.827e-05/0.8442, allocations: 4 kB / 0.5454 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.778e-06/0.8443, allocations: 4 kB / 0.5454 GB, free: 8.117 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 5.592e-05/0.8443, allocations: 134.6 kB / 0.5455 GB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.03e-05/0.8443, allocations: 0 / 0.5455 GB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.154e-05/0.8444, allocations: 7.75 kB / 0.5455 GB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.28e-06/0.8444, allocations: 0 / 0.5455 GB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.452e-06/0.8444, allocations: 0 / 0.5455 GB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.349e-06/0.8444, allocations: 0 / 0.5455 GB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.15e-05/0.8445, allocations: 129.7 kB / 0.5457 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.801e-06/0.8445, allocations: 4 kB / 0.5457 GB, free: 7.801 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.231e-06/0.8445, allocations: 0 / 0.5457 GB, free: 7.801 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.251e-06/0.8445, allocations: 7.984 kB / 0.5457 GB, free: 7.793 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.497e-06/0.8445, allocations: 0 / 0.5457 GB, free: 7.793 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.805e-06/0.8445, allocations: 0 / 0.5457 GB, free: 7.793 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.153e-06/0.8445, allocations: 0 / 0.5457 GB, free: 7.793 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.169e-05/0.8446, allocations: 60.7 kB / 0.5457 GB, free: 7.719 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.715e-05/0.8447, allocations: 81.06 kB / 0.5458 GB, free: 7.621 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.8447, allocations: 12.02 kB / 0.5458 GB, free: 7.609 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.34e-05/0.8447, allocations: 0 / 0.5458 GB, free: 7.609 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.169e-05/0.8447, allocations: 7.922 kB / 0.5458 GB, free: 7.602 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.8447, allocations: 4 kB / 0.5458 GB, free: 7.598 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.396e-05/0.8448, allocations: 75.28 kB / 0.5459 GB, free: 7.523 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.02e-07/0.8448, allocations: 0 / 0.5459 GB, free: 7.523 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004617/0.8452, allocations: 79.92 kB / 0.546 GB, free: 7.445 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.000486/0.8457, allocations: 214.1 kB / 0.5462 GB, free: 7.238 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.457e-05/0.8458, allocations: 59.34 kB / 0.5462 GB, free: 7.168 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.642e-06/0.8458, allocations: 7.938 kB / 0.5463 GB, free: 7.16 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.285e-05/0.8459, allocations: 54.84 kB / 0.5463 GB, free: 7.098 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.26e-05/0.846, allocations: 4 kB / 0.5463 GB, free: 7.094 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001199/0.8461, allocations: 69.91 kB / 0.5464 GB, free: 6.996 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.966e-05/0.8462, allocations: 0.6767 MB / 0.547 GB, free: 6.293 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.114e-06/0.8463, allocations: 7.438 kB / 0.547 GB, free: 6.285 MB / 394.7 MB Notification: Performance of SimCode: time 1.399e-06/0.8463, allocations: 0 / 0.547 GB, free: 6.285 MB / 394.7 MB Notification: Performance of Templates: time 0.003989/0.8503, allocations: 1.871 MB / 0.5489 GB, free: 4.414 MB / 394.7 MB