Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test23.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.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.Test23") Notification: Performance of loadModel(ModelicaTest): time 2.355/2.355, allocations: 235.1 MB / 243 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.944e-05/1.962e-05, allocations: 4 kB / 303.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2778, allocations: 54.85 MB / 358 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1281/0.406, allocations: 81.2 MB / 439.2 MB, free: 13.64 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.4063, allocations: 71.95 kB / 439.3 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02752/0.4338, allocations: 6.7 MB / 446 MB, free: 6.859 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4338, allocations: 0 / 446 MB, free: 6.859 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.373e-05/0.4339, allocations: 8 kB / 446 MB, free: 6.852 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.00113/0.435, allocations: 0.7458 MB / 446.8 MB, free: 6.035 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.4351, allocations: 12.03 kB / 446.8 MB, free: 6.023 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.4352, allocations: 51.34 kB / 446.8 MB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000879/0.4361, allocations: 439.1 kB / 447.3 MB, free: 5.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.4362, allocations: 7.953 kB / 447.3 MB, free: 5.492 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.284e-05/0.4362, allocations: 12 kB / 447.3 MB, free: 5.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002114/0.4364, allocations: 56 kB / 447.3 MB, free: 5.426 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.4367, allocations: 112.6 kB / 447.4 MB, free: 5.305 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.4367, allocations: 3.984 kB / 447.4 MB, free: 5.301 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.4368, allocations: 4 kB / 447.4 MB, free: 5.297 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.347e-06/0.4368, allocations: 0 / 447.4 MB, free: 5.297 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.4382, allocations: 0.6689 MB / 448.1 MB, free: 4.586 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.4384, allocations: 101.2 kB / 448.2 MB, free: 4.469 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.4386, allocations: 46 kB / 448.3 MB, free: 4.418 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.625e-05/0.4386, allocations: 7.984 kB / 448.3 MB, free: 4.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.4386, allocations: 30.56 kB / 448.3 MB, free: 4.371 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 4.225e-06/0.4387, allocations: 0 / 448.3 MB, free: 4.371 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001828/0.4405, allocations: 0.514 MB / 448.8 MB, free: 3.848 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.449e-05/0.4406, allocations: 81.2 kB / 448.9 MB, free: 3.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.4419, allocations: 0.701 MB / 449.6 MB, free: 3.043 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.059e-05/0.4419, allocations: 25.7 kB / 449.6 MB, free: 3.012 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.4422, allocations: 247 kB / 449.9 MB, free: 2.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.191e-05/0.4423, allocations: 70.95 kB / 449.9 MB, free: 2.699 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.644e-05/0.4423, allocations: 0 / 449.9 MB, free: 2.699 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.4425, allocations: 322.8 kB / 450.2 MB, free: 2.375 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.4427, allocations: 59.98 kB / 450.3 MB, free: 2.316 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.4429, allocations: 89.56 kB / 450.4 MB, free: 2.223 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.4431, allocations: 71.95 kB / 450.5 MB, free: 2.152 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.538e-06/0.4431, allocations: 0 / 450.5 MB, free: 2.152 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005514/0.4437, allocations: 205.4 kB / 450.7 MB, free: 1.945 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.592e-05/0.4438, allocations: 114.8 kB / 450.8 MB, free: 1.809 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.391e-06/0.4438, allocations: 0 / 450.8 MB, free: 1.809 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.4438, allocations: 4 kB / 450.8 MB, free: 1.805 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003969/0.4442, allocations: 59.95 kB / 450.8 MB, free: 1.746 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.4443, allocations: 4 kB / 450.8 MB, free: 1.742 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002901/0.4446, allocations: 35.91 kB / 450.9 MB, free: 1.707 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.694e-05/0.4446, allocations: 7.984 kB / 450.9 MB, free: 1.699 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 20 * 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.0001143/0.4447, allocations: 105 kB / 451 MB, free: 1.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.4449, allocations: 51.72 kB / 451 MB, free: 1.539 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007395/0.4457, allocations: 273.5 kB / 451.3 MB, free: 1.266 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.4457, allocations: 8 kB / 451.3 MB, free: 1.258 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4457, allocations: 0 / 451.3 MB, free: 1.258 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.673e-06/0.4457, allocations: 4 kB / 451.3 MB, free: 1.254 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.4474, allocations: 0.8143 MB / 452.1 MB, free: 404 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.365e-06/0.4474, allocations: 3.953 kB / 452.1 MB, free: 400 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003713/0.4478, allocations: 67.89 kB / 452.2 MB, free: 332 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.283e-06/0.4478, allocations: 0 / 452.2 MB, free: 332 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.4478, allocations: 4 kB / 452.2 MB, free: 328 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.436e-06/0.4479, allocations: 7.969 kB / 452.2 MB, free: 320 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.902e-06/0.4479, allocations: 0 / 452.2 MB, free: 320 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006926/0.4486, allocations: 411.8 kB / 452.6 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002606/0.4489, allocations: 168.5 kB / 452.8 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.093e-05/0.4489, allocations: 0 / 452.8 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000346/0.4493, allocations: 23.98 kB / 452.8 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.918e-05/0.4494, allocations: 19.91 kB / 452.8 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/0.4494, allocations: 15.98 kB / 452.8 MB, free: 15.64 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009196/0.4504, allocations: 0.5379 MB / 453.4 MB, free: 15.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.59e-06/0.4504, allocations: 0 / 453.4 MB, free: 15.11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006387/0.451, allocations: 111.7 kB / 453.5 MB, free: 15 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.002767/0.4538, allocations: 0.4903 MB / 454 MB, free: 14.58 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00135/0.4552, allocations: 377.5 kB / 454.3 MB, free: 14.16 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.209e-06/0.4553, allocations: 0 / 454.3 MB, free: 14.16 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005083/0.4558, allocations: 91.91 kB / 454.4 MB, free: 14.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.4569, allocations: 46.03 kB / 454.5 MB, free: 14.03 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003227/0.4601, allocations: 0.7213 MB / 455.2 MB, free: 13.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/0.4613, allocations: 0.8497 MB / 456 MB, free: 12.39 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000482/0.4618, allocations: 43.41 kB / 456.1 MB, free: 12.35 MB / 394.7 MB Notification: Performance of SimCode: time 2.724e-06/0.4618, allocations: 0 / 456.1 MB, free: 12.35 MB / 394.7 MB Notification: Performance of Templates: time 0.02233/0.4842, allocations: 5.786 MB / 461.9 MB, free: 6.57 MB / 394.7 MB