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.249/2.249, allocations: 235 MB / 248.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.885e-05/2.935e-05, allocations: 0 / 309.7 MB, free: 1.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3536, allocations: 54.86 MB / 364.5 MB, free: 5.363 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5105/0.8641, allocations: 192.5 MB / 0.544 GB, free: 112.5 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001932/0.8644, allocations: 63.95 kB / 0.5441 GB, free: 112.5 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02877/0.8931, allocations: 6.979 MB / 0.5509 GB, free: 111.5 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.652e-06/0.8932, allocations: 4 kB / 0.5509 GB, free: 111.5 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.682e-06/0.8932, allocations: 0 / 0.5509 GB, free: 111.5 MB / 458.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.0003732/0.8936, allocations: 398.7 kB / 0.5513 GB, free: 111.1 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.8936, allocations: 11.75 kB / 0.5513 GB, free: 111.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.8937, allocations: 0 / 0.5513 GB, free: 111.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.967e-05/0.8937, allocations: 162.9 kB / 0.5514 GB, free: 110.9 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.8938, allocations: 3.906 kB / 0.5514 GB, free: 110.9 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.47e-06/0.8938, allocations: 0 / 0.5514 GB, free: 110.9 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.695e-05/0.8939, allocations: 29.7 kB / 0.5515 GB, free: 110.9 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.8939, allocations: 3.906 kB / 0.5515 GB, free: 110.9 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.038e-06/0.8939, allocations: 3.953 kB / 0.5515 GB, free: 110.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.8939, allocations: 0 / 0.5515 GB, free: 110.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.627e-05/0.8939, allocations: 0 / 0.5515 GB, free: 110.9 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.044e-05/0.894, allocations: 145.4 kB / 0.5516 GB, free: 110.7 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.36e-05/0.8941, allocations: 26.03 kB / 0.5516 GB, free: 110.6 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.464e-05/0.8941, allocations: 8.859 kB / 0.5516 GB, free: 110.6 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.92e-06/0.8941, allocations: 4 kB / 0.5516 GB, free: 110.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.8942, allocations: 60.17 kB / 0.5517 GB, free: 110.6 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.919e-06/0.8942, allocations: 0 / 0.5517 GB, free: 110.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001292/0.8943, allocations: 66.91 kB / 0.5518 GB, free: 110.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.8944, allocations: 88.8 kB / 0.5518 GB, free: 110.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.867e-05/0.8944, allocations: 85 kB / 0.5519 GB, free: 110.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.746e-06/0.8944, allocations: 25.7 kB / 0.552 GB, free: 110.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.243e-05/0.8944, allocations: 150.6 kB / 0.5521 GB, free: 110.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.8945, allocations: 4.031 kB / 0.5521 GB, free: 110.1 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-06/0.8945, allocations: 0 / 0.5521 GB, free: 110.1 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.088e-05/0.8945, allocations: 310.8 kB / 0.5524 GB, free: 109.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.038e-05/0.8946, allocations: 7.594 kB / 0.5524 GB, free: 109.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.597e-06/0.8946, allocations: 0 / 0.5524 GB, free: 109.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.095e-05/0.8946, allocations: 25.7 kB / 0.5524 GB, free: 109.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.8946, allocations: 3.906 kB / 0.5524 GB, free: 109.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.296e-05/0.8947, allocations: 59.11 kB / 0.5525 GB, free: 109.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.8947, allocations: 37.61 kB / 0.5525 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.757e-06/0.8948, allocations: 0 / 0.5525 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.8948, allocations: 0 / 0.5525 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.539e-06/0.8948, allocations: 0 / 0.5525 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.394e-06/0.8948, allocations: 3.984 kB / 0.5525 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.713e-05/0.8948, allocations: 3.953 kB / 0.5525 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.8949, allocations: 3.969 kB / 0.5525 GB, free: 109.7 MB / 458.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.159e-05/0.8949, allocations: 134.6 kB / 0.5527 GB, free: 109.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.027e-05/0.8949, allocations: 0 / 0.5527 GB, free: 109.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.169e-05/0.895, allocations: 10.83 kB / 0.5527 GB, free: 109.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.994e-06/0.895, allocations: 3.938 kB / 0.5527 GB, free: 109.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.545e-06/0.895, allocations: 0 / 0.5527 GB, free: 109.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.895, allocations: 0 / 0.5527 GB, free: 109.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.75e-05/0.8951, allocations: 149.4 kB / 0.5528 GB, free: 109.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.8951, allocations: 0 / 0.5528 GB, free: 109.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.202e-06/0.8951, allocations: 0 / 0.5528 GB, free: 109.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.506e-06/0.8951, allocations: 0 / 0.5528 GB, free: 109.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.936e-06/0.8951, allocations: 7.141 kB / 0.5528 GB, free: 109.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.807e-06/0.8951, allocations: 0 / 0.5528 GB, free: 109.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.537e-06/0.8951, allocations: 0 / 0.5528 GB, free: 109.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.52e-05/0.8952, allocations: 101.2 kB / 0.5529 GB, free: 109.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.742e-05/0.8953, allocations: 77.11 kB / 0.553 GB, free: 109.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.8953, allocations: 0 / 0.553 GB, free: 109.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.222e-05/0.8953, allocations: 0 / 0.553 GB, free: 109.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.803e-05/0.8953, allocations: 3.906 kB / 0.553 GB, free: 109.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.565e-06/0.8953, allocations: 3.938 kB / 0.553 GB, free: 109.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.525e-05/0.8954, allocations: 78.5 kB / 0.5531 GB, free: 109 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.43e-07/0.8954, allocations: 4.031 kB / 0.5531 GB, free: 109 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004438/0.8958, allocations: 85.23 kB / 0.5532 GB, free: 109 MB / 458.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.0004952/0.8963, allocations: 221.7 kB / 0.5534 GB, free: 108.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.796e-05/0.8964, allocations: 58.94 kB / 0.5534 GB, free: 108.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.752e-06/0.8964, allocations: 4.062 kB / 0.5534 GB, free: 108.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.532e-05/0.8965, allocations: 58.41 kB / 0.5535 GB, free: 108.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.504e-05/0.8966, allocations: 3.953 kB / 0.5535 GB, free: 108.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001253/0.8967, allocations: 74.52 kB / 0.5536 GB, free: 108.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.8968, allocations: 0.6722 MB / 0.5542 GB, free: 108 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.223e-06/0.8969, allocations: 7.438 kB / 0.5542 GB, free: 107.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.408e-06/0.8969, allocations: 0 / 0.5542 GB, free: 107.9 MB / 458.7 MB Notification: Performance of Templates: time 0.00397/0.9009, allocations: 1.844 MB / 0.556 GB, free: 107.7 MB / 458.7 MB