Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19") Notification: Performance of loadModel(ModelicaTest): time 2.305/2.305, allocations: 234.9 MB / 250.5 MB, free: 9.465 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004319/0.0004319, allocations: 19.98 kB / 314.4 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2766, allocations: 54.84 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.122/0.3986, allocations: 81.22 MB / 450.5 MB, free: 9.367 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.3989, allocations: 71.95 kB / 450.6 MB, free: 9.297 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01308/0.412, allocations: 3.491 MB / 454.1 MB, free: 5.797 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.821e-06/0.4121, allocations: 0 / 454.1 MB, free: 5.797 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.4121, allocations: 4 kB / 454.1 MB, free: 5.793 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005048/0.4126, allocations: 395 kB / 454.4 MB, free: 5.355 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.4126, allocations: 11.97 kB / 454.5 MB, free: 5.344 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.695e-05/0.4127, allocations: 15.86 kB / 454.5 MB, free: 5.328 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.413, allocations: 179 kB / 454.6 MB, free: 5.113 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.413, allocations: 4 kB / 454.6 MB, free: 5.109 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.413, allocations: 0 / 454.6 MB, free: 5.109 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.4132, allocations: 71.33 kB / 454.7 MB, free: 5.027 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.4133, allocations: 8 kB / 454.7 MB, free: 5.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.4133, allocations: 0 / 454.7 MB, free: 5.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.86e-06/0.4133, allocations: 3.984 kB / 454.7 MB, free: 5.016 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.4134, allocations: 31.94 kB / 454.8 MB, free: 4.984 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004111/0.4139, allocations: 272.8 kB / 455 MB, free: 4.668 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.4141, allocations: 50.5 kB / 455.1 MB, free: 4.609 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.4141, allocations: 0 / 455.1 MB, free: 4.609 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.4142, allocations: 30.56 kB / 455.1 MB, free: 4.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.675e-06/0.4142, allocations: 0 / 455.1 MB, free: 4.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006909/0.4149, allocations: 161.4 kB / 455.3 MB, free: 4.406 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.415, allocations: 77.11 kB / 455.3 MB, free: 4.312 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.4151, allocations: 116.9 kB / 455.5 MB, free: 4.191 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.4152, allocations: 25.7 kB / 455.5 MB, free: 4.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.845e-05/0.4153, allocations: 162.5 kB / 455.6 MB, free: 4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.4153, allocations: 15.75 kB / 455.7 MB, free: 3.984 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/0.4153, allocations: 0 / 455.7 MB, free: 3.984 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.4155, allocations: 314.8 kB / 456 MB, free: 3.668 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.4156, allocations: 23.98 kB / 456 MB, free: 3.645 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.4158, allocations: 45.69 kB / 456 MB, free: 3.594 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.4159, allocations: 57.62 kB / 456.1 MB, free: 3.531 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.806e-06/0.4159, allocations: 0 / 456.1 MB, free: 3.531 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003046/0.4162, allocations: 115.4 kB / 456.2 MB, free: 3.406 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.309e-05/0.4163, allocations: 37.64 kB / 456.2 MB, free: 3.363 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.4163, allocations: 3.938 kB / 456.2 MB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.4163, allocations: 3.953 kB / 456.2 MB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.011e-05/0.4164, allocations: 15.98 kB / 456.3 MB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.141e-06/0.4165, allocations: 0 / 456.3 MB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.063e-05/0.4165, allocations: 4 kB / 456.3 MB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.4166, allocations: 8 kB / 456.3 MB, free: 3.328 MB / 378.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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.0001127/0.4167, allocations: 117.8 kB / 456.4 MB, free: 3.203 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.792e-05/0.4167, allocations: 7.906 kB / 456.4 MB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000307/0.4171, allocations: 101.5 kB / 456.5 MB, free: 3.082 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.239e-06/0.4171, allocations: 3.953 kB / 456.5 MB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.149e-06/0.4171, allocations: 4 kB / 456.5 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.4171, allocations: 4 kB / 456.5 MB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005806/0.4177, allocations: 346.8 kB / 456.8 MB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.764e-06/0.4177, allocations: 0 / 456.8 MB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.89e-05/0.4178, allocations: 15.98 kB / 456.9 MB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.616e-06/0.4178, allocations: 7.953 kB / 456.9 MB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.31e-06/0.4179, allocations: 0 / 456.9 MB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.456e-06/0.4179, allocations: 4 kB / 456.9 MB, free: 2.648 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.4179, allocations: 0 / 456.9 MB, free: 2.648 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003156/0.4182, allocations: 183.4 kB / 457 MB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.899e-05/0.4183, allocations: 89.02 kB / 457.1 MB, free: 2.348 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.4183, allocations: 3.953 kB / 457.1 MB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.4184, allocations: 8 kB / 457.1 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.4185, allocations: 7.922 kB / 457.2 MB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.768e-06/0.4185, allocations: 0 / 457.2 MB, free: 2.328 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.645e-05/0.4186, allocations: 99.27 kB / 457.2 MB, free: 2.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.04e-07/0.4186, allocations: 0 / 457.2 MB, free: 2.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003743/0.419, allocations: 35.92 kB / 457.3 MB, free: 2.195 MB / 378.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.001273/0.4203, allocations: 387.4 kB / 457.7 MB, free: 1.891 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003301/0.4206, allocations: 119.4 kB / 457.8 MB, free: 1.762 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.4207, allocations: 0 / 457.8 MB, free: 1.762 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.4208, allocations: 31.92 kB / 457.8 MB, free: 1.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.421, allocations: 4.25 kB / 457.8 MB, free: 1.727 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004616/0.4215, allocations: 190.5 kB / 458 MB, free: 1.504 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.4219, allocations: 0.6887 MB / 458.7 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.726e-05/0.4219, allocations: 11.44 kB / 458.7 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of SimCode: time 1.505e-06/0.422, allocations: 0 / 458.7 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of Templates: time 0.003963/0.4259, allocations: 1.451 MB / 460.2 MB, free: 15.33 MB / 394.7 MB