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.414/2.414, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007795/0.0007799, allocations: 15.98 kB / 314.3 MB, free: 9.613 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3419, allocations: 54.86 MB / 369.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestPolynomials): time 0.000579/0.3425, allocations: 216.5 kB / 369.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005208/0.3478, allocations: 3.008 MB / 372.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.23e-05/0.3478, allocations: 0 / 372.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.805e-06/0.3478, allocations: 0 / 372.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.611e-06/0.3479, allocations: 0 / 372.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009216/0.3488, allocations: 171.5 kB / 372.6 MB, free: 7.312 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 2.869e-05/0.3488, allocations: 4 kB / 372.6 MB, free: 7.309 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.813e-05/0.3489, allocations: 4 kB / 372.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.367e-05/0.3489, allocations: 3.938 kB / 372.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.505e-05/0.3489, allocations: 0 / 372.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.16e-06/0.3489, allocations: 0 / 372.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006924/0.3496, allocations: 351.4 kB / 372.9 MB, free: 6.957 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.988e-06/0.3497, allocations: 0 / 372.9 MB, free: 6.957 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.262e-05/0.3497, allocations: 33.69 kB / 372.9 MB, free: 6.918 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004094/0.3501, allocations: 207.6 kB / 373.2 MB, free: 6.715 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.133e-06/0.3502, allocations: 3.938 kB / 373.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.029e-06/0.3502, allocations: 0 / 373.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.517e-06/0.3502, allocations: 0 / 373.2 MB, free: 6.711 MB / 298.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.0004294/0.3506, allocations: 382.3 kB / 373.5 MB, free: 6.285 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.3507, allocations: 12.03 kB / 373.5 MB, free: 6.273 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.696e-05/0.3507, allocations: 0 / 373.5 MB, free: 6.273 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.3508, allocations: 159.1 kB / 373.7 MB, free: 6.078 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.3509, allocations: 4 kB / 373.7 MB, free: 6.074 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.3509, allocations: 0 / 373.7 MB, free: 6.074 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.527e-05/0.351, allocations: 33.66 kB / 373.7 MB, free: 6.035 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.732e-06/0.351, allocations: 3.938 kB / 373.7 MB, free: 6.031 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.351, allocations: 0 / 373.7 MB, free: 6.031 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.506e-06/0.351, allocations: 0 / 373.7 MB, free: 6.031 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.984e-05/0.3511, allocations: 4 kB / 373.7 MB, free: 6.027 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001607/0.3512, allocations: 153.7 kB / 373.9 MB, free: 5.828 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.642e-05/0.3513, allocations: 22.52 kB / 373.9 MB, free: 5.797 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.874e-06/0.3513, allocations: 0 / 373.9 MB, free: 5.797 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.572e-05/0.3514, allocations: 60.36 kB / 374 MB, free: 5.723 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.873e-06/0.3514, allocations: 0 / 374 MB, free: 5.723 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002103/0.3516, allocations: 75.25 kB / 374 MB, free: 5.637 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.3517, allocations: 81.05 kB / 374.1 MB, free: 5.539 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.711e-05/0.3518, allocations: 89.86 kB / 374.2 MB, free: 5.441 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.3518, allocations: 29.77 kB / 374.2 MB, free: 5.406 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.965e-05/0.3519, allocations: 154.6 kB / 374.4 MB, free: 5.254 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.3519, allocations: 0 / 374.4 MB, free: 5.254 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-06/0.3519, allocations: 0 / 374.4 MB, free: 5.254 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3521, allocations: 314.8 kB / 374.7 MB, free: 4.938 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.935e-06/0.3521, allocations: 0 / 374.7 MB, free: 4.938 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.202e-05/0.3521, allocations: 4 kB / 374.7 MB, free: 4.934 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.928e-05/0.3522, allocations: 33.69 kB / 374.7 MB, free: 4.895 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.162e-06/0.3522, allocations: 0 / 374.7 MB, free: 4.895 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.703e-05/0.3523, allocations: 59.47 kB / 374.8 MB, free: 4.824 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.028e-05/0.3524, allocations: 33.7 kB / 374.8 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.755e-06/0.3524, allocations: 3.984 kB / 374.8 MB, free: 4.781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3524, allocations: 0 / 374.8 MB, free: 4.781 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.294e-06/0.3524, allocations: 3.953 kB / 374.8 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.806e-06/0.3524, allocations: 3.938 kB / 374.8 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.3525, allocations: 0 / 374.8 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.3525, allocations: 11.97 kB / 374.9 MB, free: 4.762 MB / 298.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.0001126/0.3526, allocations: 131.5 kB / 375 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.017e-05/0.3526, allocations: 4.031 kB / 375 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.43e-05/0.3526, allocations: 7.125 kB / 375 MB, free: 4.605 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.3527, allocations: 4 kB / 375 MB, free: 4.602 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.597e-06/0.3527, allocations: 3.953 kB / 375 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.341e-06/0.3527, allocations: 0 / 375 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.3528, allocations: 145.7 kB / 375.1 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.809e-06/0.3528, allocations: 3.938 kB / 375.1 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.289e-06/0.3529, allocations: 0 / 375.1 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.596e-06/0.3529, allocations: 0 / 375.1 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.011e-06/0.3529, allocations: 4 kB / 375.1 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.939e-06/0.3529, allocations: 4 kB / 375.2 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.3529, allocations: 0 / 375.2 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.353, allocations: 94.78 kB / 375.2 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.565e-05/0.3531, allocations: 77.11 kB / 375.3 MB, free: 4.184 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.3531, allocations: 0 / 375.3 MB, free: 4.184 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.539e-05/0.3531, allocations: 0 / 375.3 MB, free: 4.184 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.805e-05/0.3532, allocations: 7.922 kB / 375.3 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.3532, allocations: 4.031 kB / 375.3 MB, free: 4.172 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.744e-05/0.3532, allocations: 79.28 kB / 375.4 MB, free: 4.094 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.99e-07/0.3533, allocations: 0 / 375.4 MB, free: 4.094 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004255/0.3537, allocations: 71.94 kB / 375.5 MB, free: 4.023 MB / 298.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.000524/0.3542, allocations: 191.6 kB / 375.7 MB, free: 3.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.3544, allocations: 67.34 kB / 375.7 MB, free: 3.762 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.448e-06/0.3544, allocations: 0 / 375.7 MB, free: 3.762 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.302e-05/0.3544, allocations: 59.39 kB / 375.8 MB, free: 3.691 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.421e-05/0.3545, allocations: 1.25 kB / 375.8 MB, free: 3.691 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001878/0.3547, allocations: 105.1 kB / 375.9 MB, free: 3.559 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.3551, allocations: 0.6731 MB / 376.6 MB, free: 2.859 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.42e-05/0.3551, allocations: 7.438 kB / 376.6 MB, free: 2.852 MB / 298.7 MB Notification: Performance of SimCode: time 1.388e-06/0.3551, allocations: 8.062 kB / 376.6 MB, free: 2.844 MB / 298.7 MB Notification: Performance of Templates: time 0.004468/0.3596, allocations: 1.705 MB / 378.3 MB, free: 1.137 MB / 298.7 MB