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.Test23.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test23,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|cosine_R.y|sine_R.y|combiTable2D_1L.y|der_1L.y|combiTable2D_2L.y|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable2D.Test23") Notification: Performance of loadModel(ModelicaTest): time 1.933/1.933, allocations: 209.4 MB / 217.3 MB, free: 4.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.988e-05/1.994e-05, allocations: 4 kB / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2606, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1144/0.375, allocations: 74.75 MB / 394.8 MB, free: 5.699 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.3753, allocations: 67.97 kB / 394.8 MB, free: 5.633 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02597/0.4013, allocations: 6.48 MB / 401.3 MB, free: 15.14 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.431e-06/0.4013, allocations: 0 / 401.3 MB, free: 15.14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.73e-05/0.4014, allocations: 8 kB / 401.3 MB, free: 15.14 MB / 346.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.001169/0.4025, allocations: 0.7537 MB / 402.1 MB, free: 14.31 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.4026, allocations: 8.031 kB / 402.1 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.4028, allocations: 63.28 kB / 402.1 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000857/0.4036, allocations: 431.2 kB / 402.6 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.4037, allocations: 4 kB / 402.6 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.479e-05/0.4037, allocations: 15.91 kB / 402.6 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002131/0.404, allocations: 59.98 kB / 402.6 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.4042, allocations: 112.7 kB / 402.8 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.4043, allocations: 0 / 402.8 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.4043, allocations: 7.953 kB / 402.8 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.177e-06/0.4043, allocations: 0 / 402.8 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.4057, allocations: 0.6688 MB / 403.4 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.4059, allocations: 105.3 kB / 403.5 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.91e-05/0.406, allocations: 41.78 kB / 403.6 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.942e-05/0.4061, allocations: 7.984 kB / 403.6 MB, free: 12.69 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.4061, allocations: 34.56 kB / 403.6 MB, free: 12.64 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.524e-06/0.4061, allocations: 0 / 403.6 MB, free: 12.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.001761/0.4079, allocations: 0.5025 MB / 404.1 MB, free: 12.13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/0.408, allocations: 85.09 kB / 404.2 MB, free: 12.03 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.4092, allocations: 0.7011 MB / 404.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.4093, allocations: 29.7 kB / 404.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.4095, allocations: 255 kB / 405.2 MB, free: 11.04 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.859e-05/0.4096, allocations: 63.02 kB / 405.2 MB, free: 10.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.628e-05/0.4096, allocations: 0 / 405.2 MB, free: 10.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.4098, allocations: 318.8 kB / 405.6 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.41, allocations: 60 kB / 405.6 MB, free: 10.6 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.4102, allocations: 93.34 kB / 405.7 MB, free: 10.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.4104, allocations: 68.14 kB / 405.8 MB, free: 10.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.5e-06/0.4104, allocations: 4.188 kB / 405.8 MB, free: 10.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005452/0.411, allocations: 205.4 kB / 406 MB, free: 10.22 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.7e-05/0.4111, allocations: 119.5 kB / 406.1 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/0.4111, allocations: 4.062 kB / 406.1 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.4111, allocations: 0 / 406.1 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/0.4115, allocations: 67.89 kB / 406.2 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.563e-06/0.4116, allocations: 0 / 406.2 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002804/0.4118, allocations: 35.91 kB / 406.2 MB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.886e-05/0.4119, allocations: 11.95 kB / 406.2 MB, free: 9.965 MB / 346.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.0001182/0.412, allocations: 107.7 kB / 406.3 MB, free: 9.855 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.4122, allocations: 51.34 kB / 406.4 MB, free: 9.805 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007335/0.4129, allocations: 281.6 kB / 406.6 MB, free: 9.523 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.795e-06/0.413, allocations: 0 / 406.6 MB, free: 9.523 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.274e-06/0.413, allocations: 0 / 406.6 MB, free: 9.523 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.993e-06/0.413, allocations: 4 kB / 406.6 MB, free: 9.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/0.4146, allocations: 0.8219 MB / 407.5 MB, free: 8.652 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.662e-06/0.4147, allocations: 4 kB / 407.5 MB, free: 8.648 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003644/0.415, allocations: 59.95 kB / 407.5 MB, free: 8.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.4151, allocations: 384 / 407.5 MB, free: 8.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.4151, allocations: 4 kB / 407.5 MB, free: 8.586 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.403e-06/0.4151, allocations: 0 / 407.5 MB, free: 8.586 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.352e-06/0.4151, allocations: 7.938 kB / 407.5 MB, free: 8.578 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006572/0.4158, allocations: 420 kB / 408 MB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003267/0.4161, allocations: 184.4 kB / 408.1 MB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.051e-05/0.4162, allocations: 0 / 408.1 MB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003449/0.4166, allocations: 31.97 kB / 408.2 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.94e-05/0.4167, allocations: 27.86 kB / 408.2 MB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/0.4167, allocations: 8 kB / 408.2 MB, free: 7.879 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000904/0.4176, allocations: 0.5457 MB / 408.7 MB, free: 7.336 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.15e-07/0.4176, allocations: 0 / 408.7 MB, free: 7.336 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006061/0.4183, allocations: 99.88 kB / 408.8 MB, free: 7.238 MB / 346.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.001226/0.4195, allocations: 406 kB / 409.2 MB, free: 6.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006194/0.4201, allocations: 381 kB / 409.6 MB, free: 6.492 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4202, allocations: 0 / 409.6 MB, free: 6.492 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.4204, allocations: 91.86 kB / 409.7 MB, free: 6.402 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.4209, allocations: 42.06 kB / 409.7 MB, free: 6.355 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.4225, allocations: 0.7224 MB / 410.5 MB, free: 5.598 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006453/0.4232, allocations: 0.8542 MB / 411.3 MB, free: 4.719 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/0.4234, allocations: 51.34 kB / 411.4 MB, free: 4.668 MB / 346.7 MB Notification: Performance of SimCode: time 1.646e-06/0.4234, allocations: 4 kB / 411.4 MB, free: 4.664 MB / 346.7 MB Notification: Performance of Templates: time 0.01145/0.4349, allocations: 5.778 MB / 417.1 MB, free: 14.89 MB / 362.7 MB