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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.257/2.257, allocations: 234.9 MB / 250.5 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004394/0.0004395, allocations: 8 kB / 314.4 MB, free: 9.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2934, allocations: 54.86 MB / 369.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5017/0.7952, allocations: 192.6 MB / 0.5487 GB, free: 70.67 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001937/0.7954, allocations: 70.91 kB / 0.5488 GB, free: 70.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02679/0.8222, allocations: 7.021 MB / 0.5556 GB, free: 65.19 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.337e-06/0.8223, allocations: 0 / 0.5556 GB, free: 65.19 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.8223, allocations: 0 / 0.5556 GB, free: 65.19 MB / 426.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.0003613/0.8227, allocations: 404.9 kB / 0.556 GB, free: 64.74 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.8227, allocations: 8.031 kB / 0.556 GB, free: 64.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.047e-05/0.8227, allocations: 7.5 kB / 0.556 GB, free: 64.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.098e-05/0.8228, allocations: 159.1 kB / 0.5562 GB, free: 64.53 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.8228, allocations: 4 kB / 0.5562 GB, free: 64.53 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.8228, allocations: 0 / 0.5562 GB, free: 64.53 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.145e-05/0.8229, allocations: 37.56 kB / 0.5562 GB, free: 64.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.823, allocations: 0 / 0.5562 GB, free: 64.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.659e-06/0.823, allocations: 4 kB / 0.5562 GB, free: 64.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.143e-06/0.823, allocations: 3.953 kB / 0.5562 GB, free: 64.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.708e-05/0.823, allocations: 0 / 0.5562 GB, free: 64.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.715e-05/0.8231, allocations: 145.7 kB / 0.5564 GB, free: 64.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.6e-05/0.8232, allocations: 22.42 kB / 0.5564 GB, free: 64.26 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.397e-06/0.8232, allocations: 0 / 0.5564 GB, free: 64.26 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.8232, allocations: 68.19 kB / 0.5564 GB, free: 64.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.772e-06/0.8232, allocations: 0 / 0.5564 GB, free: 64.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001409/0.8234, allocations: 63.41 kB / 0.5565 GB, free: 64.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.8234, allocations: 78.58 kB / 0.5566 GB, free: 64.01 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.968e-05/0.8234, allocations: 92.56 kB / 0.5567 GB, free: 63.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.841e-06/0.8235, allocations: 29.7 kB / 0.5567 GB, free: 63.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.201e-05/0.8235, allocations: 154.5 kB / 0.5568 GB, free: 63.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/0.8235, allocations: 0 / 0.5568 GB, free: 63.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-06/0.8235, allocations: 0 / 0.5568 GB, free: 63.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.891e-05/0.8236, allocations: 318.8 kB / 0.5571 GB, free: 63.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.012e-05/0.8236, allocations: 0 / 0.5571 GB, free: 63.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.539e-06/0.8236, allocations: 4 kB / 0.5571 GB, free: 63.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.369e-05/0.8237, allocations: 29.77 kB / 0.5572 GB, free: 63.37 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.619e-06/0.8237, allocations: 3.938 kB / 0.5572 GB, free: 63.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.989e-05/0.8238, allocations: 62.91 kB / 0.5572 GB, free: 63.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.8238, allocations: 33.69 kB / 0.5573 GB, free: 63.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.57e-06/0.8238, allocations: 0 / 0.5573 GB, free: 63.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.8238, allocations: 0 / 0.5573 GB, free: 63.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.899e-06/0.8238, allocations: 0 / 0.5573 GB, free: 63.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.8239, allocations: 4 kB / 0.5573 GB, free: 63.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.692e-05/0.8239, allocations: 0 / 0.5573 GB, free: 63.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.841e-06/0.8239, allocations: 0 / 0.5573 GB, free: 63.25 MB / 426.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 5.484e-05/0.824, allocations: 139.5 kB / 0.5574 GB, free: 63.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-06/0.824, allocations: 4 kB / 0.5574 GB, free: 63.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.142e-05/0.824, allocations: 3.125 kB / 0.5574 GB, free: 63.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.714e-06/0.824, allocations: 0 / 0.5574 GB, free: 63.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.67e-06/0.824, allocations: 0 / 0.5574 GB, free: 63.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.622e-06/0.824, allocations: 3.984 kB / 0.5574 GB, free: 63.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.627e-05/0.8241, allocations: 157.1 kB / 0.5576 GB, free: 62.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.689e-06/0.8241, allocations: 0 / 0.5576 GB, free: 62.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.208e-06/0.8241, allocations: 0 / 0.5576 GB, free: 62.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.379e-06/0.8241, allocations: 4 kB / 0.5576 GB, free: 62.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.442e-06/0.8241, allocations: 0 / 0.5576 GB, free: 62.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.638e-06/0.8242, allocations: 0 / 0.5576 GB, free: 62.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.8242, allocations: 3.938 kB / 0.5576 GB, free: 62.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.368e-05/0.8243, allocations: 94.41 kB / 0.5577 GB, free: 62.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.708e-05/0.8243, allocations: 77.11 kB / 0.5577 GB, free: 62.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.8243, allocations: 0 / 0.5577 GB, free: 62.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.387e-05/0.8243, allocations: 4 kB / 0.5577 GB, free: 62.67 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.306e-05/0.8244, allocations: 12 kB / 0.5578 GB, free: 62.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.391e-06/0.8244, allocations: 0 / 0.5578 GB, free: 62.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.42e-05/0.8244, allocations: 75.28 kB / 0.5578 GB, free: 62.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.8244, allocations: 0 / 0.5578 GB, free: 62.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005061/0.8249, allocations: 79.56 kB / 0.5579 GB, free: 62.51 MB / 426.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.0005004/0.8254, allocations: 213.9 kB / 0.5581 GB, free: 62.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.728e-05/0.8255, allocations: 66.83 kB / 0.5582 GB, free: 62.23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.599e-06/0.8256, allocations: 0 / 0.5582 GB, free: 62.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.308e-05/0.8256, allocations: 55.41 kB / 0.5582 GB, free: 62.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.403e-05/0.8257, allocations: 7.953 kB / 0.5582 GB, free: 62.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001478/0.8259, allocations: 100.5 kB / 0.5583 GB, free: 62.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.826, allocations: 0.6771 MB / 0.559 GB, free: 61.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.319e-06/0.826, allocations: 11.44 kB / 0.559 GB, free: 61.31 MB / 426.7 MB Notification: Performance of SimCode: time 1.241e-06/0.826, allocations: 0 / 0.559 GB, free: 61.31 MB / 426.7 MB Notification: Performance of Templates: time 0.00397/0.83, allocations: 1.864 MB / 0.5608 GB, free: 59.45 MB / 426.7 MB