Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test4.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test4") Notification: Performance of loadModel(ModelicaTest): time 2.471/2.471, allocations: 234.9 MB / 251.1 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004309/0.000431, allocations: 8 kB / 314.9 MB, free: 9.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3689, allocations: 54.86 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1504/0.5194, allocations: 81.07 MB / 450.9 MB, free: 9.555 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.5197, allocations: 75.97 kB / 450.9 MB, free: 9.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01422/0.5339, allocations: 3.469 MB / 454.4 MB, free: 6 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.534, allocations: 0 / 454.4 MB, free: 6 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.509e-05/0.534, allocations: 0 / 454.4 MB, free: 6 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005852/0.5346, allocations: 440.4 kB / 454.8 MB, free: 5.516 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.5347, allocations: 8.031 kB / 454.9 MB, free: 5.508 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.561e-05/0.5347, allocations: 15.86 kB / 454.9 MB, free: 5.492 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.535, allocations: 206.8 kB / 455.1 MB, free: 5.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.5351, allocations: 4 kB / 455.1 MB, free: 5.246 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.5351, allocations: 4 kB / 455.1 MB, free: 5.242 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.5354, allocations: 83.31 kB / 455.2 MB, free: 5.148 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.5354, allocations: 4 kB / 455.2 MB, free: 5.145 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.5354, allocations: 0 / 455.2 MB, free: 5.145 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.5354, allocations: 3.984 kB / 455.2 MB, free: 5.141 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.5356, allocations: 47.92 kB / 455.2 MB, free: 5.094 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006412/0.5363, allocations: 397.1 kB / 455.6 MB, free: 4.652 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004036/0.5367, allocations: 91.12 kB / 455.7 MB, free: 4.547 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/0.5368, allocations: 11.92 kB / 455.7 MB, free: 4.535 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.417e-05/0.5368, allocations: 30.56 kB / 455.7 MB, free: 4.496 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.784e-06/0.5368, allocations: 0 / 455.7 MB, free: 4.496 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.001179/0.538, allocations: 268.6 kB / 456 MB, free: 4.227 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.5381, allocations: 81.11 kB / 456.1 MB, free: 4.129 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003388/0.5384, allocations: 211.3 kB / 456.3 MB, free: 3.906 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.5385, allocations: 37.64 kB / 456.3 MB, free: 3.863 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.859e-05/0.5386, allocations: 170.5 kB / 456.5 MB, free: 3.695 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.58e-05/0.5386, allocations: 31.55 kB / 456.5 MB, free: 3.664 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.064e-05/0.5386, allocations: 4 kB / 456.5 MB, free: 3.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.5388, allocations: 310.8 kB / 456.8 MB, free: 3.348 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.539, allocations: 39.97 kB / 456.9 MB, free: 3.309 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.5391, allocations: 43.97 kB / 456.9 MB, free: 3.266 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.5393, allocations: 65.69 kB / 457 MB, free: 3.195 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.5394, allocations: 4 kB / 457 MB, free: 3.191 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004789/0.5399, allocations: 163.3 kB / 457.1 MB, free: 3.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.582e-05/0.5399, allocations: 41.69 kB / 457.2 MB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.5399, allocations: 3.938 kB / 457.2 MB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.54, allocations: 0 / 457.2 MB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.5401, allocations: 23.98 kB / 457.2 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.5402, allocations: 0 / 457.2 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.287e-05/0.5403, allocations: 4 kB / 457.2 MB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.5403, allocations: 8 kB / 457.2 MB, free: 2.934 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 (11): * Single equations (assignments): 10 * 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.0001546/0.5405, allocations: 133.8 kB / 457.3 MB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.325e-05/0.5405, allocations: 15.86 kB / 457.4 MB, free: 2.777 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005463/0.5411, allocations: 154.6 kB / 457.5 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.5411, allocations: 0 / 457.5 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.5411, allocations: 3.984 kB / 457.5 MB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.5412, allocations: 8 kB / 457.5 MB, free: 2.609 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.5422, allocations: 0.53 MB / 458 MB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.5423, allocations: 4 kB / 458.1 MB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/0.5425, allocations: 24.02 kB / 458.1 MB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/0.5425, allocations: 4 kB / 458.1 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.5425, allocations: 0 / 458.1 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.5425, allocations: 4 kB / 458.1 MB, free: 1.984 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5426, allocations: 0 / 458.1 MB, free: 1.984 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005444/0.5431, allocations: 316 kB / 458.4 MB, free: 1.656 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.047e-05/0.5432, allocations: 96.92 kB / 458.5 MB, free: 1.543 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.5433, allocations: 0 / 458.5 MB, free: 1.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.5434, allocations: 12.08 kB / 458.5 MB, free: 1.531 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.5435, allocations: 15.86 kB / 458.5 MB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.5435, allocations: 12 kB / 458.5 MB, free: 1.504 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002274/0.5438, allocations: 155.9 kB / 458.7 MB, free: 1.352 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5438, allocations: 0 / 458.7 MB, free: 1.352 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004036/0.5442, allocations: 27.94 kB / 458.7 MB, free: 1.324 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001254/0.5455, allocations: 312.5 kB / 459 MB, free: 1.078 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007176/0.5462, allocations: 155.3 kB / 459.2 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.5463, allocations: 0 / 459.2 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002701/0.5465, allocations: 51.91 kB / 459.2 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.5469, allocations: 11.95 kB / 459.2 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008225/0.5477, allocations: 348.6 kB / 459.6 MB, free: 484 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.5481, allocations: 0.7199 MB / 460.3 MB, free: 15.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.371e-05/0.5482, allocations: 19.42 kB / 460.3 MB, free: 15.71 MB / 394.7 MB Notification: Performance of SimCode: time 3.076e-06/0.5482, allocations: 0 / 460.3 MB, free: 15.71 MB / 394.7 MB Notification: Performance of Templates: time 0.005377/0.5536, allocations: 1.677 MB / 462 MB, free: 14.03 MB / 394.7 MB