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.Test21.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.Test21,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.Test21") Notification: Performance of loadModel(ModelicaTest): time 2.216/2.216, allocations: 234.9 MB / 250.5 MB, free: 9.652 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004338/0.0004339, allocations: 16 kB / 314.4 MB, free: 9.668 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2927, allocations: 54.86 MB / 369.3 MB, free: 12.78 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1243/0.417, allocations: 81.22 MB / 450.5 MB, free: 11.45 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.4173, allocations: 67.97 kB / 450.6 MB, free: 11.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01306/0.4304, allocations: 3.489 MB / 454 MB, free: 7.883 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.156e-06/0.4304, allocations: 0 / 454 MB, free: 7.883 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.4305, allocations: 4 kB / 454 MB, free: 7.879 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.0004936/0.431, allocations: 399 kB / 454.4 MB, free: 7.438 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.431, allocations: 12.03 kB / 454.4 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.78e-05/0.4311, allocations: 15.8 kB / 454.5 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.4313, allocations: 182.9 kB / 454.6 MB, free: 7.191 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.4313, allocations: 4 kB / 454.6 MB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.4314, allocations: 7.984 kB / 454.7 MB, free: 7.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.4316, allocations: 63.39 kB / 454.7 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.4316, allocations: 0 / 454.7 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.4316, allocations: 8 kB / 454.7 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.4316, allocations: 0 / 454.7 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.4318, allocations: 31.94 kB / 454.8 MB, free: 7.066 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.4322, allocations: 272.8 kB / 455 MB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.4325, allocations: 50.56 kB / 455.1 MB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.4325, allocations: 0 / 455.1 MB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.4325, allocations: 30.56 kB / 455.1 MB, free: 6.652 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.723e-06/0.4326, allocations: 0 / 455.1 MB, free: 6.652 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007126/0.4333, allocations: 161.4 kB / 455.3 MB, free: 6.488 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.4333, allocations: 81.09 kB / 455.3 MB, free: 6.391 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.4335, allocations: 113 kB / 455.4 MB, free: 6.273 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.4335, allocations: 25.7 kB / 455.5 MB, free: 6.242 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.62e-05/0.4336, allocations: 154.6 kB / 455.6 MB, free: 6.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.4337, allocations: 19.75 kB / 455.6 MB, free: 6.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.371e-06/0.4337, allocations: 0 / 455.6 MB, free: 6.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.4339, allocations: 318.8 kB / 456 MB, free: 5.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.434, allocations: 23.98 kB / 456 MB, free: 5.727 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.4341, allocations: 41.64 kB / 456 MB, free: 5.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.4342, allocations: 57.72 kB / 456.1 MB, free: 5.617 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.4343, allocations: 0 / 456.1 MB, free: 5.617 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002936/0.4346, allocations: 111.4 kB / 456.2 MB, free: 5.496 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.77e-05/0.4346, allocations: 37.69 kB / 456.2 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.069e-06/0.4346, allocations: 4 kB / 456.2 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.4347, allocations: 7.891 kB / 456.2 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.854e-05/0.4348, allocations: 12 kB / 456.2 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.623e-06/0.4348, allocations: 0 / 456.2 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.297e-05/0.4349, allocations: 7.984 kB / 456.3 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.4349, allocations: 4 kB / 456.3 MB, free: 5.418 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.0001114/0.435, allocations: 117.8 kB / 456.4 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.58e-05/0.4351, allocations: 11.91 kB / 456.4 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003069/0.4354, allocations: 101.6 kB / 456.5 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.4354, allocations: 7.953 kB / 456.5 MB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.139e-06/0.4354, allocations: 3.938 kB / 456.5 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4354, allocations: 0 / 456.5 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005847/0.436, allocations: 354.8 kB / 456.8 MB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.041e-06/0.436, allocations: 0 / 456.8 MB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.125e-05/0.4361, allocations: 12 kB / 456.9 MB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.247e-06/0.4362, allocations: 3.953 kB / 456.9 MB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.29e-06/0.4362, allocations: 0 / 456.9 MB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.345e-06/0.4362, allocations: 8 kB / 456.9 MB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.636e-06/0.4362, allocations: 0 / 456.9 MB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/0.4365, allocations: 191.4 kB / 457 MB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.969e-05/0.4366, allocations: 81.02 kB / 457.1 MB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.4366, allocations: 7.953 kB / 457.1 MB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.4368, allocations: 11.98 kB / 457.1 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.4368, allocations: 0 / 457.1 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.466e-06/0.4368, allocations: 4 kB / 457.2 MB, free: 4.406 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001032/0.4369, allocations: 95.7 kB / 457.2 MB, free: 4.312 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.55e-07/0.437, allocations: 0 / 457.2 MB, free: 4.312 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003768/0.4373, allocations: 35.92 kB / 457.3 MB, free: 4.277 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.001332/0.4387, allocations: 395.4 kB / 457.7 MB, free: 3.969 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003321/0.439, allocations: 115.4 kB / 457.8 MB, free: 3.844 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.708e-06/0.4391, allocations: 0 / 457.8 MB, free: 3.844 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.4392, allocations: 32.05 kB / 457.8 MB, free: 3.812 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.4394, allocations: 8.109 kB / 457.8 MB, free: 3.805 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004941/0.4399, allocations: 190.5 kB / 458 MB, free: 3.582 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.4403, allocations: 0.6887 MB / 458.7 MB, free: 2.867 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.047e-05/0.4404, allocations: 15.42 kB / 458.7 MB, free: 2.852 MB / 378.7 MB Notification: Performance of SimCode: time 1.596e-06/0.4404, allocations: 0 / 458.7 MB, free: 2.852 MB / 378.7 MB Notification: Performance of Templates: time 0.003858/0.4443, allocations: 1.44 MB / 460.1 MB, free: 1.418 MB / 378.7 MB