Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test22.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|.tableR.1, 1..|.tableR.1, 2..|.tableR.1, 3..|.tableR.1, 4..|.tableR.2, 1..|.tableR.2, 2..|.tableR.2, 3..|.tableR.2, 4..|.tableR.3, 1..|.tableR.3, 2..|.tableR.3, 3..|.tableR.3, 4..|.tableR.4, 1..|.tableR.4, 2..|.tableR.4, 3..|.tableR.4, 4..|.tableL.1, 1..|.tableL.1, 2..|.tableL.1, 3..|.tableL.1, 4..|.tableL.2, 1..|.tableL.2, 2..|.tableL.2, 3..|.tableL.2, 4..|.tableL.3, 1..|.tableL.3, 2..|.tableL.3, 3..|.tableL.3, 4..|.tableL.4, 1..|.tableL.4, 2..|.tableL.4, 3..|.tableL.4, 4..|combiTable2D_1R.y|der_1R.y|combiTable2D_2R.y|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y|der_1L.y|combiTable2D_2L.y|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test22") Notification: Performance of loadModel(ModelicaTest): time 1.94/1.94, allocations: 209.3 MB / 224.8 MB, free: 1.207 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004341/0.0004343, allocations: 8 kB / 282.5 MB, free: 9.762 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08834/0.0888, allocations: 48.71 MB / 331.2 MB, free: 8.961 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test22): time 0.002579/0.09142, allocations: 1.496 MB / 332.7 MB, free: 7.453 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002114/0.09358, allocations: 1.018 MB / 333.7 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.09373, allocations: 4 kB / 333.7 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001877/0.09394, allocations: 19.84 kB / 333.7 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003273/0.09428, allocations: 107.7 kB / 333.8 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004036/0.0947, allocations: 123.6 kB / 334 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003002/0.09502, allocations: 167.6 kB / 334.1 MB, free: 6.016 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.0952, allocations: 48.55 kB / 334.2 MB, free: 5.969 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/0.09542, allocations: 95.66 kB / 334.3 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.09569, allocations: 139.5 kB / 334.4 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.504e-05/0.09574, allocations: 4 kB / 334.4 MB, free: 5.734 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/0.09594, allocations: 47.92 kB / 334.4 MB, free: 5.688 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.0961, allocations: 115.7 kB / 334.6 MB, free: 5.574 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.47e-05/0.0962, allocations: 69.45 kB / 334.6 MB, free: 5.5 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004162/0.09663, allocations: 263.9 kB / 334.9 MB, free: 5.242 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.09665, allocations: 0 / 334.9 MB, free: 5.242 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.97e-06/0.09666, allocations: 0 / 334.9 MB, free: 5.242 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.932e-06/0.09668, allocations: 0 / 334.9 MB, free: 5.242 MB / 282.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.001127/0.09781, allocations: 0.7731 MB / 335.7 MB, free: 4.395 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.992e-05/0.09787, allocations: 12.03 kB / 335.7 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.372e-05/0.09797, allocations: 43.44 kB / 335.7 MB, free: 4.34 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006437/0.09863, allocations: 395.3 kB / 336.1 MB, free: 3.914 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.09867, allocations: 8 kB / 336.1 MB, free: 3.906 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.098e-05/0.09872, allocations: 15.84 kB / 336.1 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003515/0.09908, allocations: 131.3 kB / 336.2 MB, free: 3.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.09912, allocations: 0 / 336.2 MB, free: 3.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.09915, allocations: 8 kB / 336.3 MB, free: 3.742 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.167e-06/0.09917, allocations: 4 kB / 336.3 MB, free: 3.738 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003043/0.09949, allocations: 95.86 kB / 336.4 MB, free: 3.645 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.1007, allocations: 0.6527 MB / 337 MB, free: 2.938 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/0.101, allocations: 113.2 kB / 337.1 MB, free: 2.809 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.881e-05/0.1011, allocations: 11.94 kB / 337.1 MB, free: 2.797 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.1011, allocations: 30.69 kB / 337.2 MB, free: 2.758 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 2.535e-06/0.1011, allocations: 0 / 337.2 MB, free: 2.758 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.001853/0.103, allocations: 0.5419 MB / 337.7 MB, free: 2.207 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.396e-05/0.1031, allocations: 77.11 kB / 337.8 MB, free: 2.113 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.1044, allocations: 0.819 MB / 338.6 MB, free: 1.285 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.158e-05/0.1044, allocations: 29.7 kB / 338.6 MB, free: 1.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.1046, allocations: 242.8 kB / 338.9 MB, free: 1.012 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.057e-05/0.1047, allocations: 59.19 kB / 338.9 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.656e-05/0.1048, allocations: 4 kB / 338.9 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.1049, allocations: 326.8 kB / 339.2 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/0.1052, allocations: 67.95 kB / 339.3 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.1055, allocations: 97.11 kB / 339.4 MB, free: 468 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003443/0.1058, allocations: 186.7 kB / 339.6 MB, free: 256 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.626e-06/0.1059, allocations: 0 / 339.6 MB, free: 256 kB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.2108/0.3167, allocations: 319.7 kB / 339.9 MB, free: 15.39 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.171e-05/0.3168, allocations: 113.6 kB / 340 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.279e-06/0.3168, allocations: 1.031 kB / 340 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.3169, allocations: 1.094 kB / 340 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/0.3172, allocations: 49.59 kB / 340.1 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.641e-06/0.3172, allocations: 1.859 kB / 340.1 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.3174, allocations: 17.75 kB / 340.1 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/0.3174, allocations: 9.016 kB / 340.1 MB, free: 15.26 MB / 282.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.0002494/0.3177, allocations: 199.3 kB / 340.3 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.3178, allocations: 52.11 kB / 340.3 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008324/0.3187, allocations: 282.2 kB / 340.6 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.876e-06/0.3187, allocations: 5.938 kB / 340.6 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.3187, allocations: 1.219 kB / 340.6 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.65e-06/0.3187, allocations: 8.5 kB / 340.6 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001498/0.3202, allocations: 0.761 MB / 341.4 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.244e-06/0.3203, allocations: 1.094 kB / 341.4 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.3206, allocations: 43.7 kB / 341.4 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.803e-06/0.3206, allocations: 5.141 kB / 341.4 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.3206, allocations: 6.031 kB / 341.4 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.483e-06/0.3206, allocations: 4.812 kB / 341.4 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.943e-06/0.3206, allocations: 1.766 kB / 341.4 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007183/0.3214, allocations: 412 kB / 341.8 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002002/0.3216, allocations: 155.8 kB / 342 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.349e-05/0.3217, allocations: 8.734 kB / 342 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/0.322, allocations: 17.81 kB / 342 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.066e-05/0.322, allocations: 19.97 kB / 342 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.3221, allocations: 5.938 kB / 342.1 MB, free: 14.43 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0009511/0.323, allocations: 0.5973 MB / 342.6 MB, free: 14.33 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.41e-07/0.3231, allocations: 3.875 kB / 342.7 MB, free: 14.33 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005334/0.3236, allocations: 67.5 kB / 342.7 MB, free: 14.33 MB / 282.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.001424/0.325, allocations: 473.1 kB / 343.2 MB, free: 14.09 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007036/0.3258, allocations: 394.6 kB / 343.6 MB, free: 13.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.265e-06/0.3258, allocations: 0 / 343.6 MB, free: 13.84 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002742/0.3261, allocations: 87.47 kB / 343.7 MB, free: 13.83 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005004/0.3266, allocations: 45.19 kB / 343.7 MB, free: 13.82 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.3282, allocations: 0.913 MB / 344.6 MB, free: 13.33 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.3286, allocations: 0.8396 MB / 345.4 MB, free: 12.62 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.3287, allocations: 39.73 kB / 345.5 MB, free: 12.61 MB / 282.7 MB Notification: Performance of SimCode: time 1.653e-06/0.3287, allocations: 0 / 345.5 MB, free: 12.61 MB / 282.7 MB Notification: Performance of Templates: time 0.02055/0.3493, allocations: 5.128 MB / 350.6 MB, free: 12 MB / 282.7 MB