Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test20.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test20") Notification: Performance of loadModel(ModelicaTest): time 2.204/2.204, allocations: 209.2 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004411/0.0004411, allocations: 12 kB / 282.6 MB, free: 9.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2873, allocations: 48.7 MB / 331.3 MB, free: 6.488 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.15/0.4373, allocations: 74.75 MB / 406 MB, free: 3.688 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003674/0.4378, allocations: 67.97 kB / 406.1 MB, free: 3.621 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02238/0.4602, allocations: 3.42 MB / 409.5 MB, free: 204 kB / 330.7 MB Notification: Performance of FrontEnd: time 3.598e-06/0.4602, allocations: 0 / 409.5 MB, free: 204 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.4603, allocations: 0 / 409.5 MB, free: 204 kB / 330.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.000712/0.461, allocations: 404.8 kB / 409.9 MB, free: 15.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/0.4611, allocations: 12.03 kB / 409.9 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.397e-05/0.4612, allocations: 7.891 kB / 409.9 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.4616, allocations: 179 kB / 410.1 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.4616, allocations: 4 kB / 410.1 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.4617, allocations: 4 kB / 410.1 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/0.462, allocations: 67.39 kB / 410.2 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.462, allocations: 4 kB / 410.2 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.4621, allocations: 3.938 kB / 410.2 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.759e-06/0.4621, allocations: 0 / 410.2 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000231/0.4623, allocations: 31.98 kB / 410.2 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007052/0.4631, allocations: 288.7 kB / 410.5 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003814/0.4635, allocations: 50.56 kB / 410.5 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.4635, allocations: 3.938 kB / 410.6 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.4636, allocations: 30.56 kB / 410.6 MB, free: 14.96 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 3.959e-06/0.4636, allocations: 0 / 410.6 MB, free: 14.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.001254/0.4649, allocations: 165.5 kB / 410.7 MB, free: 14.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.62e-05/0.465, allocations: 77.11 kB / 410.8 MB, free: 14.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.4653, allocations: 120.9 kB / 410.9 MB, free: 14.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/0.4653, allocations: 25.7 kB / 411 MB, free: 14.54 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.4655, allocations: 154.6 kB / 411.1 MB, free: 14.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.4655, allocations: 23.73 kB / 411.1 MB, free: 14.36 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.441e-05/0.4656, allocations: 0 / 411.1 MB, free: 14.36 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.4658, allocations: 318.7 kB / 411.4 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.466, allocations: 27.98 kB / 411.5 MB, free: 14.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000228/0.4663, allocations: 49.69 kB / 411.5 MB, free: 13.96 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.4666, allocations: 53.69 kB / 411.6 MB, free: 13.9 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.669e-06/0.4666, allocations: 0 / 411.6 MB, free: 13.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005531/0.4672, allocations: 131.2 kB / 411.7 MB, free: 13.76 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.582e-05/0.4672, allocations: 34.33 kB / 411.7 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.736e-06/0.4673, allocations: 0 / 411.7 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.4673, allocations: 0 / 411.7 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.4675, allocations: 15.98 kB / 411.8 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.183e-06/0.4675, allocations: 0 / 411.8 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.4677, allocations: 12 kB / 411.8 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.4677, allocations: 4 kB / 411.8 MB, free: 13.69 MB / 346.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.0001777/0.4679, allocations: 117.8 kB / 411.9 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.496e-05/0.468, allocations: 4 kB / 411.9 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005758/0.4686, allocations: 109.5 kB / 412 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.437e-06/0.4687, allocations: 4 kB / 412 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.4687, allocations: 4 kB / 412 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.907e-06/0.4687, allocations: 0 / 412 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.4698, allocations: 358.7 kB / 412.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.652e-06/0.4698, allocations: 4.062 kB / 412.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.47, allocations: 16 kB / 412.4 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.211e-05/0.47, allocations: 3.984 kB / 412.4 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.4701, allocations: 4 kB / 412.4 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.141e-06/0.4701, allocations: 3.938 kB / 412.4 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4701, allocations: 0 / 412.4 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005609/0.4707, allocations: 187.8 kB / 412.6 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.748e-05/0.4708, allocations: 89.02 kB / 412.7 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.302e-05/0.4709, allocations: 0 / 412.7 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.4711, allocations: 8 kB / 412.7 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.903e-05/0.4712, allocations: 7.969 kB / 412.7 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.4712, allocations: 4 kB / 412.7 MB, free: 12.68 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001607/0.4714, allocations: 95.27 kB / 412.8 MB, free: 12.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.384e-06/0.4714, allocations: 7.938 kB / 412.8 MB, free: 12.58 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008955/0.4723, allocations: 20 kB / 412.8 MB, free: 12.56 MB / 346.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.002578/0.4749, allocations: 337.4 kB / 413.1 MB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009272/0.4759, allocations: 119.3 kB / 413.2 MB, free: 12.17 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.476, allocations: 4 kB / 413.2 MB, free: 12.17 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003215/0.4763, allocations: 27.98 kB / 413.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005633/0.477, allocations: 15.94 kB / 413.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.4781, allocations: 195 kB / 413.5 MB, free: 11.89 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009199/0.4791, allocations: 0.6965 MB / 414.2 MB, free: 11.17 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.4793, allocations: 15.42 kB / 414.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of SimCode: time 3.827e-06/0.4793, allocations: 0 / 414.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of Templates: time 0.006828/0.4862, allocations: 1.467 MB / 415.7 MB, free: 9.691 MB / 346.7 MB