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.Test22.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.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.246/2.246, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.008e-05/2.007e-05, allocations: 4 kB / 303.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2798, allocations: 54.86 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1293/0.4092, allocations: 81.27 MB / 439.3 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.4095, allocations: 75.95 kB / 439.4 MB, free: 13.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02537/0.4349, allocations: 6.372 MB / 445.8 MB, free: 7.113 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.159e-06/0.4349, allocations: 0 / 445.8 MB, free: 7.113 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.403e-05/0.435, allocations: 8 kB / 445.8 MB, free: 7.105 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.001097/0.4361, allocations: 0.7185 MB / 446.5 MB, free: 6.316 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.4361, allocations: 12.03 kB / 446.5 MB, free: 6.305 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.4363, allocations: 51.42 kB / 446.5 MB, free: 6.254 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008532/0.4372, allocations: 431.2 kB / 447 MB, free: 5.789 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.4372, allocations: 4 kB / 447 MB, free: 5.785 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.489e-05/0.4373, allocations: 11.95 kB / 447 MB, free: 5.773 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001893/0.4375, allocations: 52 kB / 447 MB, free: 5.723 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.4377, allocations: 112.5 kB / 447.1 MB, free: 5.602 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.4378, allocations: 0 / 447.1 MB, free: 5.602 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.4378, allocations: 0 / 447.1 MB, free: 5.602 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.681e-06/0.4378, allocations: 8 kB / 447.1 MB, free: 5.594 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.4391, allocations: 0.626 MB / 447.8 MB, free: 4.926 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.4393, allocations: 101.2 kB / 447.9 MB, free: 4.809 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.838e-05/0.4394, allocations: 33.97 kB / 447.9 MB, free: 4.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/0.4395, allocations: 3.984 kB / 447.9 MB, free: 4.766 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.4395, allocations: 38.56 kB / 447.9 MB, free: 4.719 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 4.991e-06/0.4395, allocations: 8 kB / 448 MB, free: 4.711 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.00136/0.4409, allocations: 402.6 kB / 448.3 MB, free: 4.309 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.441, allocations: 81.11 kB / 448.4 MB, free: 4.211 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.4421, allocations: 0.6769 MB / 449.1 MB, free: 3.527 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.4422, allocations: 29.7 kB / 449.1 MB, free: 3.492 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/0.4424, allocations: 258.7 kB / 449.4 MB, free: 3.238 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.169e-05/0.4425, allocations: 47.2 kB / 449.4 MB, free: 3.191 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.235e-05/0.4425, allocations: 4 kB / 449.4 MB, free: 3.188 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.4427, allocations: 318.8 kB / 449.7 MB, free: 2.867 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.4429, allocations: 43.94 kB / 449.8 MB, free: 2.824 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.443, allocations: 63.25 kB / 449.9 MB, free: 2.758 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.4432, allocations: 43.98 kB / 449.9 MB, free: 2.715 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.352e-06/0.4432, allocations: 0 / 449.9 MB, free: 2.715 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000418/0.4436, allocations: 165.4 kB / 450.1 MB, free: 2.547 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.997e-05/0.4437, allocations: 117.6 kB / 450.2 MB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.726e-06/0.4438, allocations: 0 / 450.2 MB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.4438, allocations: 4 kB / 450.2 MB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002882/0.4441, allocations: 43.97 kB / 450.2 MB, free: 2.363 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.566e-06/0.4441, allocations: 0 / 450.2 MB, free: 2.363 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.4443, allocations: 15.98 kB / 450.2 MB, free: 2.348 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.4444, allocations: 8 kB / 450.2 MB, free: 2.34 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 (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.000113/0.4445, allocations: 108.9 kB / 450.3 MB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.4447, allocations: 47.39 kB / 450.4 MB, free: 2.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006287/0.4453, allocations: 233.5 kB / 450.6 MB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.637e-06/0.4453, allocations: 3.984 kB / 450.6 MB, free: 1.941 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.702e-06/0.4454, allocations: 8 kB / 450.6 MB, free: 1.934 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.4454, allocations: 4.359 kB / 450.6 MB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/0.4468, allocations: 0.7323 MB / 451.4 MB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.525e-06/0.4468, allocations: 4 kB / 451.4 MB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000272/0.4471, allocations: 47.91 kB / 451.4 MB, free: 1.102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.644e-06/0.4472, allocations: 4 kB / 451.4 MB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.4472, allocations: 7.984 kB / 451.4 MB, free: 1.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.4472, allocations: 0 / 451.4 MB, free: 1.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.056e-06/0.4472, allocations: 4 kB / 451.4 MB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005585/0.4478, allocations: 363.8 kB / 451.8 MB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002509/0.448, allocations: 156.5 kB / 451.9 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.407e-05/0.4481, allocations: 4 kB / 451.9 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000268/0.4484, allocations: 15.98 kB / 452 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.553e-05/0.4485, allocations: 11.98 kB / 452 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.4485, allocations: 8 kB / 452 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008983/0.4494, allocations: 0.5263 MB / 452.5 MB, free: 15.97 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.093e-06/0.4495, allocations: 4 kB / 452.5 MB, free: 15.96 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000608/0.4501, allocations: 99.8 kB / 452.6 MB, free: 15.87 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 (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.001684/0.4518, allocations: 499.8 kB / 453.1 MB, free: 15.45 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005275/0.4523, allocations: 325.5 kB / 453.4 MB, free: 15.08 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.574e-06/0.4523, allocations: 0 / 453.4 MB, free: 15.08 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.4525, allocations: 63.92 kB / 453.5 MB, free: 15.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005106/0.453, allocations: 46.03 kB / 453.5 MB, free: 14.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.4546, allocations: 0.6621 MB / 454.2 MB, free: 14.28 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006345/0.4553, allocations: 0.8418 MB / 455 MB, free: 13.41 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.4555, allocations: 47.36 kB / 455.1 MB, free: 13.37 MB / 394.7 MB Notification: Performance of SimCode: time 2.197e-06/0.4555, allocations: 3.938 kB / 455.1 MB, free: 13.36 MB / 394.7 MB Notification: Performance of Templates: time 0.01106/0.4666, allocations: 5.339 MB / 460.4 MB, free: 8.023 MB / 394.7 MB