Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test20.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y|combiTable2D1DT.y|clock1.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test20") Notification: Performance of loadModel(ModelicaTest): time 1.968/1.968, allocations: 209.2 MB / 225.4 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004244/0.0004245, allocations: 12 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3537, allocations: 48.7 MB / 331.8 MB, free: 6.484 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1375/0.4913, allocations: 75.69 MB / 407.5 MB, free: 2.742 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.4916, allocations: 75.94 kB / 407.6 MB, free: 2.668 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02712/0.5188, allocations: 6.119 MB / 413.7 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5188, allocations: 0 / 413.7 MB, free: 12.55 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.282e-05/0.5189, allocations: 4 kB / 413.7 MB, free: 12.54 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001015/0.5199, allocations: 0.7357 MB / 414.4 MB, free: 11.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.5199, allocations: 8.031 kB / 414.4 MB, free: 11.72 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.52, allocations: 39.48 kB / 414.5 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005545/0.5206, allocations: 291 kB / 414.8 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.5207, allocations: 12 kB / 414.8 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.034e-05/0.5208, allocations: 19.91 kB / 414.8 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003541/0.5211, allocations: 105.6 kB / 414.9 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.5212, allocations: 4 kB / 414.9 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.5212, allocations: 4 kB / 414.9 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.5212, allocations: 4 kB / 414.9 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002788/0.5215, allocations: 67.95 kB / 415 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009198/0.5224, allocations: 492.8 kB / 415.5 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.5227, allocations: 102.4 kB / 415.6 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.763e-05/0.5228, allocations: 15.97 kB / 415.6 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.5228, allocations: 34.56 kB / 415.6 MB, free: 10.44 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.685e-06/0.5229, allocations: 0 / 415.6 MB, free: 10.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.001487/0.5244, allocations: 392.3 kB / 416 MB, free: 10.05 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.5244, allocations: 51.41 kB / 416 MB, free: 9.984 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008672/0.5253, allocations: 465.5 kB / 416.5 MB, free: 9.523 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.012e-05/0.5254, allocations: 29.7 kB / 416.5 MB, free: 9.488 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.5256, allocations: 218.9 kB / 416.7 MB, free: 9.273 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.418e-05/0.5256, allocations: 55.25 kB / 416.8 MB, free: 9.219 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.534e-05/0.5257, allocations: 4 kB / 416.8 MB, free: 9.215 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.5258, allocations: 334.8 kB / 417.1 MB, free: 8.879 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002593/0.5261, allocations: 60.34 kB / 417.2 MB, free: 8.816 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/0.5263, allocations: 64.72 kB / 417.2 MB, free: 8.754 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003303/0.5267, allocations: 204.4 kB / 417.4 MB, free: 8.527 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.5267, allocations: 4 kB / 417.4 MB, free: 8.523 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007214/0.5274, allocations: 339.9 kB / 417.8 MB, free: 8.156 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.5276, allocations: 136.5 kB / 417.9 MB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.5276, allocations: 3.938 kB / 417.9 MB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.5276, allocations: 0 / 417.9 MB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.5279, allocations: 47.97 kB / 418 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.5279, allocations: 0 / 418 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.5281, allocations: 15.94 kB / 418 MB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.5281, allocations: 8 kB / 418 MB, free: 7.918 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 (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 5 * 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.0002832/0.5284, allocations: 173.7 kB / 418.1 MB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.325e-05/0.5285, allocations: 27.62 kB / 418.2 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008115/0.5294, allocations: 252.6 kB / 418.4 MB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.5294, allocations: 0 / 418.4 MB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.5294, allocations: 4 kB / 418.4 MB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.5294, allocations: 3.984 kB / 418.4 MB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/0.5308, allocations: 0.6465 MB / 419.1 MB, free: 6.746 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.5308, allocations: 4 kB / 419.1 MB, free: 6.742 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.531, allocations: 43.91 kB / 419.1 MB, free: 6.699 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.5311, allocations: 0 / 419.1 MB, free: 6.699 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.5311, allocations: 8 kB / 419.1 MB, free: 6.691 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.5311, allocations: 3.953 kB / 419.1 MB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.5311, allocations: 3.984 kB / 419.1 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006426/0.5318, allocations: 302.9 kB / 419.4 MB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.5319, allocations: 128.7 kB / 419.6 MB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.512e-05/0.532, allocations: 4 kB / 419.6 MB, free: 6.223 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.5322, allocations: 15.98 kB / 419.6 MB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/0.5322, allocations: 11.94 kB / 419.6 MB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.5323, allocations: 8 kB / 419.6 MB, free: 6.188 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006164/0.5329, allocations: 343 kB / 419.9 MB, free: 5.852 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5329, allocations: 0 / 419.9 MB, free: 5.852 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005128/0.5334, allocations: 95.8 kB / 420 MB, free: 5.758 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 (17): * Single equations (assignments): 17 * 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.00176/0.5352, allocations: 0.6207 MB / 420.6 MB, free: 5.234 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000775/0.536, allocations: 431.9 kB / 421.1 MB, free: 4.754 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.536, allocations: 0 / 421.1 MB, free: 4.754 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002587/0.5363, allocations: 83.81 kB / 421.2 MB, free: 4.672 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000477/0.5368, allocations: 33.72 kB / 421.2 MB, free: 4.641 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.5384, allocations: 0.6968 MB / 421.9 MB, free: 3.91 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/0.5389, allocations: 0.7907 MB / 422.7 MB, free: 3.094 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.539, allocations: 23.44 kB / 422.7 MB, free: 3.07 MB / 346.7 MB Notification: Performance of SimCode: time 1.302e-06/0.539, allocations: 0 / 422.7 MB, free: 3.07 MB / 346.7 MB Notification: Performance of Templates: time 0.0103/0.5493, allocations: 4.114 MB / 426.8 MB, free: 14.95 MB / 362.7 MB