Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test22.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.CombiTable2D.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test22") Notification: Performance of loadModel(ModelicaTest): time 2.403/2.403, allocations: 234.9 MB / 251.1 MB, free: 9.793 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004314/0.0004315, allocations: 16 kB / 314.9 MB, free: 9.832 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.383, allocations: 54.85 MB / 369.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1529/0.5359, allocations: 82.01 MB / 451.8 MB, free: 10.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000314/0.5363, allocations: 79.94 kB / 451.9 MB, free: 10.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02886/0.5652, allocations: 6.442 MB / 458.3 MB, free: 4.148 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.676e-06/0.5652, allocations: 0 / 458.3 MB, free: 4.148 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.916e-05/0.5653, allocations: 8 kB / 458.3 MB, free: 4.141 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001426/0.5667, allocations: 0.8281 MB / 459.2 MB, free: 3.238 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.5668, allocations: 8.031 kB / 459.2 MB, free: 3.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.5669, allocations: 55.33 kB / 459.2 MB, free: 3.176 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000972/0.5679, allocations: 427.2 kB / 459.6 MB, free: 2.715 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.568, allocations: 8 kB / 459.7 MB, free: 2.707 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.178e-05/0.568, allocations: 15.95 kB / 459.7 MB, free: 2.691 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004129/0.5685, allocations: 127.3 kB / 459.8 MB, free: 2.555 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.5685, allocations: 3.906 kB / 459.8 MB, free: 2.551 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.5685, allocations: 4 kB / 459.8 MB, free: 2.547 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.5685, allocations: 4 kB / 459.8 MB, free: 2.543 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003749/0.5689, allocations: 103.8 kB / 459.9 MB, free: 2.441 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.5705, allocations: 0.6761 MB / 460.6 MB, free: 1.711 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003671/0.5709, allocations: 113.4 kB / 460.7 MB, free: 1.582 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.83e-05/0.571, allocations: 11.98 kB / 460.7 MB, free: 1.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.571, allocations: 38.69 kB / 460.7 MB, free: 1.523 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 3.507e-06/0.5711, allocations: 0 / 460.7 MB, free: 1.523 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.002486/0.5735, allocations: 0.5296 MB / 461.3 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.499e-05/0.5737, allocations: 77.11 kB / 461.3 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001623/0.5753, allocations: 0.7917 MB / 462.1 MB, free: 92 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.683e-05/0.5754, allocations: 25.7 kB / 462.2 MB, free: 60 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/0.5756, allocations: 246.9 kB / 462.4 MB, free: 15.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.843e-05/0.5757, allocations: 59.19 kB / 462.5 MB, free: 15.76 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.681e-05/0.5757, allocations: 0 / 462.5 MB, free: 15.76 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.5759, allocations: 322.8 kB / 462.8 MB, free: 15.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003535/0.5762, allocations: 67.97 kB / 462.8 MB, free: 15.37 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003462/0.5766, allocations: 108.6 kB / 462.9 MB, free: 15.26 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004145/0.577, allocations: 178.8 kB / 463.1 MB, free: 15.06 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.5771, allocations: 0 / 463.1 MB, free: 15.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009186/0.578, allocations: 328.5 kB / 463.4 MB, free: 14.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.597e-05/0.5781, allocations: 110.9 kB / 463.6 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.5781, allocations: 7.875 kB / 463.6 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.5781, allocations: 0 / 463.6 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003843/0.5785, allocations: 47.97 kB / 463.6 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.5786, allocations: 7.984 kB / 463.6 MB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003161/0.5789, allocations: 12 kB / 463.6 MB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/0.5789, allocations: 11.98 kB / 463.6 MB, free: 14.49 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.5793, allocations: 201.7 kB / 463.8 MB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.5795, allocations: 47.34 kB / 463.9 MB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.5806, allocations: 289.6 kB / 464.2 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.5806, allocations: 0 / 464.2 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.5807, allocations: 0 / 464.2 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.5807, allocations: 7.984 kB / 464.2 MB, free: 13.94 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/0.5828, allocations: 0.8333 MB / 465 MB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.5828, allocations: 0 / 465 MB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003276/0.5832, allocations: 47.91 kB / 465.1 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.5832, allocations: 0 / 465.1 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.5832, allocations: 11.98 kB / 465.1 MB, free: 12.99 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.5832, allocations: 0.75 kB / 465.1 MB, free: 12.99 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.5832, allocations: 0 / 465.1 MB, free: 12.99 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.5843, allocations: 410.1 kB / 465.5 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003083/0.5846, allocations: 168.4 kB / 465.6 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.241e-05/0.5847, allocations: 0 / 465.6 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003113/0.585, allocations: 23.98 kB / 465.7 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.679e-05/0.5851, allocations: 15.98 kB / 465.7 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.68e-05/0.5852, allocations: 7.984 kB / 465.7 MB, free: 12.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001202/0.5864, allocations: 0.5729 MB / 466.3 MB, free: 11.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.62e-07/0.5864, allocations: 0 / 466.3 MB, free: 11.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006663/0.5871, allocations: 103.9 kB / 466.4 MB, free: 11.67 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.001755/0.5889, allocations: 0.5937 MB / 466.9 MB, free: 11.15 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.5899, allocations: 401.4 kB / 467.3 MB, free: 10.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.5899, allocations: 0 / 467.3 MB, free: 10.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003979/0.5903, allocations: 87.89 kB / 467.4 MB, free: 10.62 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00063/0.591, allocations: 46.23 kB / 467.5 MB, free: 10.58 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.5932, allocations: 0.9496 MB / 468.4 MB, free: 9.586 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005529/0.5938, allocations: 0.8379 MB / 469.3 MB, free: 8.719 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002848/0.5941, allocations: 39.42 kB / 469.3 MB, free: 8.68 MB / 394.7 MB Notification: Performance of SimCode: time 1.232e-06/0.5942, allocations: 0 / 469.3 MB, free: 8.68 MB / 394.7 MB Notification: Performance of Templates: time 0.01435/0.6085, allocations: 5.417 MB / 474.7 MB, free: 3.258 MB / 394.7 MB