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.CombiTable1D.Test31.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.CombiTable1D.Test31,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.CombiTable1D.Test31") Notification: Performance of loadModel(ModelicaTest): time 2.172/2.172, allocations: 234.9 MB / 250.5 MB, free: 9.453 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004405/0.0004406, allocations: 12 kB / 314.4 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2813, allocations: 54.85 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1217/0.4031, allocations: 80.99 MB / 450.3 MB, free: 9.598 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.4034, allocations: 75.84 kB / 450.3 MB, free: 9.523 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0215/0.4249, allocations: 3.355 MB / 453.7 MB, free: 6.156 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.361e-06/0.425, allocations: 0 / 453.7 MB, free: 6.156 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.961e-05/0.425, allocations: 0 / 453.7 MB, free: 6.156 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.0008774/0.4259, allocations: 452.4 kB / 454.1 MB, free: 5.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.216e-05/0.426, allocations: 12.03 kB / 454.1 MB, free: 5.648 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.501e-05/0.4261, allocations: 7.906 kB / 454.1 MB, free: 5.641 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004859/0.4266, allocations: 214.7 kB / 454.4 MB, free: 5.391 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.4266, allocations: 4 kB / 454.4 MB, free: 5.387 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.233e-05/0.4267, allocations: 7.984 kB / 454.4 MB, free: 5.379 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.427, allocations: 45.69 kB / 454.4 MB, free: 5.328 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.427, allocations: 0 / 454.4 MB, free: 5.328 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.4271, allocations: 7.953 kB / 454.4 MB, free: 5.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.4271, allocations: 4 kB / 454.4 MB, free: 5.316 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000221/0.4273, allocations: 27.97 kB / 454.5 MB, free: 5.289 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008172/0.4282, allocations: 304.9 kB / 454.7 MB, free: 4.941 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003826/0.4286, allocations: 42.56 kB / 454.8 MB, free: 4.891 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.4286, allocations: 0 / 454.8 MB, free: 4.891 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.62e-05/0.4287, allocations: 44.33 kB / 454.8 MB, free: 4.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.772e-06/0.4287, allocations: 0 / 454.8 MB, free: 4.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001284/0.43, allocations: 189.1 kB / 455 MB, free: 4.648 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/0.4301, allocations: 51.41 kB / 455.1 MB, free: 4.586 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006474/0.4308, allocations: 234.6 kB / 455.3 MB, free: 4.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.003e-05/0.4309, allocations: 29.7 kB / 455.3 MB, free: 4.305 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.431, allocations: 162.6 kB / 455.5 MB, free: 4.145 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.4311, allocations: 15.81 kB / 455.5 MB, free: 4.129 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.52e-06/0.4311, allocations: 0 / 455.5 MB, free: 4.129 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002166/0.4314, allocations: 310.8 kB / 455.8 MB, free: 3.816 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.4316, allocations: 31.97 kB / 455.8 MB, free: 3.785 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.4318, allocations: 31.92 kB / 455.9 MB, free: 3.754 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002284/0.432, allocations: 57.88 kB / 455.9 MB, free: 3.691 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4321, allocations: 0 / 455.9 MB, free: 3.691 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005608/0.4327, allocations: 135.2 kB / 456.1 MB, free: 3.547 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.686e-05/0.4328, allocations: 33.66 kB / 456.1 MB, free: 3.508 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.999e-06/0.4328, allocations: 4 kB / 456.1 MB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.4328, allocations: 0 / 456.1 MB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.433, allocations: 15.98 kB / 456.1 MB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.281e-06/0.433, allocations: 0 / 456.1 MB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.4332, allocations: 11.94 kB / 456.1 MB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.4332, allocations: 4 kB / 456.1 MB, free: 3.473 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.0002397/0.4335, allocations: 137.8 kB / 456.3 MB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.4336, allocations: 11.84 kB / 456.3 MB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006068/0.4342, allocations: 122.6 kB / 456.4 MB, free: 3.188 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.052e-06/0.4343, allocations: 0 / 456.4 MB, free: 3.188 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.24e-06/0.4343, allocations: 0 / 456.4 MB, free: 3.188 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.117e-06/0.4343, allocations: 0 / 456.4 MB, free: 3.188 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.4356, allocations: 398.5 kB / 456.8 MB, free: 2.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.609e-06/0.4356, allocations: 7.953 kB / 456.8 MB, free: 2.734 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.4358, allocations: 15.98 kB / 456.8 MB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.022e-06/0.4358, allocations: 0 / 456.8 MB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.4358, allocations: 0 / 456.8 MB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.529e-06/0.4359, allocations: 0 / 456.8 MB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.725e-06/0.4359, allocations: 4 kB / 456.8 MB, free: 2.715 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006125/0.4365, allocations: 199.5 kB / 457 MB, free: 2.504 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/0.4367, allocations: 100.9 kB / 457.1 MB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.66e-05/0.4368, allocations: 8 kB / 457.1 MB, free: 2.379 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/0.437, allocations: 11.94 kB / 457.1 MB, free: 2.367 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.891e-05/0.4371, allocations: 7.984 kB / 457.1 MB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.4371, allocations: 0 / 457.1 MB, free: 2.359 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004582/0.4376, allocations: 193.2 kB / 457.3 MB, free: 2.172 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.152e-06/0.4376, allocations: 0 / 457.3 MB, free: 2.172 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007649/0.4384, allocations: 16 kB / 457.3 MB, free: 2.156 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.001692/0.4401, allocations: 311 kB / 457.6 MB, free: 1.914 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005426/0.4407, allocations: 111.4 kB / 457.7 MB, free: 1.793 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.4407, allocations: 0 / 457.7 MB, free: 1.793 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.441, allocations: 39.92 kB / 457.8 MB, free: 1.754 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.4415, allocations: 12.09 kB / 457.8 MB, free: 1.738 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.4426, allocations: 327.2 kB / 458.1 MB, free: 1.387 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000635/0.4433, allocations: 0.716 MB / 458.8 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.631e-05/0.4434, allocations: 11.44 kB / 458.8 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of SimCode: time 2.024e-06/0.4435, allocations: 0 / 458.8 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of Templates: time 0.006911/0.4504, allocations: 1.557 MB / 460.4 MB, free: 15.08 MB / 394.7 MB