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.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test5") Notification: Performance of loadModel(ModelicaTest): time 2.027/2.027, allocations: 209.2 MB / 225.4 MB, free: 1.473 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004475/0.0004475, allocations: 16 kB / 283.1 MB, free: 9.805 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1067, allocations: 48.71 MB / 331.8 MB, free: 9.008 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3958/0.5025, allocations: 74.53 MB / 406.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/0.5029, allocations: 71.95 kB / 406.4 MB, free: 10.63 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0196/0.5225, allocations: 5.183 MB / 411.6 MB, free: 5.445 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5226, allocations: 0 / 411.6 MB, free: 5.445 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.22e-05/0.5226, allocations: 8 kB / 411.6 MB, free: 5.438 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001068/0.5237, allocations: 0.6416 MB / 412.2 MB, free: 4.742 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.5238, allocations: 8.031 kB / 412.3 MB, free: 4.734 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.5239, allocations: 43.44 kB / 412.3 MB, free: 4.691 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006598/0.5246, allocations: 315.3 kB / 412.6 MB, free: 4.344 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.5246, allocations: 4 kB / 412.6 MB, free: 4.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.5247, allocations: 11.88 kB / 412.6 MB, free: 4.328 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.5249, allocations: 49.69 kB / 412.7 MB, free: 4.273 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.5249, allocations: 4 kB / 412.7 MB, free: 4.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.5249, allocations: 0 / 412.7 MB, free: 4.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.525, allocations: 0 / 412.7 MB, free: 4.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.5251, allocations: 43.89 kB / 412.7 MB, free: 4.227 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009605/0.5261, allocations: 428.6 kB / 413.1 MB, free: 3.758 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/0.5265, allocations: 50.56 kB / 413.2 MB, free: 3.699 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.5265, allocations: 0 / 413.2 MB, free: 3.699 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.5266, allocations: 30.56 kB / 413.2 MB, free: 3.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.5266, allocations: 0 / 413.2 MB, free: 3.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.001054/0.5276, allocations: 244 kB / 413.5 MB, free: 3.414 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.5277, allocations: 55.41 kB / 413.5 MB, free: 3.348 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002222/0.5299, allocations: 0.8338 MB / 414.3 MB, free: 2.504 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.53, allocations: 25.7 kB / 414.4 MB, free: 2.473 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/0.5303, allocations: 234.6 kB / 414.6 MB, free: 2.242 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.5303, allocations: 19.75 kB / 414.6 MB, free: 2.223 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.5303, allocations: 0 / 414.6 MB, free: 2.223 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.5305, allocations: 310.8 kB / 414.9 MB, free: 1.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.5307, allocations: 23.98 kB / 414.9 MB, free: 1.887 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.5308, allocations: 32.84 kB / 415 MB, free: 1.855 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.531, allocations: 53.64 kB / 415 MB, free: 1.797 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.531, allocations: 4 kB / 415 MB, free: 1.793 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003878/0.5314, allocations: 115.5 kB / 415.1 MB, free: 1.668 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.009e-05/0.5315, allocations: 29.7 kB / 415.2 MB, free: 1.633 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.5315, allocations: 4.062 kB / 415.2 MB, free: 1.629 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.5315, allocations: 7.953 kB / 415.2 MB, free: 1.621 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.5317, allocations: 15.98 kB / 415.2 MB, free: 1.605 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.5317, allocations: 4 kB / 415.2 MB, free: 1.602 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.5319, allocations: 4 kB / 415.2 MB, free: 1.598 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.5319, allocations: 4 kB / 415.2 MB, free: 1.594 MB / 330.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.0003722/0.5323, allocations: 209.8 kB / 415.4 MB, free: 1.379 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.5324, allocations: 47.44 kB / 415.5 MB, free: 1.332 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004864/0.5329, allocations: 144.9 kB / 415.6 MB, free: 1.188 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.533, allocations: 3.953 kB / 415.6 MB, free: 1.184 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.533, allocations: 4 kB / 415.6 MB, free: 1.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.533, allocations: 0 / 415.6 MB, free: 1.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.5343, allocations: 0.5803 MB / 416.2 MB, free: 0.543 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.5343, allocations: 0 / 416.2 MB, free: 0.543 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.5345, allocations: 19.92 kB / 416.2 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.5345, allocations: 3.953 kB / 416.2 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.5345, allocations: 8 kB / 416.2 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.5345, allocations: 3.938 kB / 416.2 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5345, allocations: 0 / 416.2 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004845/0.535, allocations: 219 kB / 416.4 MB, free: 284 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002894/0.5353, allocations: 156.6 kB / 416.6 MB, free: 108 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.545e-05/0.5354, allocations: 8.234 kB / 416.6 MB, free: 100 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.5356, allocations: 4 kB / 416.6 MB, free: 96 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.007e-05/0.5357, allocations: 11.92 kB / 416.6 MB, free: 84 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.5357, allocations: 192 / 416.6 MB, free: 84 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001328/0.537, allocations: 0.6276 MB / 417.2 MB, free: 15.46 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.5371, allocations: 0 / 417.2 MB, free: 15.46 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000531/0.5376, allocations: 56 kB / 417.3 MB, free: 15.4 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.0007723/0.5384, allocations: 257.7 kB / 417.5 MB, free: 15.2 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004459/0.5389, allocations: 111.4 kB / 417.7 MB, free: 15.07 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.5389, allocations: 4 kB / 417.7 MB, free: 15.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.539, allocations: 31.92 kB / 417.7 MB, free: 15.04 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.5394, allocations: 13.97 kB / 417.7 MB, free: 15.02 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.5417, allocations: 0.9249 MB / 418.6 MB, free: 14.07 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005751/0.5423, allocations: 0.8262 MB / 419.5 MB, free: 13.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.5425, allocations: 19.69 kB / 419.5 MB, free: 13.2 MB / 346.7 MB Notification: Performance of SimCode: time 1.342e-06/0.5425, allocations: 3.938 kB / 419.5 MB, free: 13.19 MB / 346.7 MB Notification: Performance of Templates: time 0.01199/0.5545, allocations: 3.926 MB / 423.4 MB, free: 9.254 MB / 346.7 MB